ComSer Forum
Welcome, Guest. Please login or register.
July 19, 2018, 06:48:17 PM

Login with username, password and session length
Search:     Advanced search
Try Haxball - www.haxball.com
8133 Posts in 708 Topics by 253 Members
Latest Member: Maxigenzztop
* Home Help Search Calendar Login Register
+  ComSer Forum
|-+  ComSer General
| |-+  Dr. Darka's Linux Centre
| | |-+  Adventures in SP trying to get Gusanos to work in Gentoo
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Adventures in SP trying to get Gusanos to work in Gentoo  (Read 2017 times)
Social Poison
Harmful if swallowed
Member
**

Karma: 7
Offline Offline

Posts: 45


I've got your f*cking disclaimer right here!


View Profile
« on: March 02, 2006, 02:27:38 PM »

Alright... this is getting a bit annoying Tongue

here's my current error list:

Code:
Goop/font.h: In member function `void Font::draw(BITMAP*, const std::string&,
   int, int, int, int, int, int, int, int)':
Goop/font.h:130: error: variable declaration is not allowed here
Goop/font.h:131: error: invalid conversion from `Font::CharFormatting (*)()' to
   `int'
Goop/font.h:131: error:   initializing argument 6 of `void Font::draw(BITMAP*,
   __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >,
   __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >, int, int, int, int, int,
   int, int, int)'
Goop/font.h: In member function `void Font::draw(BITMAP*,
   __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >,
   __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >, int, int, int, int, int,
   int, int, int)':
Goop/font.h:141: error: variable declaration is not allowed here
Goop/font.h:142: error: invalid conversion from `Font::CharFormatting (*)()' to
   `int'
Goop/font.h:142: error:   initializing argument 6 of `void Font::draw(BITMAP*,
   __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >,
   __gnu_cxx::__normal_iterator<const char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >, int, int, int, int, int,
   int, int, int)'
Goop/base_worm.cpp: In member function `int BaseWorm::getWeaponIndexOffset(int)
   ':
Goop/base_worm.cpp:685: warning: comparison between signed and unsigned integer
   expressions
scons: *** [Goop/.build/posix/release/base_worm.o] Error 1
scons: building terminated because of errors.

Any ideas there?
Postet at: March 01, 2006, 04:53:09 AM
Ok checking my dependencies here:

GCC Version: 4.1.0
Allegro Version: 4.2.0
Boost Version: 1.33.1
fmod version : 3.74
scons version: 0.96.1
re3c Version: 0.9.9

Looks ok right? I'm at or above every version requirement. And I STILL get compilation errors >.<
Postet at: March 02, 2006, 02:59:47 AM
Ok I figured out my trouble.

I had to do a lot of upgrading and installing of other things before Gus would run on my laptop. The thing you have to remember to do though, is recompile your libraries with your current version of gcc. That ended up being the root of my trouble. Specifically Boost is what was keeping me down, but I spuspect any library would face similar problems.

And for the record, I safely compiled Gusanos and all it's libraries with GCC4.1.0, with the libraries and versions printed above.

Cheers
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!