Difference between revisions of "BuildWindowsCore"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Building the CalVR-Core for Windows)
(Building the CalVR-Core for Windows)
Line 12: Line 12:
 
After downloading the OSG source code, extract the files in a folder under your main directory (in general your C:\ drive). Now start the Cmake gui and enter the directory where you create the OSG-folder in the fields '''"Where is the source code"''' and '''"Where to build the binaries"'''. Click on "configure". Now you can costomize your build. Red lines indicate new variables that can be set or modified. Most of them are optional and some are already set. Pay attention to the following variables that they are set correctly:
 
After downloading the OSG source code, extract the files in a folder under your main directory (in general your C:\ drive). Now start the Cmake gui and enter the directory where you create the OSG-folder in the fields '''"Where is the source code"''' and '''"Where to build the binaries"'''. Click on "configure". Now you can costomize your build. Red lines indicate new variables that can be set or modified. Most of them are optional and some are already set. Pay attention to the following variables that they are set correctly:
  
*OSG_HOME_DIR
+
*OSG_ROOT            C:\osg\OpenSceneGraph-3.2.0
*OSG_INCLUDE_DIR
+
*OSG_INCLUDE_PATH    C:\osg\OpenSceneGraph-3.2.0\include
*OSG_BIN_DIR
+
*OSG_BIN_PATH        C:\osg\OpenSceneGraph-3.2.0\bin
*OSG_LIB_DIR
+
*OSG_LIB_PATH        C:\osg\OpenSceneGraph-3.2.0\lib
  
 
Also check if your dependencies you have are detected and fill out the variables if neccessary. After setting everything to your needs press again "configure" and all red lines should disappear. In case there are still some unknown variables left, correct them or leave it as it is and press "configure" again. Now press "generate".  
 
Also check if your dependencies you have are detected and fill out the variables if neccessary. After setting everything to your needs press again "configure" and all red lines should disappear. In case there are still some unknown variables left, correct them or leave it as it is and press "configure" again. Now press "generate".  

Revision as of 16:38, 24 October 2014

Contents

Building the CalVR-Core for Windows

Prerequisits

There are some requirement that has to be fullfilled for successfully builing the CalVR core. The build of CalVR core-software is done in Visual Studio 2012, therefore you need to install Cmake to get the project solution file. After installing Cmake, make sure you have the latest version of OpenSceneGraph installed. If you already have a version of OSG you can check the version.number by typing the following in a command prompt:

osgversion

OSG - Installation

After downloading the OSG source code, extract the files in a folder under your main directory (in general your C:\ drive). Now start the Cmake gui and enter the directory where you create the OSG-folder in the fields "Where is the source code" and "Where to build the binaries". Click on "configure". Now you can costomize your build. Red lines indicate new variables that can be set or modified. Most of them are optional and some are already set. Pay attention to the following variables that they are set correctly:

  • OSG_ROOT C:\osg\OpenSceneGraph-3.2.0
  • OSG_INCLUDE_PATH C:\osg\OpenSceneGraph-3.2.0\include
  • OSG_BIN_PATH C:\osg\OpenSceneGraph-3.2.0\bin
  • OSG_LIB_PATH C:\osg\OpenSceneGraph-3.2.0\lib

Also check if your dependencies you have are detected and fill out the variables if neccessary. After setting everything to your needs press again "configure" and all red lines should disappear. In case there are still some unknown variables left, correct them or leave it as it is and press "configure" again. Now press "generate". If everathing goes right, you should now see a OpenScenegraph.sln file in the folder you entered in "Where to build binaries". Open it in Visual Studio and select your build type (Debug, Release, RelWithDebugInfo, MinSizeRel). Click on build --> build solution. This starts the build process which can take several minutes. In general everything should build correct, so that you are able to right click on the "INSTALL" project and select "build". It is possible that the build will fail because it could not create a folder in C:\Program files(x86). If this happens, create the specified directory manually which should solve the error.


building CalVR Core

dies ist text

  • aufzaehlung 1
    • unterpunkt
  • aufzaehlung 2
  • aufzaehlung 3
1         aligned text 1
2 nochmal aligned

1 aligned text 1 2 nochmal aligned


ausprobieren: fettgedruckt

Dies ist ein Link zu einer Webseite.

Unterabschnitt