.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   Building podbot (http://forums.bots-united.com/showthread.php?t=5702)

Austin 13-09-2006 23:41

Building podbot
 
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

[NvT]_KaszpiR_ 14-09-2006 01:41

Re: Building podbot
 
i cross compile it under gentoo with g++ / migw c++

under windows try mingw or cygwin

Austin 14-09-2006 10:29

Re: Building podbot
 
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.

KWo 14-09-2006 14:31

Re: Building podbot
 
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).

KWo 14-09-2006 14:33

Re: Building podbot
 
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.

Austin 14-09-2006 22:02

Re: Building podbot
 
Quote:

Originally Posted by KWo (Post 51596)
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!

KWo 15-09-2006 09:09

Re: Building podbot
 
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.


All times are GMT +2. The time now is 22:18.

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