IPB

Welcome Guest ( Log In | Register )

> Compiling Rcbot - Linux
Venom
post Dec 6 2006, 09:50 PM
Post #1


Advanced Member
***

Group: Members
Posts: 82
Joined: 24-July 06
Member No.: 807



Hello,
I am having problems setting up the g++ compiler under linux and the g++ compiler for Windows wasnt much help either. I understand fully how to compile under Visual Studio but having little experience of Linux in general, i am not sure how to setup the compiler in order to compile the code.

If someone would be so kind as to provide me with so guideance i would be very greatful.

Venom
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
LordSkitch
post Dec 7 2006, 01:31 AM
Post #2


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



under gentoo, and possibly others cause i dont use anything but gentoo...


cd /pathto/rcbot/dlls
make -f makefile_linux
or
make -f makefile_linux_mm

i just tried to compile rcbot on my linux system and i got several errors, youll have to diddle the code a bit.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Venom
post Dec 7 2006, 08:08 AM
Post #3


Advanced Member
***

Group: Members
Posts: 82
Joined: 24-July 06
Member No.: 807



QUOTE(LordSkitch @ Dec 7 2006, 01:31 AM) *

under gentoo, and possibly others cause i dont use anything but gentoo...
cd /pathto/rcbot/dlls
make -f makefile_linux
or
make -f makefile_linux_mm

i just tried to compile rcbot on my linux system and i got several errors, youll have to diddle the code a bit.


Do you mind helping me with the linux compiling?

As i have a dedicated server with 100mbit connection now but the server runs Linux which is something i am not use too and as i enjoy developing areas of rcbot, i would like to understand how to develop and compile in both VS (which i know already) and Linux (which i know very little about).

If you could help me sort out the errors i would be be very greatful smile.gif

I am downloading Gentoo now, i will then download the latest source and attempt to compile it using the the command you gave me, then i will have a look at the errors, but having never worked with linux, i dont think i will be able to fix them without your help.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LordSkitch
post Dec 7 2006, 08:28 AM
Post #4


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



QUOTE(Venom @ Dec 7 2006, 02:08 AM) *

Do you mind helping me with the linux compiling?

As i have a dedicated server with 100mbit connection now but the server runs Linux which is something i am not use too and as i enjoy developing areas of rcbot, i would like to understand how to develop and compile in both VS (which i know already) and Linux (which i know very little about).

If you could help me sort out the errors i would be be very greatful smile.gif

I am downloading Gentoo now, i will then download the latest source and attempt to compile it using the the command you gave me, then i will have a look at the errors, but having never worked with linux, i dont think i will be able to fix them without your help.



gentoo may not be the one to start out with... i made that mistake, but it turned out somewhat good cause it does what i need without doing extra stupid crap. when you go to use it, its got no GUI and stuff, you have to download and compile KDE or gnome if you want those. you just get the shell, which is delicious for servers, cause you dont need the overhead of the GUI. but if you know enough linux to get it going, sure ill help out where i can. most of my coding on linux has been for hardware interaction though, not crazy bots with AI and such... but I've edited the code under windows, cause... i like windows and use it for my game/web servers.


and i want a damn 100mbit connection lol
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Venom
post Dec 7 2006, 09:26 AM
Post #5


Advanced Member
***

Group: Members
Posts: 82
Joined: 24-July 06
Member No.: 807



The operating system which came with my server was: Fedora Core 4

Its very similar to gentoo it seems so i think i will stay with Fedora Core for the moment as i cannot see any special difference between the two other than the theme.

I have downloaded the source code onto the server, if you could guide me as to what programs i need install in order to compile them and what code to add i would be very greatful.

I work on RCbot from the multiple mode side of it, i have currently got (i havnt shared the source yet, bad off me sad.gif ) Marine Vs Marine and Alien vs Alien working for Windows which it didnt support before. I have started to continue development on adding another extra feature which you will love if you have an NS server smile.gif

But as mentioned before, Linux seems alot harder to compile stuff under compared with Visual Studio, with Visual Studio you just load the worksheet, edit some code, then compile the rcbot_mm.dll (i perfer mm smile.gif ), linux on the other hand, doesnt seem to have an installer as such for applications, you just kinda put them into a directory or something is my understanding of it.

But if you could help me compile source under Linux, myself and others would be very greatful as i have made some changes to the RCbot.

Thanks
Venom

