FreeOrion

Forums for the FreeOrion project
It is currently Sat May 25, 2013 9:26 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Linux: Compile problems with rev 3963
PostPosted: Wed Feb 02, 2011 8:25 am 
Offline
Space Squid
User avatar

Joined: Sun Aug 15, 2010 2:25 am
Posts: 63
It's been like this since odgf was removed:
Code:
[bradbva@localhost FreeOrion]$ make                                             
[ 28%] Built target freeoriond
[ 58%] Built target freeorionca
[ 59%] Building CXX object client/human/CMakeFiles/freeorion.dir/__/__/UI/TechTreeWnd.cpp.o                                                                       
In file included from /usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp:17: 
/usr/local/src/freeorion/FreeOrion/UI/TechTreeLayout.h:97: error: ‘>>’ should be ‘> >’ within a nested template argument list
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp: In constructor ‘TechTreeWnd::LayoutPanel::LayoutPanel(GG::X, GG::Y)’:
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp:825: warning: ‘TechTreeWnd::LayoutPanel::m_zoom_out_button’ will be initialized after
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp:812: warning:   ‘TechTreeLayout TechTreeWnd::LayoutPanel::m_graph’
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp:1082: warning:   when initialized here
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp: In member function ‘void TechTreeWnd::LayoutPanel::SetScale(double)’:
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp:1344: warning: unused variable ‘old_scale’
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp: At global scope:
/usr/local/src/freeorion/FreeOrion/UI/TechTreeWnd.cpp:34: warning: ‘<unnamed>::temp_bool’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/asio/error.hpp:251: warning: ‘boost::asio::error::system_category’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/asio/error.hpp:253: warning: ‘boost::asio::error::netdb_category’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/asio/error.hpp:255: warning: ‘boost::asio::error::addrinfo_category’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/asio/error.hpp:257: warning: ‘boost::asio::error::misc_category’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/asio/error.hpp:259: warning: ‘boost::asio::error::ssl_category’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
/usr/local/src/boost/boost_1_44_0/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
make[2]: *** [client/human/CMakeFiles/freeorion.dir/__/__/UI/TechTreeWnd.cpp.o] Error 1
make[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 2
make: *** [all] Error 2

TechTreeWnd won't compile


Top
 Profile  
 
 Post subject: Re: Linux: Compile problems with rev 3963
PostPosted: Wed Feb 02, 2011 8:40 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
RgnadKzin wrote:
/UI/TechTreeWnd.cpp:17:
/usr/local/src/freeorion/FreeOrion/UI/TechTreeLayout.h:97: error: ‘>>’ should be ‘> >’ within a nested template argument list

Put a space between the >> on that line.


Top
 Profile  
 
 Post subject: Re: Linux: Compile problems with rev 3963
PostPosted: Wed Feb 02, 2011 3:14 pm 
Offline
Space Squid
User avatar

Joined: Sun Aug 15, 2010 2:25 am
Posts: 63
Compiles, but when run its a runaway.
Code:
[bradbva@localhost .freeorion]$ ls                                               
AI_1.log  AI_3.log  AI_5.log  AI_7.log    freeoriond.log
AI_2.log  AI_4.log  AI_6.log  config.xml  save/

There is no ogre.log or freeorion.log
freeoriond.log is attached.


Attachments:
freeoriond.log [144.78 KiB]
Downloaded 28 times
Top
 Profile  
 
 Post subject: Re: Linux: Compile problems with rev 3963
PostPosted: Wed Feb 02, 2011 8:00 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
RgnadKzin wrote:
Compiles, but when run its a runaway.

I don't know what that means. Please restate explicitly?


Top
 Profile  
 
 Post subject: Re: Linux: Compile problems with rev 3963
PostPosted: Thu Feb 03, 2011 7:50 am 
Offline
Space Squid
User avatar

Joined: Sun Aug 15, 2010 2:25 am
Posts: 63
Geoff the Medio wrote:
RgnadKzin wrote:
Compiles, but when run its a runaway.

I don't know what that means. Please restate explicitly?

It's an old mainframe term that means the program compiles and runs, but when you execute it, it gets stuck in a loop somewhere in the code and never gives control to the user. runaway.


Top
 Profile  
 
 Post subject: Re: Linux: Compile problems with rev 3963
PostPosted: Thu Feb 03, 2011 8:03 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
Try deleting all the log files and config.xml and running "freeorion -h" and "freeorion -g" and seeing if the former produces text output, and if the latter generates a config.xml.

If not, I have no idea what the problem is...

I don't think recent changes would have anything to do with it, but I can't easily check them since the sourceforge SVN viewer is (still...) broken. You could try deleting the contents of TechTreeWnd::LayoutPanel::Layout (so it's an empty function).


Top
 Profile  
 
 Post subject: Re: Linux: Compile problems with rev 3963
PostPosted: Thu Feb 03, 2011 8:19 am 
Offline
Space Squid
User avatar

Joined: Sun Aug 15, 2010 2:25 am
Posts: 63
yeah, that was it. runs ok now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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