Difference between revisions of "OSGInstallJS"
From Immersive Visualization Lab Wiki
(New page: ==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 Open...) |
(→Instructor's Installation Instructions for the lab in Sequoiah Hall) |
||
Line 15: | Line 15: | ||
* 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 19:45, 17 January 2013
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: 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...
- 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!