Difference between revisions of "CalVR"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
Line 1: Line 1:
CalVR Dependencies: OSG, MXML, GLEW, cmake
+
----
  
 +
== 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.
  
 
== Build OSG: ==
 
== Build OSG: ==
Line 19: Line 27:
  
  
Make sure
+
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/

Revision as of 19:45, 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.

Build 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 option 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.


Build 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/