Hi Ulrich, 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.
Which type of build are you using? CMake Makefile/Xcode or the deprecated XCode projects? Do any of the other plugins fail? Robert. On Tue, Jun 23, 2009 at 3:06 PM, Ulrich Hertlein<[email protected]> wrote: > Hi guys, > > 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 > /usr/include/c++/4.0.0/cstring:89: error: ‘::strxfrm’ has not been declared > /usr/include/c++/4.0.0/cstring:90: error: ‘::strcspn’ has not been declared > /usr/include/c++/4.0.0/cstring:91: error: ‘::strspn’ has not been declared > /usr/include/c++/4.0.0/cstring:92: error: ‘::strtok’ has not been declared > /usr/include/c++/4.0.0/cstring:94: error: ‘::strerror’ has not been declared > /usr/include/c++/4.0.0/cstring:97: error: ‘::memchr’ has not been declared > /usr/include/c++/4.0.0/cstring: In function ‘void* std::memchr(void*, int, > size_t)’: > /usr/include/c++/4.0.0/cstring:101: error: invalid conversion from ‘const > void*’ to ‘void*’ > /usr/include/c++/4.0.0/cstring:101: error: initializing argument 1 of > ‘void* std::memchr(void*, int, size_t)’ > /usr/include/c++/4.0.0/cstring: At global scope: > /usr/include/c++/4.0.0/cstring:109: error: ‘::strpbrk’ has not been declared > /usr/include/c++/4.0.0/cstring:115: error: ‘::strrchr’ has not been declared > /usr/include/c++/4.0.0/cstring:121: error: ‘::strstr’ has not been declared > make[2]: *** > [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.cpp.o] Error > 1 > make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2 > make: *** [all] Error 2 > > Any bells going off for anyone? > > <cstring> is included via <algorithm> but even when included first I still > get the same error. Of course a quick test that only includes <algorithm> > works just fine. > > This is with OS X 10.5, gcc 4.0.1 > > Cheers, > /ulrich > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

