.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   RACC (http://forums.bots-united.com/forumdisplay.php?f=11)
-   -   Compiling Problem (http://forums.bots-united.com/showthread.php?t=3863)

Pierre-Marie Baty 01-05-2005 06:48

Re: Compiling Problem
 
What's the compiler output ?

Rifleman 01-05-2005 10:53

Re: Compiling Problem
 
c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>

Pierre-Marie Baty 01-05-2005 20:07

Re: Compiling Problem
 
I think you forgot to undefine AFX and MFC in the C/C++ tab.

Anyway, if you use the .dsw/.dsp files I provide, there should not be any compiling problem.

leandrotsampa 06-02-2010 20:08

Re: Compiling Problem
 
My problem has also ai I packed as follows:
I was in Project> Settings

In tab C / C + + Project Options
replace all of:

Code:

/nologo /G6 /MT /W3 /WX /GX /ZI /Od /I "..\common" /I "../../../devtools/sdk/Single-Player Source/cl_dll" /I "../../../devtools/sdk/Single-Player Source/common" /I "../../../devtools/sdk/Single-Player Source/dlls" /I "../../../devtools/sdk/Single-Player Source/engine" /I "../../../devtools/sdk/Single-Player Source/game_shared" /I "../../../devtools/sdk/Single-Player Source/pm_shared" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "RACC" /D "ASHEEP_DLL" /Fr".\Release/" /Fp"./Release/racc.pch" /YX /Fo".\Release/" /Fd".\Release/" /FD /c
to

Code:

/nologo /G6 /MT /W3 /WX /GX /ZI /Od /I "..\common" /I "..\devtools\sdk\Single-Player Source\cl_dll" /I "..\devtools\sdk\Single-Player Source\common" /I "..\devtools\sdk\Single-Player Source\dlls" /I "..\devtools\sdk\Single-Player Source\engine" /I "..\devtools\sdk\Single-Player Source\game_shared" /I "..\devtools\sdk\Single-Player Source\pm_shared" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "RACC" /D "ASHEEP_DLL" /Fr".\Release/" /Fp"./Release/racc.pch" /YX /Fo".\Release/" /Fd".\Release/" /FD /c
That's how I packed and compile conssegui RACC Template 2

leandrotsampa 06-02-2010 20:19

Re: Compiling Problem
 
If you need to modify the code ready to compile without errors occur just tell me.
Att


All times are GMT +2. The time now is 14:17.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.