FreeOrion

Forums for the FreeOrion project
It is currently Mon May 20, 2013 9:29 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: GG/Spin.h:503: error: syntax error before `>' token
PostPosted: Tue Apr 04, 2006 5:40 am 
Offline
Space Krill

Joined: Tue Apr 04, 2006 5:32 am
Posts: 3
Hi.

I tried to compile GiGi which I downloaded from svn just now, but I am getting syntax errors:

Code:
GG/Spin.h:503: error: syntax error before `>' token
GG/Spin.h:504: error: syntax error before `>' token
GG/Spin.h:506: error: syntax error before `>' token
GG/Spin.h:508: error: syntax error before `>' token
GG/Spin.h:511: error: syntax error before `>' token


I am using gcc 3.3.6. Should this this version work, or do I need something else? If it's not my compiler, what else could be causing this?

Thanks in advance.

Val


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 7:32 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7888
Location: Vancouver, BC
This has shown up before. See here: http://www.freeorion.org/forum/viewtopic.php?p=22364

You might want to check the versions of compilers with which everything has been compiled, particularly Boost, to ensure there are no mismatches.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 10, 2006 1:20 am 
Offline
Space Krill

Joined: Tue Apr 04, 2006 5:32 am
Posts: 3
Well, I have made sure that I only have gcc 3.3.6 on my system (nothing else is installed) and I recompiled DevIL myself, which before was installed from a slackpack. I also recompiled boost, but when I tried to compile GiGi, exactly the same error has occured.

This doesn't look like a compiler incompatability...

Has anyone sucessfully compiled GiGi with 3.3.6?


Top
 Profile  
 
 Post subject: GCC 3.4.4
PostPosted: Mon Apr 10, 2006 3:18 am 
Offline
Space Krill

Joined: Fri Apr 07, 2006 6:45 pm
Posts: 2
I used 3.4.4 to compile it, and everything compiled successfully. I suggest you get at least GCC 3.4.4 to compile this if at all possible.

MJM


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 13, 2006 4:20 am 
Offline
Space Krill

Joined: Tue Apr 04, 2006 5:32 am
Posts: 3
Aha! Upgrading to gcc 3.4.5 solved the problem. GiGi has compiled and I am now in the process of compiling FreeOrion.

Thanks for the help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group