[osg-users] [build] make : crash on FFmpegClocks.hpp while compiling OSG-dev

david bruyer osgforum at tevs.eu
Tue Mar 3 05:59:22 PST 2009


Hi,

Does anyone know what I could do to solve this compilation crash for OSG-dev ?
Here is the log :


Code:
Dans le fichier inclus à partir de /home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
          à partir de /home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:2:
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:10:21: erreur: avcodec.h : Aucun fichier ou dossier de ce type
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:11:22: erreur: avformat.h : Aucun fichier ou dossier de ce type
In file included from /home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:2:
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:33: erreur: expected ',' or '...' before '*' token
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:33: attention : ISO C++ forbids declaration of 'AVFrame' with no type
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:130: erreur: expected ',' or '...' before '*' token
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:130: attention : ISO C++ forbids declaration of 'AVFrame' with no type
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp: In member function 'double osgFFmpeg::FFmpegClocks::videoSynchClock(int)':
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:132: erreur: 'pts' was not declared in this scope
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:145: erreur: 'time_base' was not declared in this scope
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:146: erreur: 'frame' was not declared in this scope
/home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:150: erreur: 'pts' was not declared in this scope
make[2]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.o] Erreur 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Erreur 2
make: *** [all] Erreur 2


I have the correct libffmpeg-devel installed on my system...

Thank you.
David

Linux Mandriva 2009

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7856#7856








More information about the osg-users mailing list