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

Show
Ignore:
Timestamp:
05/14/09 15:56:32 (6 years ago)
Author:
jean-sebastien.guay (IP: 206.248.171.156)
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Support/PlatformSpecifics/VisualStudio/OlderVSVersions

    v1 v1  
     1= Older Visual Studio Versions = 
     2[[TracNav(TracNav/SupportTOC)]] 
     3 
     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. 
     6 
     7VS 6 has poor support for STL templates. You must obtain STLport http://www.stlport.org/download.html or equivalent (such as dinkumware's replacement at http://www.dinkumware.com/ which I have not tested). 
     8 
     9=== STLport instructions === 
     10 
     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: 
     13 
     14Edit stlport/stl_user_config.h at about line 45 (your's may vary) and comment _IN_ (should be commented _OUT_ by default) 
     15 
     16{{{ 
     17# define _STLP_NO_OWN_IOSTREAMS     1 
     18}}} 
     19 
     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. 
     21 
     22The Directories tab can also be used to set search path for libraries - set these to include 
     23Producer & Openthreads. 
     24 
     25=== Building !OpenSceneGraph 1.2 === 
     26 
     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. 
     30 
     31A Perl script is in `OpenSceneGraph/VisualStudio/fixup-vc6-dsps.pl` to perform these changes automatically.  Run it using either Windows or Cygwin Perl.