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)
Line 1: Line 1:
 
==Instructor's Installation Instructions for the lab in Sequoiah Hall==
 
==Instructor's Installation Instructions for the lab in Sequoiah Hall==
  
* In the following instructions, replace USERNAME with your user name. In my case that is jschulze.
+
* Download OpenSceneGraph: [http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0/source/OpenSceneGraph-3.0.0.zip Stable Release 3.0.0, ZIP file] and extract to H:\cse190\osg
* Download OpenSceneGraph: [http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0/source/OpenSceneGraph-3.0.0.zip Stable Release 3.0.0, ZIP file] and extract to C:\users\USERNAME\osg
+
* Download [http://www.cmake.org/files/v2.8/cmake-2.8.10.2-win32-x86.exe CMake 2.8 binary release] and install into your home directory, for instance H:\cse190\CMake.
* Download [http://www.cmake.org/files/v2.8/cmake-2.8.10.2-win32-x86.exe CMake 2.8 binary release] and install into your home directory, for instance C:\users\USERNAME\CMake.
+
* Download [http://www.cs.gsu.edu/~ashrestha2/uploads/3rdParty_Win32Binaries_vc90sp1.zip 3rd party libraries] (thanks, Ayush Shrestha!) and extract into user's home directory, for instance to H:\cse190\3rdparty.
* Download [http://www.cs.gsu.edu/~ashrestha2/uploads/3rdParty_Win32Binaries_vc90sp1.zip 3rd party libraries] (thanks, Ayush Shrestha!) and extract into user's home directory, for instance to C:\users\USERNAME\3rdparty.
+
* Download [http://www.cs.gsu.edu/~ashrestha2/uploads/3rdParty_x86.zip libxml]. Extract the zip file to H:\cse190\3rdparty.
* Download [http://www.cs.gsu.edu/~ashrestha2/uploads/3rdParty_x86.zip 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.
 
* 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 c:\users\USERNAME\osg
+
* cd H:\osg
 
* cmake -i
 
* cmake -i
** Change default install path to c:\users\USERNAME\osg
+
** Change default install path to H:\osg
 
** Enable compilation of examples.
 
** 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.
+
* Double click ALL_BUILD file in H:\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...
* Finally, unless you already built things there, you'll need to copy everything to your network account at \\ad.ucsd.edu\oec\users\USERNAME\ so you don't lose your hard work!
 

Revision as of 20:51, 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:\osg
  • cmake -i
    • Change default install path to H:\osg
    • Enable compilation of examples.
  • Double click ALL_BUILD file in H:\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...