OpenSceneGraph: Difference between revisions

Jump to navigation Jump to search
cmake_policy CMP0008, since OSG version 2.7.3
m (Adding "regressions" section -> →‎Current issues (very out of date))
(cmake_policy CMP0008, since OSG version 2.7.3)
Line 26: Line 26:
== Compiling OpenSceneGraph ==
== Compiling OpenSceneGraph ==


OpenSceneGraph uses cmake. A minimal build instruction for unix systems is
OpenSceneGraph uses cmake. Since OSG version 2.7.3 (8th Oct 2008) to build it there is a relatively new version of cmake needed. According to OSGs CMakeLists.txt it's 2.6.1 but cmake 2.6.0-5 from [http://backports.org/dokuwiki/doku.php backports.org] for Debian/Etch does the trick.
It's also possible to comment out lines 25 to 27 in OSGs CMakeLists.txt:
#    if(POLICY CMP0008)
#        cmake_policy(SET CMP0008 OLD)
#    endif(POLICY CMP0008)
 
 
A minimal build instruction for unix systems is


  mkdir build.osg
  mkdir build.osg
392

edits

Navigation menu