Are you able to run the OSG apps and examples? If so, why not compare how they
are built with how you are building yours.
IIRC, Bus errors are typically caused by a mismatch between the .lib stub
libraries and the .so runtime libraries, so if you have been using multiple
versions of OSG (or any other libraries that you link with), that's something
you'll want to check.
-Paul
On 8/27/2011 9:31 AM, Yann Blaudin de Thé wrote:
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
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org