.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > RACC
RACC Autonomous fragmachines by PMB Counter-StrikeDMCHLDMThe Specialists

Reply
 
Thread Tools
Compiling Problem
Old
  (#1)
Vradash
Member
 
Vradash's Avatar
 
Status: Offline
Posts: 7
Join Date: Jan 2005
Location: Germany
Default Compiling Problem - 17-04-2005

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)

Last edited by Vradash; 17-04-2005 at 19:53..
  
Reply With Quote
Re: Compiling Problem
Old
  (#2)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: Compiling Problem - 17-04-2005

you'll need the metamod source too
http://www.metamod.org/
it's a metamod plugin now
  
Reply With Quote
Re: Compiling Problem
Old
  (#3)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Compiling Problem - 18-04-2005

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 18-04-2005 at 00:57..
  
Reply With Quote
Re: Compiling Problem
Old
  (#4)
Vradash
Member
 
Vradash's Avatar
 
Status: Offline
Posts: 7
Join Date: Jan 2005
Location: Germany
Default Re: Compiling Problem - 18-04-2005

Ah,thanks Guyz.
I will try soon. (If i find MS VC++ Again XD )
  
Reply With Quote
Re: Compiling Problem
Old
  (#5)
Vradash
Member
 
Vradash's Avatar
 
Status: Offline
Posts: 7
Join Date: Jan 2005
Location: Germany
Default Re: Compiling Problem - 21-04-2005

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
  
Reply With Quote
Re: Compiling Problem
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Compiling Problem - 22-04-2005

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Compiling Problem
Old
  (#7)
Vradash
Member
 
Vradash's Avatar
 
Status: Offline
Posts: 7
Join Date: Jan 2005
Location: Germany
Default Re: Compiling Problem - 22-04-2005

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.

Last edited by Vradash; 22-04-2005 at 19:17..
  
Reply With Quote
Re: Compiling Problem
Old
  (#8)
Rifleman
This user broke our rules and has been BANNED
 
Status: Offline
Posts: 128
Join Date: Sep 2004
Location: Mars
Default Re: Compiling Problem - 30-04-2005

Hmm.... Does you mean this ? About mfc unlinking ?
  
Reply With Quote
Re: Compiling Problem
Old
  (#9)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Compiling Problem - 30-04-2005

Yes, that's it.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Compiling Problem
Old
  (#10)
Rifleman
This user broke our rules and has been BANNED
 
Status: Offline
Posts: 128
Join Date: Sep 2004
Location: Mars
Default Re: Compiling Problem - 30-04-2005

The problem still there
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com