Hi Robert,
On 23/6/09 4:28 PM, Robert Osfield wrote:
Most strange. I have made a few tweaks to the FindFFmpeg.cmake this
morning to add explicit search for the stdint.h that wasn't being
found under Windows, but this change shouldn't affect the standard
libraries.
Yes, I've traced it to the FFMPEG_STDINT_INCLUDE path.
It's caused by "-I/System/Library/Frameworks/Kernel.framework/Headers" which is included
because cmake finds a 'stdint.h' there. Unfortunately it also contains a 'string.h' which
is included from 'cstring' instead of '/usr/include/string.h'...
(Maybe "/Library/Frameworks" should be after "/usr/include" in the search
order.)
Which type of build are you using? CMake Makefile/Xcode or the
deprecated XCode projects?
cmake Makefile.
Do any of the other plugins fail?
So far not.
I've removed "~/Library/Frameworks" and "/Library/Frameworks" from 'FindFFmpeg.cmake' and
am re-compiling now.
/ulrich
the current trunk is giving me the following build errors in
src/osgPlugins/ffmpeg:
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 -O3
-DNDEBUG -fPIC -I/Users/uli/Projects/osg/OpenSceneGraph/build/include
-I/Users/uli/Projects/osg/OpenSceneGraph/include -I/opt/local/include
-I/opt/local/include/libavformat -I/opt/local/include/libavdevice
-I/opt/local/include/libavcodec
-I/System/Library/Frameworks/Kernel.framework/Headers
-I/opt/local/include/libswscale -o
CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.cpp.o -c
/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp
/usr/include/c++/4.0.0/cstring:87: error: ‘::strcoll’ has not been declared
...
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org