Hi again, I spent the last days trying to compile OSG and running my simple code, and nothing works. When I compile my app from the Terminal, I get "Bus error: 10"
The last options I used with cmake are: -DCMAKE_OSX_ARCHITECTURES=x86_64 \ -DCMAKE_BUILD_TYPE=Release \ -DOSG_BUILD_PLATFORM_IPHONE=0 \ -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.7.sdk \ -DOSG_WINDOWING_SYSTEM=Cocoa \ -DOSG_COMPILE_FRAMEWORKS=1 which seems relevant to me :-) What's wrong? ;( Any help would be welcome Le 26 août 2011 à 18:41, Ulrich Hertlein a écrit : > On 26/08/11 16:39 , Ulrich Hertlein wrote: >> Currently my Lion build fails in DarwinUtils.mm >> /Users/uli/Projects/osg/OpenSceneGraph/src/osgViewer/DarwinUtils.mm: In >> member function >> 'virtual void >> osgDarwin::DarwinWindowingSystemInterface::getScreenSettings(const >> osg::GraphicsContext::ScreenIdentifier&, >> osg::GraphicsContext::ScreenSettings&)': >> /Users/uli/Projects/osg/OpenSceneGraph/src/osgViewer/DarwinUtils.mm:316: >> error: >> 'CGDisplayBitsPerPixel' was not declared in this scope > > Okay, I've found a work-around for the deprecated CGDisplayBitsPerPixel in > Lion SDK 10.7, > cleaning that up now. > > /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

