.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Programming (http://forums.bots-united.com/forumdisplay.php?f=25)
-   -   Compile with dev-cpp? (http://forums.bots-united.com/showthread.php?t=538)

Cinic 27-01-2004 18:50

Compile with dev-cpp?
 
Just wondering if it is possible 2 compile a bot with the compiler: dev-cpp.

If u can then how?

I have tried 2 compile ivpbot but i get some errors.

Pierre-Marie Baty 27-01-2004 18:57

Re: Compile with dev-cpp?
 
I'm not sure whether you can do that on any other compiler than MSVC or GCC (or MinGW).

Anyway, perhaps you should post the errors you get and the lines of source code that are concerned, and we'll try to look that up...

Rick 27-01-2004 19:55

Re: Compile with dev-cpp?
 
its possible, I did it once(although I never tested if the dll actually works...). Some things it won't accept but MSVC does:
Code:

enum bleh; // for if the enum is somewhere else defined, you can't do this in dev cpp. You need to 'make' it right away

for (int i=0;i<4;i++) // with dev cpp you can't define vars in a for line

It doesnt know some of the pragmas used in the bot and will show youy warnings about it.

KaCaT 03-02-2004 16:41

Re: Compile with dev-cpp?
 
dev-cpp is just an IDE for MingW, I get HPB_Bot compiled with MingW and runs fine on my machine long time ago :P. Btw, source code of IvPBot never released, perhaps you are talking about the source code of Podbot that I modified to get it compiled with several compilers? If so, what errors do you get when you are trying to compile it?

dead bwoy 15-03-2004 00:42

Re: Compile with dev-cpp?
 
Im trying to compile a windows version of joebot with Dev-C++: Please see here:
http://forums.bots-united.com/showthread.php?t=1060


All times are GMT +2. The time now is 23:05.

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