Open Scene Graph for MS Visual Studio

Sep 1, 2008 - Open Scene Graph for MS Visual Studio. Extrait du bhbn.free.fr http://bhbn.free.fr/spip.php?article19. Open Scene Graph for MS. Visual Studio.
73KB taille 5 téléchargements 272 vues
Open Scene Graph for MS Visual Studio Extrait du bhbn.free.fr http://bhbn.free.fr/spip.php?article19

Open Scene Graph for MS Visual Studio - Developments -

Date de mise en ligne : Monday 1 September 2008

bhbn.free.fr

Copyright © bhbn.free.fr

Page 1/3

Open Scene Graph for MS Visual Studio

This is just a quick summary of the procedure which seems the safest to get the OSG library compiled and installed properly to develop with MS Visual Studio. Installing OSG is highly simplified if you work under Linux tough, so give it a try if you can't manage to have it to work under Windows ;) ! NB: If you don't have MS Visual Studio, download and install MS Visual Studio Express

Installation of the OSG library under MS Windows 1. 2. 3.

Install CMake (http://www.cmake.org). Download the source code zip of OSG Download the Win32 binary dependency libraries for OSG and place the files in a folder which can remain (e.g. C:/Program Files/OpenSceneGraph/3rd-party). Using SVN is the more appropriate to do so. 4. To compile OSG: 1. Read the instructions. 2. Follow the instructions. 3. To have it simpler: 1. Uncompress the OSG zip in a place where it can stay (i.e. Desktop is not a good idea) 2. In cmake, setup the bin install directory to C:/Program Files/OpenSceneGraph 3. In cmake, make sure when configuring that you select the version of Visual Studio that you have. 4. In cmake, clic configure maybe twice to ensure all is green. Clic 'Ok' to generate the projects. 5. In Visual Studio, compile the Release version.

5. 6.

In fact, it does not take too long to compile (