[vtkusers] potential issues (and solution) when building vtk and FFMPEG in 64 bits

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Thu Jul 29 11:52:29 EDT 2010


  Hi all,

Just for the record...

When building vtk with FFMPEG, if you get the following error:
/usr/include/ffmpeg/libavutil/common.h:154: error: ‘UINT64_C’ was not 
declared in this scope

you need to add -D__STDC_CONSTANT_MACROS to CMAKE_CXX_FLAGS (Tested on 
Fedora 12 and 13). Then it works fine!

Best,
Arnaud




More information about the vtkusers mailing list