Hi again,

I just wanted to chime back, now that the OSG build is done. I am surprised / delighted at how painless it was.

I configured for a makefile build, set the following as advised:

CMAKE_OSX_ARCHITECTURES = i386;x86_64
OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX = imageio
OSG_WINDOWING_SYSTEM = Cocoa

I also had to blank the wxWidgets settings because for some reason CMake detected wxWidgets and tried to build the osgViewerWX example, which resulted in compile errors. Just blanking those settings prevented that example to build, and the rest went fine.

Setting my PATH and DYLD_LIBRARY_PATH appropriately I can run osgviewer and I've also tried a few examples, all went well.

I'll have a look now at building our own SDK on OSX as universal binaries, but that's not your concern. I'm on the right track.

BTW, I found that using macports you can add "+universal" to the command to make it build universal binaries, as defined by the universal_archs directive in macports.conf (set to "x86_64 i386" by default, so that's what I want). So the command to install boost is "sudo port install boost +universal". I'm currently trying to install boost that way, so I guess I'll see if it works as advertised.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to