docs/Readme_Windows_MSVC.txt
author KUDr
Fri, 20 Apr 2007 19:43:06 +0000
changeset 6513 454347ca3dfb
parent 5489 54e5b9d2594a
child 8409 de295d5e2bb4
permissions -rw-r--r--
(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
     1
Compiling OpenTTD using Microsoft Visual C++
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
     2
January 2, 2007
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
     3
--------------------------------------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
     4
PLEASE READ THE ENTIRE DOCUMENT BEFORE DOING ANY ACTUAL CHANGES!!
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
     5
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
     6
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
     7
SUPPORTED MSVC COMPILERS
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
     8
------------------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
     9
OpenTTD includes projects for MSVC 2003.NET and MSVC 2005.NET. Both will
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    10
compile out of the box, providing you have the required libraries/headers;
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    11
which ones, see below. There is no support for VS6, you are therefore
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    12
strongly encouraged to either upgrade to MSVC 2005 Express (free) or use GCC.
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    13
MSVC 2002 probably works as well, but it has not been tested.
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    14
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    15
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    16
1) REQUIRED FILES
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    17
-----------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    18
You might already have some of the files already installed, so check before
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    19
downloading; mostly because the DirectX SDK and Platform SDK are about
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    20
500MB each.
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    21
Download the following files:
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    22
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    23
	* openttd-useful.zip (http://sf.net/project/showfiles.php?group_id=103924&package_id=114307)
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    24
	* DirectX 8.1 SDK (http://neuron.tuke.sk/~mizanin/eng/Dx81sdk-include-lib.rar) (or alternatively the latest DirectX SDK from Microsoft)
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    25
	* MS Windows Platform SDK (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en)
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    26
	* afxres.h (http://www-d0.fnal.gov/d0dist/dist/packages/d0ve/devel/windows/AFXRES.H)
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    27
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    28
...and of course the newest source from svn://svn.openttd.org/trunk
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    29
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    30
You need an SVN-client to download the source from subversion:
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    31
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    32
	* CLI Subversion (http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91)
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    33
	* GUI TortoiseSVN (http://tortoisesvn.tigris.org/download.html)
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    34
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    35
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    36
2) INCLUDES AND LIBRARIES
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    37
-------------------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    38
Put the newly downloaded files in the VC lib\ and include\ directories; where
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    39
"C:\Program Files\Microsoft Visual Studio 8\VC" is your location of Visual C.
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    40
If you are compiling for an x64 system, use the include\ and lib\ directories
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    41
from the win64/ folder.
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    42
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    43
	* openttd-useful.zip\include\*
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    44
	* afxresh.h
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    45
	to >	C:\Program Files\Microsoft Visual Studio 8\VC\Include
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    46
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    47
	* openttd-useful.zip\lib\*
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    48
	to >	C:\Program Files\Microsoft Visual Studio 8\VC\Lib
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    49
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    50
Custom directories might be recommended, check 2.2)
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    51
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    52
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    53
2.1) INCLUDES AND LIBRARIES - DIRECTX/PLATFORM SDK
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    54
--------------------------------------------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    55
Basically the same procedure as with the useful zip file, providing
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    56
you are not using the Microsoft installer. Put the include files in the
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    57
include\ directory and the library files to the Lib\ directory.
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    58
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    59
It is recommended to use custom directories so you don't overwrite any
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    60
default header or library files.
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    61
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    62
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    63
2.2) CUSTOM DIRECTORIES
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    64
-----------------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    65
If you have put the above include and/or library files into custom folders,
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    66
MSVC will not find them by default. You need to add these paths to VC through:
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    67
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    68
Tools > Options > Projects and Solutions > VC++ Directories > show directories for
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    69
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    70
	* Include files: Add the DirectX/Platform SDK include dir you've created
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    71
	* Library files: Add the path to the SDK custom lib dir
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    72
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    73
NOTE: make sure that the directory for the DirectX SDK is the first one in the
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    74
list, above all others, otherwise compilation will most likely fail!!
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    75
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    76
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    77
2.3) DEBUGGING - WORKING DIRECTORY (MSVC 2003 ONLY!)
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    78
----------------------------------------------------
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    79
The very first time you check out and compile OpenTTD with Visual Studio 2003, running
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    80
the binary will complain about missing files. You need to go into and change a setting
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    81
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    82
OpenTTD > Project > Properties > Configuration (All Configurations) > ...
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    83
 Configuration Properties > Debugging >
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    84
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    85
	* Working Directory: ..\bin
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    86
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    87
VS 2005 works out of the box because Microsoft allowed a user to supply a humanly-
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    88
readable defaults file (openttd_vs80.vcproj.user), whereas 2003 is braindead.
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    89
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    90
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    91
3) TTD GRAPHICS FILES
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    92
---------------------
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
    93
Copy the following files from Transport Tycoon Deluxe to the bin/data folder
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
    94
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    95
	* sample.cat
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    96
	* trg1r.grf
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    97
	* trgcr.grf
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    98
	* trghr.grf
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
    99
	* trgir.grf
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   100
	* trgtr.grf
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
   101
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
   102
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   103
4) COMPILING
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   104
------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   105
Open trunk/openttd[_vs80].sln
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   106
Set the build mode to 'Release' in
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   107
Build > Configuration manager > Active solution configuration > select "Release"
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
   108
Compile...
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
   109
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
   110
If everything works well the binary should be in trunk/objs/[Win32]/Release/openttd.exe
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
   111
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
   112
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   113
5) EDITING, CHANGING SOURCE CODE
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   114
--------------------------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   115
Set the build mode (back to) 'Debug'
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   116
Change the startup project to openttd by right-clicking the 'openttd' project
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   117
in the Solution Explorer and selecting 'Set as Startup Project'. The 'openttd'
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   118
project should now show up bold instead of 'strgen'.
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
   119
5489
54e5b9d2594a (svn r7773) -(r7759) Update MSVC documentation for (mainly) VS2003 users (needs special human intervention to work because MS decided to use some completely braindead user-datafile that you can't edit outside the development environment)
Darkvater
parents: 5408
diff changeset
   120
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   121
6) PROBLEMS?
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   122
------------
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   123
If compilation fails, double-check that you are using the latest SVN (!)
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   124
source. If it still doesn't work, check in on IRC (irc://irc.oftc.net/openttd),
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   125
to ask about reasons; or just wait. The problem will most likely solve itself
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   126
within a few days as the problem is noticed and fixed.
5355
195bce6def67 (svn r7527) -Update appropiate files with release information for 0.5.0-RC1
Darkvater
parents:
diff changeset
   127
5408
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   128
An up-to-date version of this README can be found on the wiki:
8cbe4c5e4a8b (svn r7605) -Update documentation of MSVC and strgen in docs/ dir and remove directmusic.txt
Darkvater
parents: 5355
diff changeset
   129
http://wiki.openttd.org/index.php/MicrosoftVisualCExpress