Difference between revisions of "OSGInstallSEQ142"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Installing OpenSceneGraph on PCs in Sequoiah lab 142)
(Installing OpenSceneGraph on PCs in Sequoiah lab 142)
Line 14: Line 14:
 
* Microsoft Visual Studio 2010 Professional: pre-installed
 
* Microsoft Visual Studio 2010 Professional: pre-installed
  
[[Instructor's installation instructions | OSGInstallJS]]
+
[[OSGInstallJS |Instructor's installation instructions]]
[[Kevin Crossnan's installation instructions | OSGInstallKC]]
+
[[OSGInstallKC | Kevin Crossnan's installation instructions]]
  
 
Installation Instructions:
 
Installation Instructions:

Revision as of 20:22, 17 January 2013

Installing OpenSceneGraph on PCs in Sequoiah lab 142

Lab Hardware:

  • PC: HP Z210 Workstation
  • RAM: 8GB
  • CPU: Intel Xeon E31225, 3.1GHz
  • Display: HP ZR22w, 1920x1080@60Hz
  • GPU: NVIDIA Quadro 600, 2.4GB VRAM available

Pre-Installed Software:

  • OS: Windows 7 Enterprise 32bit: pre-installed
  • Microsoft Visual Studio 2010 Professional: pre-installed

Instructor's installation instructions Kevin Crossnan's installation instructions

Installation Instructions:

  • In the following instructions, replace USERNAME with your user name. In my case that is jschulze.
  • Download OpenSceneGraph: Stable Release 3.0.0, ZIP file and extract to C:\users\USERNAME\osg
  • Download CMake 2.8 binary release and install into your home directory, for instance C:\users\USERNAME\CMake.
  • Download 3rd party libraries (thanks, Ayush Shrestha!) and extract into user's home directory, for instance to C:\users\USERNAME\3rdparty.
  • Download libxml. Extract the zip file to C:\users\USERNAME\3rdparty.
  • Make sure the bin, lib and include directories are directly under the 3rdparty subdirectory. Move them there if there is a directory in-between.
  • Open Windows command shell by running application 'cmd' from Start menu.
  • cd c:\users\USERNAME\osg
  • cmake -i
    • Change default install path to c:\users\USERNAME\osg
    • Enable compilation of examples.
  • Double click ALL_BUILD file in c:\users\USERNAME\osg. This will open MSVC and automatically create a solution with all library files and examples.
  • In MSVC go to 'Build' menu and click 'Build Solution'. This will take a while - time to read a chapter in the textbook.
  • Note that now you have OSG and can start playing with the examples, and start building your project. To load VRML files you will need to link against OpenVRML. Instructions to follow...


Helpful Web Links: