However, I've seen on the sourceforge repository ( http://sourceforge.net/projects
====================================================
As a "developer", you'll want to use the version with the CMakeLists.txt
files. If you need any help installing it, please let me know.
One easy way to download it is to use svn with the command:
svn co https://diverse.svn.sourceforg
and it'll put all of the code in a directory named diverse-svn. You can use
any other directory name you like if diverse-svn doesn't appeal to you.
We use this command to build it. (I also sent this in an earlier email- see
it for what "v" is for and so on. In particular, change CMAKE_INSTALL_PREFIX
to where you want it installed.)
\rm -rf build
mkdir build
cd build
v=`echo /usr/share/doc/nvidia-graphics*/include`
docs=ON
# this makes the Makefiles in the build directories
cmake \
-D CMAKE_INSTALL_PREFIX=$HEVROOT/apps/diverse/installed \
-D GLX_HEADER_PATH=${v} \
-D DADS_BUILD_DOCUMENTATION=${docs} \
-D DGL_BUILD_DOCUMENTATION=${docs} \
-D DTK_BUILD_DOCUMENTATION=${docs} \
-D OSG_INCLUDE_PATH=$HEVROOT/apps/osg/osg-2.x/installed/include \
-D OSG_LIBRARY_PATH=$OSG_LIB_DIR \
-D OSG_LIBRARY=$OSG_LIB_DIR/libosg.so \
../diverse-svn
# this compiles it in the build directory, and installs it in the install directory
make install
--------------------------
this is the cmake we did in the build directory
v=`echo /usr/include`
docs=ON
cmake -D CMAKE_INSTALL_PREFIX=/usr/local/DIVERSE/install/ -D GLX_HEADER_PATH=${v} -D DADS_BUILD_DOCUMENTATION=${docs} -D DGL_BUILD_DOCUMENTATION=${docs} -D DTK_BUILD_DOCUMENTATION=${docs} -D OSG_INCLUDE_PATH=/usr/local/devtools/OpenSceneGraph-2.2.0/include/ -D OSG_LIBRARY_PATH=$OSG_LIB_DIR -D OSG_LIBRARY=/usr/local/devtools/OpenSceneGraph-2.2.0/lib/libosg.so -D DGL_BUILD_WITH_OPENSCENEGRAPH=OFF ../source/
# this makes the Makefiles in the build directories
cmake \
-D CMAKE_INSTALL_PREFIX=$HEVROOT
-D GLX_HEADER_PATH=${v} \
-D DADS_BUILD_DOCUMENTATION=$
-D DGL_BUILD_DOCUMENTATION=${docs
-D DTK_BUILD_DOCUMENTATION=${docs
-D OSG_INCLUDE_PATH=$HEVROOT/apps
-D OSG_LIBRARY_PATH=$OSG_LIB_DIR \
-D OSG_LIBRARY=$OSG_LIB_DIR
../diverse-svn
# this compiles it in the build directory, and installs it in the install directory
make install
--------------------------
this is the cmake we did in the build directory
v=`echo /usr/include`
docs=ON
cmake -D CMAKE_INSTALL_PREFIX=/usr/local/DIVERSE/install/ -D GLX_HEADER_PATH=${v} -D DADS_BUILD_DOCUMENTATION=${docs} -D DGL_BUILD_DOCUMENTATION=${docs} -D DTK_BUILD_DOCUMENTATION=${docs} -D OSG_INCLUDE_PATH=/usr/local/devtools/OpenSceneGraph-2.2.0/include/ -D OSG_LIBRARY_PATH=$OSG_LIB_DIR -D OSG_LIBRARY=/usr/local/devtools/OpenSceneGraph-2.2.0/lib/libosg.so -D DGL_BUILD_WITH_OPENSCENEGRAPH=OFF ../source/
No comments:
Post a Comment