Can someone tell me what are the options to pass to cmake to compile OSG on OSX Lion? (either to a .framework form, or to a *nix form, like a .dylib) I definitely don't get it, and I'm not experienced enough to find it out by myself. As written in a previous mail, I used so far:
OSG_WINDOWING_SYSTEM=Coca CMAKE_ARCHITECTURE='i386;x86_64' OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio CMAKE_BUILD_TYPE=Release which seems quite relevant to me. The problem is that in this case, the program at the end of this mail crashes, with the error: Bus error: 10 BTW, what you, Tony H., suggested doesn't work. Thank you anyway! Yann Le 29 août 2011 à 20:44, Tony Horrobin a écrit : > Hi Yann, > > I have tried your code with osg trunk under Windows 7 32bit and can report > that it does not crash. > > All I can suggest is to replace use of native pointers with osg::ref_ptr. > > So for example: > > Code: > osg::Geode * geode = new osg::Geode(); > > > becomes > > > Code: > osg::ref_ptr< Geode > geode = new osg::Geode(); > > > > Cheers, > > -Tony > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=42293#42293 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org