IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Linux Support?
djdomi
post Jan 6 2006, 05:56 PM
Post #1


Newbie
*

Group: Members
Posts: 2
Joined: 6-January 06
Member No.: 674



Hi

I would ask about the linux support, because im setup atm a server and want run as alien and not only play myself as marine vs bot aliens

will be there a release or will it stopped and only now for win?


thx
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jan 6 2006, 07:30 PM
Post #2


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



discussed many times, there are only windows versions of the latest beta at the moment, I dont have access to a linux machine right now.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
djdomi
post Jan 30 2006, 04:11 PM
Post #3


Newbie
*

Group: Members
Posts: 2
Joined: 6-January 06
Member No.: 674



and if i give you access to a shell, would it help?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jan 30 2006, 05:52 PM
Post #4


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



I already have access to a shell, just I don't know if it has the correct C libraries and don't know what build it is either, since I haven't tried it yet.

It is advised for linux users to download the source and build their own to be compatible with their own build of linux, but some have said there exist errors in building with linux right now, I'll deal with those sometime unless those that build it themselves can correct them.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
billcat
post Feb 23 2006, 11:49 PM
Post #5


Member
**

Group: Members
Posts: 24
Joined: 6-October 03
Member No.: 65



ok,

I downloaded the source on my slackware hlds box. gcc version 3.3.6 and egcs-2.91.66

as I try to compile I get the following errors:

make -fmakefile_linux_sa
g++ -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -mcpu=i486 -O2 -w -I. -I../engine -I../common -I../pm_shared -fpermissive -c bot.cpp -o bot.o
In file included from bot.h:60,
from bot.cpp:59:
generic_class.h: In member function `T* dataStack<T>::ChoosePointerFromStack()
[with T = weapon_preset_t]':
bot_weapons.h:378: instantiated from here
generic_class.h:717: error: `BugMessage' undeclared (first use this function)
generic_class.h:717: error: (Each undeclared identifier is reported only once
for each function it appears in.)
In file included from bot.cpp:59:
bot.h: At global scope:
bot.h:116: error: `void BugMessage(edict_t*, char*, ...)' used prior to
declaration
make: *** [bot.o] Error 1

I'm willing to download any other sources needed to get this built. Since it looks like whichbot project is inactive I'm more than willing to do whatever it takes to get this built and help support the linux builds if needed.

Thanks,

-Billcat
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Feb 24 2006, 11:21 AM
Post #6


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



I'd just add another prototype for BugMessage in generic_class.h (prototype found in bot.h : void BugMessage (edict_t *pEntity, char *fmt, ...) )

and move the Weapon Preset functions to the bot_weapons.cpp
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
billcat
post Feb 24 2006, 05:42 PM
Post #7


Member
**

Group: Members
Posts: 24
Joined: 6-October 03
Member No.: 65



since I didn't really require debug messages I commented out everything related to bugmessage. This cleared these build messages.

now I get the following:

root@suitcase:/raid/transfer/rcbot/dlls# make -fmakefile_linux_sa
g++ -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -mcpu=i486 -O2 -w -I. -I../engine -I../common -I../pm_shared -fpermissive -c bot.cpp -o bot.o
g++ -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -mcpu=i486 -O2 -w -I. -I../engine -I../common -I../pm_shared -fpermissive -c bot_client.cpp -o bot_client.o
generic_class.h: In member function `void
dataUnconstArray<T>::RemoveByPointer(T*) [with T = TSObjective]':
bot_client.cpp:409: instantiated from here
generic_class.h:976: error: no matching function for call to `
std::vector<TSObjective, std::allocator<TSObjective> >::erase(TSObjective*&)
'
/usr/local/include/c++/3.3.6/bits/vector.tcc:105: error: candidates are:
__gnu_cxx::__normal_iterator<_Tp*, std::vector<_Tp, _Alloc> >
std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<_Tp*,
std::vector<_Tp, _Alloc> >) [with _Tp = TSObjective, _Alloc =
std::allocator<TSObjective>]
/usr/local/include/c++/3.3.6/bits/vector.tcc:117: error:
__gnu_cxx::__normal_iterator<_Tp*, std::vector<_Tp, _Alloc> >
std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<_Tp*,
std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<_Tp*,
std::vector<_Tp, _Alloc> >) [with _Tp = TSObjective, _Alloc =
std::allocator<TSObjective>]
make: *** [bot_client.o] Error 1


I saw something about getting a differing vector file, unsure what needs to be done here. It seems like the syntax of the std::vector call doesn't match quite right, but I'm guessing..
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Feb 25 2006, 11:57 AM
Post #8


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



can't remember what linux uses for the STL stuff, might need to do some 'research' on your own right now before i have a look at it.. it looks as though its complaining for that particular vector only though, perhaps moving the stuff to the CPP file and decalre them only in the H file, it is a bad code design I have in that bot (I do it much better in rcbot2, all declarations in H files, all code in CPP files except inline functions)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 4th November 2024 - 01:14 AM