IPB

Welcome Guest ( Log In | Register )

4 Pages V « < 2 3 4  
Reply to this topicStart new topic
> Compiling Rcbot - Linux
junktext
post Oct 8 2007, 04:21 PM
Post #61


Newbie
*

Group: Members
Posts: 7
Joined: 16-February 07
Member No.: 1,037



QUOTE(LordSkitch @ Oct 6 2007, 03:39 PM) *



Thanks man!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
scrow
post Jun 20 2008, 09:48 PM
Post #62


Newbie
*

Group: Members
Posts: 1
Joined: 20-June 08
Member No.: 1,368



compiling using the source for v1.441_B works under Linux with one modification.
CODE
tardus dlls # uname -a
Linux tardus 2.6.22-gentoo-r9 #1 SMP Sun Dec 16 12:29:58 CST 2007 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
tardus dlls # gcc --version
gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)

CODE
tardus ~ # wget http://rcbot.bots-united.com/downloads/rcbot_new/rcbot_src.zip
tardus ~ # mkdir rcbot_src
tardus ~ # cd rcbot_src
tardus rcbot_src # unzip ../rcbot_src.zip

CODE
tardus rcbot_src # cd dlls
tardus dlls # make -fmakefile_linux_mm
g++ -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -DRCBOT_META_BUILD -m486 -O2 -w -I../engine -I../common -I../pm_shared -c bits.cpp -o bits.o
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
g++ -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -DRCBOT_META_BUILD -m486 -O2 -w -I../engine -I../common -I../pm_shared -c bot.cpp -o bot.o
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
player.h:277: error: extra qualification 'CBasePlayer::' on member 'TabulateAmmo'
make: *** [bot.o] Error 1

googled for a solution; modified player.h:277 from this;
CODE
void CBasePlayer::TabulateAmmo( void );

to this;
CODE
void TabulateAmmo( void );

restarted compile and it completed successfully except the file copy...
CODE
tardus dlls # make -fmakefile_linux_mm
<snip>
g++ -fPIC -shared -o rcbot_mm_i486.so bits.o bot.o bot_client.o bot_commands.o bot_ga.o bot_menu.o bot_navigate.o bot_nn.o bot_rep.o bot_visibles.o bot_weapons.o client.o dir.o dll.o engine.o ga.o globals.o h_export.o linkfunc.o megahal.o netmessages.o perceptron.o rcbot_meta_api.o util.o waypoint.o -ldl -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
cp -f rcbot_mm_i486.so /home/paul/hlds_l/rcbot/dlls
cp: cannot create regular file `/home/paul/hlds_l/rcbot/dlls': No such file or directory
make: *** [rcbot_mm_i486.so] Error 1

tardus dlls # ls -l rcbot_mm_i486.so
-rwxrwx--- 1 root root 801401 Jun 20 16:36 rcbot_mm_i486.so

tried to upload the resulting file, but the "Global Space Left: 64k"
download metamod version v1.441_B here
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Weasel
post Feb 15 2011, 06:41 PM
Post #63


Member
**

Group: Members
Posts: 23
Joined: 14-January 09
From: California, USA
Member No.: 1,445



QUOTE(scrow @ Jun 20 2008, 01:48 PM) *

download metamod version v1.441_B here


That URL doesn't seem to work any more. Any chance for an updated link?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

4 Pages V « < 2 3 4
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 9th December 2019 - 04:55 PM