Difference between revisions of "CalVR"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Build OSG:)
(Build CalVR:)
Line 23: Line 23:
 
press 'c' to configure, press 'g' to generate. and 'q' to quit. Now back to osg/, just type make to build. It takes quite a while to build.
 
press 'c' to configure, press 'g' to generate. and 'q' to quit. Now back to osg/, just type make to build. It takes quite a while to build.
  
== Build CalVR: ==
+
== Building CalVR ==
  
  
 
Make sure CalVR Dependencies(OSG, MXML, GLEW) are in the environment variables. If not, set them in .cshrc, for example, adding OSG in the environment, add this line at the ned of .cshrc:
 
Make sure CalVR Dependencies(OSG, MXML, GLEW) are in the environment variables. If not, set them in .cshrc, for example, adding OSG in the environment, add this line at the ned of .cshrc:
 
  setenv OSG_HOME ~/osg/
 
  setenv OSG_HOME ~/osg/

Revision as of 19:53, 9 November 2010


Contents

This page is working in Progress



Overview

This page talks about adding a plugin in CalVR, starting from building OSG and CalVR from source. You need cmake to build OSG, CalVR and your plugins.

Building OSG

Developer release of OSG can be found here

Assume the unpacked directory is osg/, and cmake/bin/ is in the path, in osg/ run ccmake:

ccmake .

It turns into a terminal interface of cmake config for osg.

In CMAKE_BUILD_TYPE, press Enter to edit the field, type in one of the options that with debug information: RelWithDebInfo

press 'c' to configure, press 'g' to generate. and 'q' to quit. Now back to osg/, just type make to build. It takes quite a while to build.

Building CalVR

Make sure CalVR Dependencies(OSG, MXML, GLEW) are in the environment variables. If not, set them in .cshrc, for example, adding OSG in the environment, add this line at the ned of .cshrc:

setenv OSG_HOME ~/osg/