Hi, Am 14.01.12 23:31, schrieb Erick Bazan: > I'm really really new to OSG, I need to use it for my Virtual Environments > class. I have some experience with OpenGL in Mac with Xcode. I've been > searching all over the internet how to install OpenSceneGraph in Mac OSX Lion > and use it with Xcode (4). All I found was tutorials explaining how to > install it from the 2.8 dmg and I tried installing the binaries to the Lion > and Leopard SDK with no results. > > Anyone know how to install or compile OSG projects from scratch in Lion with > Xcode, as I said, I'm new to the whole OSG.
checkout/download the osg-source, download a recent cmake version, open it, select the osg-source-tree, select a build-directory, select the xcode-generator, make sure you set OSG_WINDOWING_SYSTEM to Cocoa CMAKE_INSTALL_PREFIX to your needs If you want embeddable frameworks, set OSG_COMPILE_FRAMEWORKS to 1 (otherwise you'll get dylibs) generate the xcode-project files, open them in xcode, compile the INSTALL-target, you should now find the frameworks/dylibs/plugins in your folder given to the CMAKE_INSTALL_PREFIX Probably the quicktime-plugin will not compile, there's a fix in osg-submission waiting for review. It's time to update the readme.txt as most of it's info regarding os x is outdated. HTH, Stephan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

