Hi, I removed the "#ifdef WIN32" and accompanying "#endif" and everything is fine now. It's solved now.
Thanks for your help FFMpegHeaders.hpp Code: #ifndef HEADER_GUARD_FFMPEG_HEADERS_H #define HEADER_GUARD_FFMPEG_HEADERS_H extern "C" { #define __STDC_CONSTANT_MACROS #include <errno.h> // for error codes defined in avformat.h #include <stdint.h> #include <avcodec.h> #include <avformat.h> #include <avdevice.h> #ifdef USE_SWSCALE #include <swscale.h> #endif } #endif // HEADER_GUARD_FFMPEG_HEADERS_H ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10460#10460 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org