UPDATE: I managed to find the development tools needed to compile RCbot with, the annoying thing is that the server wont install those packages lol.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
Venom   Compiling Rcbot - Linux   Dec 6 2006, 09:50 PM
LordSkitch   under gentoo, and possibly others cause i dont use...   Dec 7 2006, 01:31 AM
Venom   under gentoo, and possibly others cause i dont us...   Dec 7 2006, 08:08 AM
LordSkitch   Do you mind helping me with the linux compiling? ...   Dec 7 2006, 08:28 AM
Venom   The operating system which came with my server was...   Dec 7 2006, 09:26 AM
LordSkitch   gentoo comes with gcc, the only thing i had to ins...   Dec 7 2006, 11:01 AM
Venom   OK, g++ is installed correctly now i hope. But wh...   Dec 7 2006, 03:03 PM
LordSkitch   lol im sure i could with enough time, most of them...   Dec 7 2006, 11:32 PM
Venom   Just wondering, if you have managed to fix the bug...   Dec 8 2006, 08:06 AM
Cheeseh   ive uploaded a new source + try these makefiles: ...   Dec 8 2006, 04:15 PM
Venom   ive uploaded a new source + try these makefiles: ...   Dec 8 2006, 06:10 PM
LordSkitch   the linux compile fails because linux and windows ...   Dec 8 2006, 06:19 PM
Venom   well the new makefile for mm has a problem on line...   Dec 8 2006, 06:25 PM
Cheeseh   i attached the make files this time, it was a prob...   Dec 8 2006, 09:46 PM
Venom   Im sorry i dont see anything attached to either po...   Dec 8 2006, 11:09 PM
Cheeseh   Im sorry i dont see anything attached to either p...   Dec 9 2006, 01:20 AM
Venom   Thanks for the make files. It didnt make a differ...   Dec 9 2006, 07:58 AM
LordSkitch   he doesnt have a linux system, im downloading the ...   Dec 9 2006, 08:28 AM
Venom   Yeah thats similar to what i get, but if Cheeseh o...   Dec 9 2006, 09:23 AM
LordSkitch   i diddled the makefile and put in -I../dlls to see...   Dec 9 2006, 10:27 AM
Cheeseh   actually thats not the right source I gave you, I ...   Dec 9 2006, 02:49 PM
Venom   cool thanks :) thank for helping :) Just wonderi...   Dec 9 2006, 11:01 AM
LordSkitch   NS all the way. i host the worlds most EVIL NS ser...   Dec 9 2006, 11:42 AM
Venom   Yeah, i managed to code both MvM and AvA player mo...   Dec 9 2006, 02:22 PM
LordSkitch   lol well if you understand most of it, redo the cy...   Dec 9 2006, 02:44 PM
Venom   Its not working for me, i guess i must be doing so...   Dec 9 2006, 03:18 PM
Cheeseh   Its not working for me, i guess i must be doing s...   Dec 9 2006, 04:31 PM
Venom   Auto detecting CPU Using AMD-Opteron (64 bit...   Dec 9 2006, 05:19 PM
Cheeseh   yeah says rcbot_i386.so in your quote, should be r...   Dec 9 2006, 10:12 PM
LordSkitch   im compiling it now to see what it does, i did get...   Dec 9 2006, 11:56 PM
Venom   thanks LordSkitch, i will test it now and let you ...   Dec 10 2006, 12:05 AM
LordSkitch   you need your liblist.gam's "gamedll_linu...   Dec 10 2006, 06:14 AM
Venom   im using the 64bit version of metamod gamedll_lin...   Dec 10 2006, 10:19 AM
LordSkitch   post your liblist.gam and your metamod.ini files o...   Dec 10 2006, 07:46 PM
Venom   post your liblist.gam and your metamod.ini files ...   Jan 11 2007, 03:43 PM
Venom   OK, RCbot refueses to load and crashes the server ...   Jan 15 2007, 08:31 AM
LordSkitch   does it give you an error?   Jan 15 2007, 09:29 AM
Venom   RCbot doesnt seem to error, but the hlds crashes w...   Jan 15 2007, 09:48 AM
Cheeseh   use the -debug command, the debug logs are usually...   Jan 15 2007, 04:59 PM
Venom   I do use the -debug but there is nothing in the fi...   Jan 15 2007, 07:26 PM
LordSkitch   try this... http://www.joesucks.net/files/rcbot/...   Jan 17 2007, 11:05 AM
Venom   OMG it worked, i am actually running RCbot on Linu...   Jan 19 2007, 10:22 AM
LordSkitch   i compiled using the latest source cheeseh put up ...   Jan 20 2007, 03:08 AM
junktext   i compiled using the latest source cheeseh put up...   Oct 6 2007, 07:01 PM
Venom   [root@www dlls]$ make -fmakefile_linux_mm g++...   Jan 20 2007, 05:32 PM
LordSkitch   make sure you have the latest source from the file...   Jan 20 2007, 11:24 PM
Venom   I have the latest source i think, i am using the s...   Jan 21 2007, 12:41 PM
IHQ-Reima[DWMH]   When I changed to Linux I kept the hierarchy the s...   Jan 28 2007, 12:45 PM
LordSkitch   whats your bot_users.ini file look like?   Jan 28 2007, 07:58 PM
Cheeseh   whats your bot_users.ini file look like? also m...   Jan 28 2007, 08:36 PM
IHQ-Reima[DWMH]   also make sure its in the correct folder, the bot...   Jan 29 2007, 07:08 AM
LordSkitch   http://www.the-coming.com/images/peeingonlinux.jpg   Jan 29 2007, 03:03 PM
Venom   lol nice picture LordSkitch :P I deleted both ...   Feb 1 2007, 10:23 AM
LordSkitch   what do the errors say again?   Feb 1 2007, 02:35 PM
Cheeseh   If you mean GetClientRep(), they are not errors ...   Feb 1 2007, 04:59 PM
Venom   [root@www dlls]$ make -fmakefile_linux_mm g++...   Feb 2 2007, 09:24 AM
Cheeseh   that compiler is freakin pedantic!! // ...   Feb 2 2007, 04:16 PM
Venom   OK so we now hopefully know its not a problem with...   Feb 15 2007, 06:15 PM
Cheeseh   OK so we now hopefully know its not a problem wit...   Feb 15 2007, 06:34 PM
LordSkitch   http://rcbot.bots-united.com/forums/index....post...   Oct 6 2007, 07:39 PM
junktext   http://rcbot.bots-united.com/forums/index....post...   Oct 8 2007, 04:21 PM
scrow   compiling using the source for v1.441_B works unde...   Jun 20 2008, 09:48 PM
Weasel   download metamod version v1.441_B here That URL...   Feb 15 2011, 06:41 PM


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: 15th June 2025 - 12:36 AM