![]() |
![]() |
Cheeseh |
![]()
Post
#1
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
rcbot source
http://rcbot.bots-united.com/files.htm#rcbotsrc |
![]() ![]() |
billcat |
![]()
Post
#2
|
Member ![]() ![]() Group: Members Posts: 24 Joined: 6-October 03 Member No.: 65 ![]() |
Hello,
I'm trying to get a linux build of the source working. Few questions about the intended build arch.. Which version of GCC are you using to build the rcbot source? EDIT: Reading the readme again I noticed I missed the egcs-2.91.66 section. 3.2.x is pretty much required for kernel compiles in this day and age. Would it be possible to get the build working for gcc 3.2? Are there any other files required to get the rcbot built or is everything included? It seems like all I'd need is there but the build instructions in ReadMe.txt aren't working. Really good essay on hl mod coding in there btw. I'm gonna have to re-read that part soon. Here is the build output from my slackware linux box: make -fmakefile_linux_sa g++ -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -m486 -O2 -w -I../engine -I../common -I../pm_shared -c bot.cpp -o bot.o `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead. In file included from cbase.h:667, from bot.cpp:56: basemonster.h:57: ISO C++ forbids declaration of `Schedule_t' with no type basemonster.h:63: ISO C++ forbids declaration of `Task_t' with no type basemonster.h:64: ISO C++ forbids declaration of `CPathMonsterGoal' with no type In file included from bot.h:57, from bot.cpp:59: generic_class.h:838: ISO C++ forbids declaration of `Size' with no type I attempted to replace -m486 with -march=i486 in the makefile but this didn't seem to have much impact. The larger issues being the typedefs without a type. uname -a Linux suitcase 2.4.29 #3 Thu Mar 10 00:13:56 PST 2005 i686 unknown gcc -v Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 3.2.3 Do I need to upgrade or downgrade my gcc to get this working, or am I just missing something here? Thanks, -Billcat |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 14th June 2025 - 11:58 PM |