Difference between revisions of "OSGInstallJS"
From Immersive Visualization Lab Wiki
(→Instructor's Installation Instructions for the lab in Sequoiah Hall) |
(→Instructor's Installation Instructions for the lab in Sequoiah Hall) |
||
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 | + | * cd h:\cse190\osg |
* cmake -i | * cmake -i | ||
** Change default install path to h:\osg | ** Change default install path to h:\osg |
Revision as of 19:58, 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
- 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...