I tried to install ffmpeg manually using source code checked out from ffmpeg website but , after installation I tried to compile another code which uses this library, there is an error message “common.h:154: error: ‘UINT64_C’ was not declared in this scope”. So, I tried to re-install again by using
before make and make install. Unfortunately, I found the same error message when I compiled my code.
I search in google for a while and I found this link. I followed Eric’s suggestion by adding
# include <stdint.h>
to my common.h file. Then I tried ./configure, make and make install. Once I compiled my code, there is no error message anymore.
Thanks you Eric : )