OpenSceneGraph: Difference between revisions

Jump to navigation Jump to search
→‎Compiling OpenSceneGraph: Updated build instructions.
(→‎The latest cvs version: Removed the old OSG CVS information.)
(→‎Compiling OpenSceneGraph: Updated build instructions.)
Line 22: Line 22:


== Compiling OpenSceneGraph ==
== Compiling OpenSceneGraph ==
OpenSceneGraph uses cmake. A minimal build instruction for unix systems is
mkdir build.osg
cd build.osg
ccmake ../path/to/osg/source
make
make install
On other systems the steps might be different.
Recommended options to set in the ccmake menus:
* Build type: Release
* You don't need to build the examples, wrappers or applications.
=== Compilation work arounds ===


If you get errors when compiling the patched OpenSceneGraph after having compiled (and installed) OpenThreads and Producer successfully (happens on Arch Linux), you may have to add the following to your 'make':
If you get errors when compiling the patched OpenSceneGraph after having compiled (and installed) OpenThreads and Producer successfully (happens on Arch Linux), you may have to add the following to your 'make':
827

edits

Navigation menu