Changes between Initial Version and Version 1 of Support/PlatformSpecifics/VisualStudio/OlderVSVersions

05/14/09 15:56:32 (8 years ago)
jean-sebastien.guay (IP:

Created page to move outdated information related to older Visual Studio versions.


  • Support/PlatformSpecifics/VisualStudio/OlderVSVersions

    v1 v1  
     1= Older Visual Studio Versions = 
     4== Compiling with Visual Studio 6.0 == 
     5With the advent of Visual Studio Express (see above), going through all the hoops required to get !OpenSceneGraph to compile on Visual Studio 6.0 seems a lot less appealing. It's probably a lot easier to just install VS Express and use that. You get a free, up-to-date compiler and development environment in which you can work, and you don't need to worry about VS 6's issues. Nonetheless, instructions to get !OpenSceneGraph to compile in Visual Studio 6.0 follow. 
     7VS 6 has poor support for STL templates. You must obtain STLport or equivalent (such as dinkumware's replacement at which I have not tested). 
     9=== STLport instructions === 
     11Please use '''STLport-4.5''', since earlierer and newer versions cause more or less problems!!!   [[BR]] 
     12You only need the header files supplied with stlport - no need to compile or edit the code installed, with the following exception: 
     14Edit stlport/stl_user_config.h at about line 45 (your's may vary) and comment _IN_ (should be commented _OUT_ by default) 
     17# define _STLP_NO_OWN_IOSTREAMS     1 
     20Set the include file paths (under tools  Options..., subtab Directories) to include the stlport include directory, and raise this directory up the list of include search paths (or else MS's old and non-useful stl will be used first). This is a good opportunity to add the Openthreads & Producer include file paths as well since they will be used by many projects. 
     22The Directories tab can also be used to set search path for libraries - set these to include 
     23Producer & Openthreads. 
     25=== Building !OpenSceneGraph 1.2 === 
     27The .dsp files included with the 1.2 versions of !OpenSceneGraph, Producer, and !OpenThreads have some settings that are not compatible with VS 6, in order to enable 64 bit builds in VS 8.  These settings must be changed, prior to building with VS 6, by replacing all instances of: 
     28 * `$(PlatformName)` with `win32`, and 
     29 * `$(ConfigurationName)` with `Debug` or `Release` as appropriate. 
     31A Perl script is in `OpenSceneGraph/VisualStudio/` to perform these changes automatically.  Run it using either Windows or Cygwin Perl.