Re: trouble compiling debug version 1.3.4 with VC++ express 2008

Stacey Pritchett <[email protected]>
Newsgroups gmane.games.torcs.general
Message-ID <CAMq1Cuh+_VafMoT77z1Hdb4v0PAKd_QTt9Tbg8ZZD5_QcGSs8w@mail.gmail.com>
Thank-you Scheurneus,

I had read in forums that I needed to replace 'afxres.h' with 'windows.h',
but I did not realise that I could open the torcs.rc file in a standard
text editor. Therefore, I finally tried following the instructions for the
VS2005 instead. Even though I was using VS2008, these instructions made it
work for me, but maybe I should try it your way to see if there is any
difference in the performance.

On a brighter note, since I got the program to compile correctly and after
some fiddling around, I have managed to add the little bit of extra code I
needed to record the car's position on the track and speed travelling
(along with a few other variables) as a human is controlling the car. Woo
hoo!, one step closer to getting this PhD project up and running :)

Regards, Stacey.


On Tue, Feb 12, 2013 at 10:42 PM, Quinten Kock <[email protected]>wrote:

> Hi Stacey,
>
> I had the same problem.
> Then I searched some forums, and found you must replace 'afxres.h' with
> 'windows.h'
> I had the problem I couldn't open the file 'torcs.rc'.
> So I picked a texteditor(I prefer notepad++, but that's up to you ;) ) and
> opened the file.
> It worked just fine.(altough I used 'release')
>
> Greetings, Scheurneus
>
> 2013/1/10 Stacey Pritchett <[email protected]>
>
>> Hi there,
>>
>> I am having trouble compiling the debug version of torcs1.3.4 using
>> visual c++ express 2008.
>>
>> I am receiving one error during the build, as shown here:
>>
>> 20>------ Build started: Project: wtorcs, Configuration: Debug Win32
>> ------
>> 20>Compiling...
>> 20>main.cpp
>> 19>driver.cpp
>> 20>windowsspec.cpp
>> 19>damned.cpp
>> 20>Generating Code...
>> 19>Generating Code...
>> 20>Compiling resources...
>> 19>Linking...
>> 20>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
>> 20>Copyright (C) Microsoft Corporation.  All rights reserved.
>> 19>   Creating library .\Debug/damned.lib and object .\Debug/damned.exp
>> 20>..\..\torcs.rc(10) : fatal error RC1015: cannot open include file
>> 'afxres.h'.
>> 20>Creating browse information file...
>> 19>Creating browse information file...
>> 20>Microsoft Browse Information Maintenance Utility Version 9.00.21022
>> 20>Copyright (C) Microsoft Corporation. All rights reserved.
>> 20>Build log was saved at
>> "file://c:\torcs2\torcs-1.3.4\src\windows\Debug\BuildLog.htm"
>> 20>wtorcs - 1 error(s), 0 warning(s)
>>
>>
>> when i do a search in my designated folder, i cant find a file
>> called afxres.h, and i have limited experience programming, so i am not
>> sure where to go to from here.
>>
>> can anybody help me please?
>> thank-you.
>>
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712
>> _______________________________________________
>> Torcs-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/torcs-users
>>
>>
>

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb

_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users
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.