(svn r18704) -Doc: update the 'Compiling OpenTTD using Microsoft Visual C++' documentation

This commit is contained in:
yexo 2010-01-03 21:35:17 +00:00
parent 069b6a9fab
commit 1c1035c44c

View File

@ -1,5 +1,5 @@
Compiling OpenTTD using Microsoft Visual C++ Compiling OpenTTD using Microsoft Visual C++
January 2, 2007 Last updated: 2010-01-03
-------------------------------------------- --------------------------------------------
PLEASE READ THE ENTIRE DOCUMENT BEFORE DOING ANY ACTUAL CHANGES!! PLEASE READ THE ENTIRE DOCUMENT BEFORE DOING ANY ACTUAL CHANGES!!
@ -10,7 +10,7 @@ OpenTTD includes projects for MSVC 2005.NET and MSVC 2008.NET. Both will
compile out of the box, providing you have the required libraries/headers; compile out of the box, providing you have the required libraries/headers;
which ones, see below. There is no support for VS6 or MSVC 2002, or which ones, see below. There is no support for VS6 or MSVC 2002, or
MSVC 2003.NET. You are therefore strongly encouraged to either upgrade to MSVC 2003.NET. You are therefore strongly encouraged to either upgrade to
MSVC 2005 Express (free) or use GCC. MSVC 2008 Express (free) or use GCC.
1) REQUIRED FILES 1) REQUIRED FILES
@ -36,16 +36,16 @@ You need an SVN-client to download the source from subversion:
2) INCLUDES AND LIBRARIES 2) INCLUDES AND LIBRARIES
------------------------- -------------------------
Put the newly downloaded files in the VC lib\ and include\ directories; where Put the newly downloaded files in the VC lib\ and include\ directories; where
"C:\Program Files\Microsoft Visual Studio 8\VC" is your location of Visual C. "C:\Program Files\Microsoft Visual Studio 9.0\VC" is your location of Visual C.
If you are compiling for an x64 system, use the include\ and lib\ directories If you are compiling for an x64 system, use the include\ and lib\ directories
from the win64/ folder. from the win64/ folder.
* openttd-useful.zip\include\* * openttd-useful.zip\include\*
* afxresh.h * afxresh.h
to > C:\Program Files\Microsoft Visual Studio 8\VC\Include to > C:\Program Files\Microsoft Visual Studio 9.0\VC\Include
* openttd-useful.zip\lib\* * openttd-useful.zip\lib\*
to > C:\Program Files\Microsoft Visual Studio 8\VC\Lib to > C:\Program Files\Microsoft Visual Studio 9.0\VC\Lib
Custom directories might be recommended, check 2.2) Custom directories might be recommended, check 2.2)
@ -76,14 +76,7 @@ list, above all others, otherwise compilation will most likely fail!!
3) TTD GRAPHICS FILES 3) TTD GRAPHICS FILES
--------------------- ---------------------
Copy the following files from Transport Tycoon Deluxe to the bin/data folder See section 4.1 of readme.txt for the required 3rdparty files and how to install them.
* sample.cat
* trg1r.grf
* trgcr.grf
* trghr.grf
* trgir.grf
* trgtr.grf
4) COMPILING 4) COMPILING
@ -112,4 +105,4 @@ to ask about reasons; or just wait. The problem will most likely solve itself
within a few days as the problem is noticed and fixed. within a few days as the problem is noticed and fixed.
An up-to-date version of this README can be found on the wiki: An up-to-date version of this README can be found on the wiki:
http://wiki.openttd.org/index.php/MicrosoftVisualCExpress http://wiki.openttd.org/Microsoft_Visual_C%2B%2B_2008_Express_Editions