Version 3 (modified by osg, 6 years ago)


Mac OS X

Follows are details on usage of OpenSceneGraph such as how to get things compiling under OSX.

Installing dependencies

The main requirement is that you need to have installed the Developer tools from the CD that comes for free with OS X. This gives you compilers, headers, frameworks - stuff like Cocoa and Carbon for developers. Get those here: The Apple tools website.

OSG currently ships with an Xcode project and a CMake build system. The Xcode project will be removed once the CMake system is fully functional under Mac OS X. Until then, the Xcode project may be your best bet for building binaries that need to be deployed. However, it tends to lag behind CMake (which is the central build system) in SVN because somebody has to note any changes committed in SVN and update the Xcode project accordingly.

Pre-built binaries for OS X are supplied. See the OSG downloads page.

Under Mac OS X the Fink project acts as repository for a number of different dependencies such as FreeType, binaries for these dependencies can by downloaded and installed without needing to build and install each individual library.

There is also the GNU-Darwin project which may be use.

Compiling under OSX using XCode to build frameworks

See the Mac OS X Tips and Tricks Mac OS X Tips and Tricks page for videos and more information

See the OpenSceneGraph on OSX page developed by members of the OSG community. (unmaintained)

Platform Specific Notes:

See the Mac OS X 10.5 Leopard Notes Mac OS X 10.5 Leopard Notes for more information.