.:: 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 > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Problem Compiling in Visual C++
Old
  (#1)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Problem Compiling in Visual C++ - 20-06-2004

After all the problems I've had with the linux source, I'm trying it on Windows to see if I have similar problems. I set up everything according to directions in the other threads, but when I compile I get the following errors:

Compiling...
bot.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\bot.cpp(36) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_buycode.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\bot_buycode.cpp(35) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_client.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\bot_client.cpp(36) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_func.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\bot_func.cpp(36) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
bot_navigate.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\bot_navigate.cpp(36) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
ChatEngine.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\ChatEngine.cpp(41) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
dll.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\dll.cpp(35) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
engine.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\engine.cpp(35) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
game.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\game.cpp(35) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
IniParser.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\IniParser.cpp(40) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
NodeMachine.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\NodeMachine.cpp(42) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
util.cpp
D:\Program Files\Games\Steam\SteamApps\brett@brettbrewer.com\ counter-strike\RealBot\realbot_plugin\util.cpp(50) : fatal error C1083: Cannot open include file: 'dllapi.h': No such file or directory
Error executing cl.exe.
realbot_mm.dll - 12 error(s), 0 warning(s)

I can't find the dllapi.h file anywhere and I'm assuming it's a Microsoft include file. Any ideas?


Nowhere does science promise emancipation.
  
Reply With Quote
Re: Problem Compiling in Visual C++
Old
  (#2)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: Problem Compiling in Visual C++ - 20-06-2004

It is part of metamod. Try using the metamod sources.

Also, make sure you have the Half-life SDK (you need it, too).
  
Reply With Quote
Re: Problem Compiling in Visual C++
Old
  (#3)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Problem Compiling in Visual C++ - 20-06-2004

Ahhh...I gotcha. The instructions posted in the Visual Studio setup thread are slightly wrong then. If you use the "getstarted.zip" file and follow the directions, you need to set the metamod path in Visual Studio to be RealBot\metamod-1.17\metamod instead of RealBot\metamod-1.17\ or RealBot\metamod as the instructions suggest. Now I'm just getting the error:

WINDOWS.H already included. MFC apps must not #include <windows.h>

but based on other posts, I think I just need to rearrange the order of my include paths in the Visual Studio config to fix that.


Nowhere does science promise emancipation.
  
Reply With Quote
Re: Problem Compiling in Visual C++
Old
  (#4)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Problem Compiling in Visual C++ - 20-06-2004

Guess not. Can't seem to get rid of that last compiling error.


Nowhere does science promise emancipation.
  
Reply With Quote
Re: Problem Compiling in Visual C++
Old
  (#5)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Problem Compiling in Visual C++ - 20-06-2004

yeah, It solved the problem in this post http://forums.bots-united.com/showth...?t=1827&page=2
  
Reply With Quote
Re: Problem Compiling in Visual C++
Old
  (#6)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Problem Compiling in Visual C++ - 21-06-2004

:o Thanks. I thought I had tried that already, but I had missed one of the include files so only two of the three MS includes were below the realbot includes. I fixed it and it finally compiled. Yay! Now I don't feel like I wasted an entire Sunday.


Nowhere does science promise emancipation.
  
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 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com