-RM-140-MR-Fail on MAC OS 10.6.8 on architecture x64_86 using Cocoa windowing system
The install guide will fail on MAC OSX 10.6.8 using macports since OpenSceneGraph (OSG) 2.9.7 is not installable due to broken FFMpeg dependencies in OSG Plugins.
In file included from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:11, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp:10, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegImageStream.cpp:2: /opt/local/include/libavcodec/avcodec.h:546: warning: attribute ignored in declaration of 'enum AVLPCType' /opt/local/include/libavcodec/avcodec.h:546: warning: attribute for 'enum AVLPCType' must follow the 'enum' keyword In file included from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp:10, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegImageStream.cpp:2: /opt/local/include/libavformat/avformat.h:158: warning: 'AVMetadata' is deprecated (declared at /opt/local/include/libavformat/avformat.h:131) In file included from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp:10, from /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegImageStream.cpp:2: /Users/klaus/Downloads/OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:48: error: 'AVSampleFormat' in class
Also OSG 2.9.7 is not compiling when on X86_64 using Cocoa windowing system. (With i386 and Carbon windowing system OSG will be able to compile.)
We need to check if this is still the case with other OSG versions in macports and with pristine sources:
- OpenSceneGraph 2.8.4
- OpenSceneGraph 3.x (from source)
Further details will come soon.
(from redmine: created on 2012-02-27, closed on 2012-07-09)