[osg-users] [build] make : Build error on FFmpegClocks.hpp while compiling OSG-dev
osgforum at tevs.eu
Tue Mar 3 06:29:08 PST 2009
Thanks for your interest.
First of all, i renamed the title of this thread as "build error" as you guessed. You're totally right, i have to pay attention to the correct description of what happen.
I can't compile again OSG right now but this error appeared at the 12:59 compilation. (2 hours and a half ago...)
I'l compile OSG again tomorrow morning and i'll tell you
For the ffmpeg headers, here is the list of files and relatives paths on my system :
Thanks for your help.
Robert Osfield wrote:
> HI David,
> So this is a build error, not an actual program crash. In future
> could you refer to errors like this as build errors as it'll make it
> easier for us to track the different types of problems.
> While I don't understand the language the errors were in my guess is
> that the headers files haven't been found for some reason. One
> weakness of FFmpeg is that it's packaged quite different across
> platforms, placing headers in different directories etc. This makes
> it quite hardwork for second guess what all the different combinations
> might be.
> Today I've added a few more include directories into the checks, so
> could you do an svn update and see if that fixes the problem. If it
> doesn't the could you post where abouts your ffmpeg package has it's
> headers installed.
> On Tue, Mar 3, 2009 at 1:59 PM, david bruyer <> wrote:
> > 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: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.o] Erreur 1
> > make: *** [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
> > _______________________________________________
> > osg-users mailing list
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> osg-users mailing list
> Post generated by Mail2Forum
Read this topic online here:
More information about the osg-users