![]() |
Compiling Problem
Hi,when i try to compile the latest RACC Source,i get the following errors:
Code:
--------------------Configuration: cstrike - Win32 Release-------------------- After I installed the Patched SDK,i get this: Code:
--------------------Configuration: cstrike - Win32 Release-------------------- |
Re: Compiling Problem
|
Re: Compiling Problem
The source code you're trying to compile is certainly very outdated. Get this one instead :
http://filebase.bots-united.com/inde...on=file&id=291 it's only a few months old. The one you have is MUCH older (spring 2004, I bet). *edit* I will probably post an updated version in a few days (weeks?), as I've made some progress in the navigation recently. |
Re: Compiling Problem
Ah,thanks Guyz.
I will try soon. (If i find MS VC++ Again XD ) |
Re: Compiling Problem
Hmm...it compiles now many files but on interface.cpp (i think) i get this error again:
c:\programme\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include |
Re: Compiling Problem
You must not link it against the MFC libraries. It is not a MFC application. Change your project settings and tell it to compile a standalone, barebones Win32 DLL. Depending on the compiler you're using, the fix is different.
|
Re: Compiling Problem
But when i remove the MFC Includes,it asks for afxwin.h
EDIT#1:Now it does somethin´ weird: *REMOVED* EDIT#2:OMG,it worked...i will try... *happy* EDIT#3:Grr...Counter-Strike crashes,when i try to start a game... I tried it with and without metamod. |
Re: Compiling Problem
|
Re: Compiling Problem
Yes, that's it.
|
Re: Compiling Problem
The problem still there
|
Re: Compiling Problem
What's the compiler output ?
|
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>
|
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. |
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 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 |
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 16:23. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.