Game Programming in C++ Start to Finish


Frequently Asked Questions

Q: When do I need to use STLport?

A: You need STLport if you're running Microsoft Visual C++ 6.0 SP6 or .NET 2002, because of an older implementation of the STL in these versions of VC++. If you are using Visual C++.Net 2003 or later you do not need STLport.

Q: How do I install STLport?

Answer #1 – build it yourself:

Download the latest from www.stlport.org and unzip it somewhere

  1. make sure you've run VCVARS32.BAT from the MSVC6 folder, in the same command prompt window

  2. type 'nmake -f vc6.mak clean all'

  1. make sure you've run VSVARS32.BAT from the MSVC .NET folder, in the same command prompt window

  2. type 'nmake -f vc7.mak clean all'


Answer #2 – run the included install:


Once the library has been installed (or built) do not forget to add the include and lib folders to the necessary path settings in your compiler IDE.

Q: When I'm compiling using Visual Studio (any version), why do I get strange linking errors with SDL?

A: Most likely this is because you have not changed the project settings to use the multithreaded DLL runtime libraries.