![]() |
![]() |
Venom |
![]()
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 |
![]() ![]() |
Venom |
![]()
Post
#2
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 82 Joined: 24-July 06 Member No.: 807 ![]() |
Yeah thats similar to what i get, but if Cheeseh or someone else is able to get *.so files and to get it to compile right, then why dont we have a working Linux release?
|
LordSkitch |
![]()
Post
#3
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
i diddled the makefile and put in -I../dlls to see if i could clear some of the "file not found" errors, and i came up with this:
CODE g++ -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -DRCBOT_META_BUILD -m486 -O2 -w -I../engine -I../common -I../pm_shared -I../metamod -I../dlls -c bot_ga.cpp -o bot_ga.o player.h:277: error: extra qualification 'CBasePlayer::' on member 'TabulateAmmo' generic_class.h: In member function 'void dataUnconstArray<T>::Remove(T)': generic_class.h:962: error: expected `;' before 'it' generic_class.h:967: error: 'it' was not declared in this scope generic_class.h: In member function 'void dataUnconstArray<T>::RemoveByPointer(T*)': generic_class.h:983: error: expected `;' before 'it' generic_class.h:989: error: 'it' was not declared in this scope generic_class.h: In member function 'void dataUnconstArray<T>::Remove(T) [with T = CRememberPosition]': bot.h:1995: instantiated from here generic_class.h:962: error: dependent-name 'std::vector<T,std::allocator<_CharT> >::iterator' is parsed as a non-type, but instantiation yields a type generic_class.h:962: note: say 'typename std::vector<T,std::allocator<_CharT> >::iterator' if a type is meant make: *** [bot_ga.o] Error 1 which is a much more managable error list. ill try and see if i cant clear some of it up tomorrow. |
Cheeseh |
![]()
Post
#4
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
actually thats not the right source I gave you, I forgot I made a copy of the source and edited it and sent you the wrong version
![]() anyway I uploaded the correct one, made a proper cross compile of it here: http://filebase.bots-united.com/index.php?...file&id=428 I got no errors on each build I changed that __cygwin thing whilst editing the code a few weeks ago but sent you the old version its now #if defined(WIN32) && !defined(__CYGWIN__) or simply #ifndef linux the makefiles that come with it should work Hopefully... definetly the cygwin ones work when cross compiling |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 15th June 2025 - 01:26 AM |