While compiling opencv version 1.0 on Centos 5, the process stopped with an error due to non definition of “INT64_C” in file cvcap_ffmpeg.cpp. After trawling through some forums, i got the following solution:
This is not my own workaround. I got this from
There is another workaround; this is done while installing ffmpeg. I do not remember where i got this solution from.
Use -D__STDC_CONSTANT_MACROS while compiling FFMPEG. This is to be added in the CFLAGS i think. One way of doing this is to open the file config.status and add this to the line containing the CFLAGS.
Blogged with Flock