type cast commited in CVS

Eric Espie <[email protected]>
Newsgroups gmane.games.torcs.devel
Message-ID <[email protected]>
Hi all,

I committed some modifications to have the code compile with VC++ 2005 
Express.
The project files need also modifications but I'm not sure of what files 
to commit.

I have added a README.VC2005Express file explaining the process :

In order to compile with VC++2005 express you will need to do some 
modifications in the project.

First don't forget to run the files :

setup_win32.bat
setup_win32-data-from-CVS.bat

PRIOR to anything else.

Then open the TORCS.dsw file with VC++ and do the fllowing changes :

1. Select "Release" instead of "Debug" as a configuration.

2. in wtorcs -> Source Files (Solution explorer) exclude torcs.rc

3. in client -> Source Files add the file errno.cpp to the solution 
(located in src/libs/client)

4. change in the properties of all the sub-projects :
    in "Configuration Properties -> Link Editor -> Entry : Ignore 
Specific Library"
    change LIBCD in LIBC if present.

Compile.


Note: If anyone knows how to make torcs.rc file to work (missing 
afxres.h) I would be glad to know about,
because without this file the executable don't have the TORCS icon :-(

Note 2: the default quick race is not working, robots suspensions need 
tuning.

Have fun,
Eric.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.