Difference between revisions of "OSGInstallJS"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Instructor's Installation Instructions for the lab in Sequoiah Hall)
(Instructor's Installation Instructions for the lab in Sequoiah Hall)
 
(4 intermediate revisions by one user not shown)
Line 7: Line 7:
 
* Make sure the bin, lib and include directories are directly under the 3rdParty subdirectory. Move them there if there is a directory in-between.
 
* 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.
 
* Open Windows command shell by running application 'cmd' from Start menu.
* cd H:\osg
+
* cd h:\cse190\osg
* cmake -i
+
* h:\cse190\CMake\cmake -i
** Change default install path to h:\osg
+
** Would you like to use advanced options? No
** Enable compilation of examples.
+
** Leave all options on default except:
* Double click ALL_BUILD file in h:\osg. This will open MSVC and automatically create a solution with all library files and examples.
+
*** Variable Name: BUILD_OSG_EXAMPLES: ON
 +
*** Variable Name: CMAKE_INSTALL_PREFIX: h:\cse190\osg
 +
*** Variable Name: EXECUTABLE_OUTPUT_PATH: h:\cse190\osg\bin
 +
*** Variable Name: LIBRARY_OUTPUT_PATH: h:\cse190\osg\lib
 +
* Double click ALL_BUILD file in h:\cse190\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.
 
* 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...
 
* 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...

Latest revision as of 20:04, 17 January 2013

Instructor's Installation Instructions for the lab in Sequoiah Hall

  • Download OpenSceneGraph: Stable Release 3.0.0, ZIP file and extract to H:\cse190\osg
  • Download CMake 2.8 binary release and install into your home directory, for instance h:\cse190\CMake.
  • Download 3rd party libraries (thanks, Ayush Shrestha!) and extract into user's home directory, for instance to h:\cse190\3rdParty.
  • Download libxml. Extract the zip file to h:\cse190\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 h:\cse190\osg
  • h:\cse190\CMake\cmake -i
    • Would you like to use advanced options? No
    • Leave all options on default except:
      • Variable Name: BUILD_OSG_EXAMPLES: ON
      • Variable Name: CMAKE_INSTALL_PREFIX: h:\cse190\osg
      • Variable Name: EXECUTABLE_OUTPUT_PATH: h:\cse190\osg\bin
      • Variable Name: LIBRARY_OUTPUT_PATH: h:\cse190\osg\lib
  • Double click ALL_BUILD file in h:\cse190\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...