.:: 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 > POD-Bot mm > Releases, Installers, Docs & Coding
Releases, Installers, Docs & Coding Where the official development happens

Reply
 
Thread Tools
Building podbot
Old
  (#1)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Building podbot - 14-09-2006

I downloaded the PODBot mm SDk from the file base and have everything setup correctly with all of the include paths.
When I build I get this error.

bot.cpp
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>


It is as if the project thinks it needs MFC but none of the setting in the project file tell it this. In fact the project says specifically to not include MFC.

Anyone run into this and know why the default build of the PODBot mm SDk fails?

I have replaced the podbot source files with the ones from podbot_mm_src_v3B15.zip.
And I am building with vc6.0


tx

Last edited by Austin; 14-09-2006 at 02:02..
  
Reply With Quote
Re: Building podbot
Old
  (#2)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: Building podbot - 14-09-2006

i cross compile it under gentoo with g++ / migw c++

under windows try mingw or cygwin
  
Reply With Quote
Re: Building podbot
Old
  (#3)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Re: Building podbot - 14-09-2006

Well I have it building now using VC6.0 and the metamod 1.19 sources.
Runs fine on my server.
The project file included with the pod sdk needs to be updated.
It has several problems as it is. Obviously no one is using vc6.0 and this project file to build pod. I want to add a debug build and clean up a few other things. If anyone is interested I will post the new files.

Some remaining questions.
1) Why is pmtools_plugin included with the pod sdk?
It is not need to build pod.

2) What is makres?
The pod project has this step in it.
makeres -d"metamod plugin" podbot_mm.rc

Wow, this is cool! The first feature I want to add is to support a
cvar similar to the cz bot_quota_match and user defined menus.
  
Reply With Quote
Re: Building podbot
Old
  (#4)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Building podbot - 14-09-2006

First off - stop using the old SDK from filebase. Read this topic to get all tools working. I'm using also M$ Visual 2000 Express - if You want, I can give You the project files, but they are about 7MB, so I may need to send it to You by email rather. Especially they need to be updated (to include some new *.h and new .cpp I have since 2 months, but because since 3 months I'm not using M$ Visual 2000 Express - I'm out of my country - I haven't updated them - I don't have this tool on my notebook).
  
Reply With Quote
Re: Building podbot
Old
  (#5)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Building podbot - 14-09-2006

Quote:
Originally Posted by Austin
2) What is makres?
The pod project has this step in it.
makeres -d"metamod plugin" podbot_mm.rc
It updates the podbot_mm.rc file, which lets You see the date of the creation and product version of the file.
  
Reply With Quote
Re: Building podbot
Old
  (#6)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Re: Building podbot - 14-09-2006

Quote:
Originally Posted by KWo View Post
First off - stop using the old SDK from filebase.
Well, by having that file there we are misleading people into thinking it is ok and all setup to go. If I had known it wasn't I would not have spent any time trying to use it. I could have created a clean project from scratch in the time I spent fixing the one that is in there.

So I will
1) use the latest mm 1.19 and hl sdk from the mm site.
2) get your latest sources.
3) Create a from scratch project in vc60 including a DEBUG build so I can run the DS in DEBUG mode and actually place breakpoints and step through the code.

If anyone is interested I can put an updated all in one pod bot sdk that will actually build out of the box with vc6.0 and include what ever other make files you want to include.

Ok, so where do I get makeres?
I could not find it in the filebase.
Thanks!
  
Reply With Quote
Re: Building podbot
Old
  (#7)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Building podbot - 15-09-2006

Quote:
Originally Posted by Austin
If anyone is interested I can put an updated all in one pod bot sdk that will actually build out of the box with vc6.0 and include what ever other make files you want to include.
Don't call it All-In-One, because that name is already reserved by something else. It may confuse the people.

Quote:
Originally Posted by Austin
Ok, so where do I get makeres?
I could not find it in the filebase.
You haven't look carefully... Try here.

Example of batch to call it:
Code:
makeres -d"MetaMod Plugin" -i"Podbot mm" -o"podbot_mm.dll" -p"3.0 Build 15c" -n"Podbot mm" -s"3.0 Build 15c" podbot_mm.rc
When I'll be at home I can save the current project I have in M# Visual 2000 Express as VC6, I think. In the meantime You can try to use mingw and my method - with this I can help if necessary.
  
Reply With Quote
Reply


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

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