.:: 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)

Vradash 17-04-2005 19:46

Compiling Problem
 
Hi,when i try to compile the latest RACC Source,i get the following errors:
Code:

--------------------Configuration: cstrike - Win32 Release--------------------
Compiling...
bmpfile.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
dxffile.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
mapdata.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
pathmachine.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
client.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
interface.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
console.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
display.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
lrand.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
math.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
mfile.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
util.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_body.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_chat.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_cognition.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_combat.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_ears.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_eyes.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_navigation.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_start.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
weapons.cpp
c:\racc\release\common\racc.h(359) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
Error executing cl.exe.

racc.dll - 22 error(s), 0 warning(s)

I set every Multiplayer Directory of the SDK as Include Source.

After I installed the Patched SDK,i get this:
Code:

--------------------Configuration: cstrike - Win32 Release--------------------
Compiling...
bmpfile.cpp
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 <windows.h>
bot.cpp
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 <windows.h>
bot_body.cpp
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 <windows.h>
bot_chat.cpp
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 <windows.h>
bot_client.cpp
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 <windows.h>
bot_combat.cpp
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 <windows.h>
bot_ears.cpp
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 <windows.h>
bot_eyes.cpp
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 <windows.h>
bot_navigation.cpp
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 <windows.h>
bot_start.cpp
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 <windows.h>
dll.cpp
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 <windows.h>
dxffile.cpp
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 <windows.h>
engine.cpp
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 <windows.h>
linkfunc.cpp
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 <windows.h>
mapdata.cpp
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 <windows.h>
mfile.cpp
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 <windows.h>
pathmachine.cpp
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 <windows.h>
util.cpp
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 <windows.h>
Error executing cl.exe.

racc.dll - 18 error(s), 0 warning(s)


sPlOrYgOn 17-04-2005 20:30

Re: Compiling Problem
 
you'll need the metamod source too
http://www.metamod.org/
it's a metamod plugin now

Pierre-Marie Baty 18-04-2005 00:55

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.

Vradash 18-04-2005 20:45

Re: Compiling Problem
 
Ah,thanks Guyz.
I will try soon. (If i find MS VC++ Again XD )

Vradash 21-04-2005 18:45

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

Pierre-Marie Baty 22-04-2005 04:39

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.

Vradash 22-04-2005 15:35

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.

Rifleman 30-04-2005 03:20

Re: Compiling Problem
 
Hmm.... Does you mean this ? About mfc unlinking ?
http://img19.echo.cx/img19/4695/mfc1il.th.gif

Pierre-Marie Baty 30-04-2005 20:09

Re: Compiling Problem
 
Yes, that's it.

Rifleman 30-04-2005 20:48

Re: Compiling Problem
 
The problem still there


All times are GMT +2. The time now is 12:56.

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