Hi Yann,

On 27/08/11 17:31 , Yann Blaudin de Thé wrote:
> 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

Did you try without the 'OSG_COMPILE_FRAMEWORKS'?  I seem to remember that 
there were
issues with cmake and frameworks and it works fine for me without them 
(building .dylib).

Also, you can definitively drop 'OSG_BUILD_PLATFORM_IPHONE'.
If you want I can send you my (working) CMakeCache.txt file.

/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to