Hi Ulrich,

Sorry to hear it's broken - mostly likely broken by the previous
change, as the last one I checked in just re-enable the build of the
plugins as it was accidentally disabled by the previous check-in.
Could you try removing your CMakeCache.txt and do another ./configure
so see if this find the placement of ffmpeg.

Where abouts in your system do you have ffmpeg installed?  Could you
post the layout of where your install has placed all the ffmpeg header
directories?

Cheers,
Robert.

On Thu, Jun 25, 2009 at 11:39 AM, Ulrich Hertlein<[email protected]> wrote:
> On 24/6/09 7:10 PM, Robert Osfield wrote:
>>
>> Hi Ulrich,
>>
>> I've just made a fix to the FindFFmpeg.cmake, could you do an svn
>> update and double check that it's working fine on your system.
>
> Just checked r10406 and the ffmpeg is completely broken, it doesn't even
> find the header files anymore.
>
> cd /Users/uli/Projects/osg/OpenSceneGraph/build/src/osgPlugins/ffmpeg &&
> /usr/bin/c++ -Dosgdb_ffmpeg_EXPORTS -DOSG_DEBUG_POSTFIX=d -DUSE_SWSCALE
> -mmacosx-version-min=10.5 -ftree-vectorize -fvisibility-inlines-hidden -fPIC
> -I/Users/uli/Projects/osg/OpenSceneGraph/build/include
> -I/Users/uli/Projects/osg/OpenSceneGraph/include
> -I/opt/local/include/libavformat
> -I/opt/local/include/libavformat/libavformat
> -I/opt/local/include/libavdevice
> -I/opt/local/include/libavdevice/libavdevice -I/opt/local/include/libavcodec
> -I/opt/local/include/libavcodec/libavcodec -I/opt/local/include/libavutil
> -I/opt/local/include/libavutil/libavcodec -I/opt/local/include/libswscale
> -I/opt/local/include/libswscale/libswscale   -o
> CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.cpp.o -c
> /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp
> In file included from
> /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:11,
>                 from
> /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
>                 from
> /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:2:
> /opt/local/include/libavcodec/avcodec.h:30:30: error: libavutil/avutil.h: No
> such file or directory
> In file included from
> /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12,
>                 from
> /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
>                 from
> /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:2:
> /opt/local/include/libavformat/avformat.h:45:32: error:
> libavcodec/avcodec.h: No such file or directory
>
> Seems like we're missing to include the 'base' include directory i.e.
> /opt/local/include in this case (DarwinPorts).
>
> Cheers,
> /ulrich
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to