.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   E[POD]bot (http://forums.bots-united.com/forumdisplay.php?f=12)
-   -   Source (http://forums.bots-united.com/showthread.php?t=5016)

PWNZ 07-03-2006 04:50

Source
 
Can i know how to pack the source using dev c++ :). I load the EPB dev file and pack it, after that this message appear "cc1plus.exe unrecognized command line option "-fsave-memoized"
Makefile.win [Build Error] [bot.o] Error 1

The Storm 07-03-2006 19:07

Re: Source
 
The Dev C++ project file is really outdated and I had never used Dev C++. If I remeber correct Whistler had made this project file before a long time so maybe you can ask him for help. :)

PWNZ 08-03-2006 16:23

Re: Source
 
erm can i know what you use to pack the source file. :)

PWNZ 09-03-2006 09:38

Re: Source
 
Now i found its working when i compile using dev CPP:clap: . But there is many different between the real dll. I found something like red line moving when the bot walking and string texts wrote E[POD]unknown = glock ...etc.

Whistler 09-03-2006 10:16

Re: Source
 
try removing the defination of _DEBUG in the project options. But I currently don't have access to a windows box so don't know where it exactly is, just do a search.

PWNZ 10-03-2006 14:55

Re: Source
 
There is many _debug string and i'm confused ToT. Maybe there is something that i can change to turn it off or on.

This is for example:
http://www.uploadtemple.com/thumb/1141998671.jpg

The Storm 10-03-2006 18:42

Re: Source
 
In MSVC and GCC there is function to disable the debug flags but I don't know for DEV C++. So to remove that comment out or delete all the lines that start in this way
Code:

#IFDEF _DEBUG
// some code....
#ENDIF


Whistler 11-03-2006 05:32

Re: Source
 
there is no need to remove any of them, just don't define it in the project options.

PWNZ 11-03-2006 08:02

Re: Source
 
1.Ok i already try removed all this types of code as Storm said

Code:

#IFDEF _DEBUG
// some code....
#ENDIF

the result is i get this error and it stop at namefunc.cpp. before this it stuck at bot_ai.cpp:cowboy: and i think this is better.

Error:
Code:

  [Linker error] undefined reference to `dispatchDebugCommand(edict_s*, std::string&, char*, char*, char*, char*, bool)'
ld returned 1 exit status
[Build Error]  [EPB_i686.dll] Error 1

2.I don't understand what,where and which is the option that linked to the _debug .etc.

3. Storm, are you using linux or windows?

Whistler 11-03-2006 10:29

Re: Source
 
no idea about this one, itseems THE_STORM has changed a lotto the POD-Bot source code and this dispatchDebugCommand thing didn't exist. But you can try to remove all the calls to dispatchDebugCommand.

Quote:

3. Storm, are you using linux or windows?
I'm sure he is using Windows and MSVC ;)


All times are GMT +2. The time now is 08:45.

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