FreeOrion

Forums for the FreeOrion project
It is currently Fri May 24, 2013 7:45 pm

All times are UTC




Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: 0.3.14 can't start arch linux
PostPosted: Thu Sep 09, 2010 3:32 pm 
Offline
Space Krill

Joined: Fri Aug 06, 2010 11:47 pm
Posts: 11
Ok. So, it built all the way up to TechTreeWnd.cpp - it can't find gvc.h

Code:
FreeOrion/UI/TechTreeWnd.cpp:21:17: fatal error: gvc.h: No such file or directory
compilation terminated.
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


Code:
locate gvc.h
/usr/include/graphviz/gvc.h


I'm looking at other forum posts....but I don't see anything other than downgrade (which I can't do, no packages exist for it...)


Top
 Profile  
 
 Post subject: Re: 0.3.14 can't start arch linux
PostPosted: Thu Sep 09, 2010 7:13 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
There was some work on a GraphViz replacement that you might be able to use: viewtopic.php?f=9&t=4742

The patches are probably out of date a bit, but could be relativley easily adapted. It was incomplete, though, so not yet committed so SVN.

You can also comment out the #include "gvc.h" and the entire contents of TechTreeWnd::LayoutPanel::Layout in TechTreeWnd.cpp to get it building, though you probably won't have a usable tech tree in game. I also haven't tested this, so it might cause a crash. If it doesn't crash, there is a clunky tech list, though, so it might still be possible to research techs.

Edit: looks like several other bits of TechTreeWnd.cpp would need to be commented out as well...

Edit: the attached patch might work. It removes all the graphviz dependence, at the cost of not having a visible tech tree. A more usable patch will require significantly more work.


Attachments:
File comment: patch to remove graphviz dependence from TechTreeWnd.cpp
No_Graphviz_FO_3795.patch [17.04 KiB]
Downloaded 39 times
Top
 Profile  
 
 Post subject: Re: 0.3.14 can't start arch linux
PostPosted: Sat Dec 04, 2010 1:06 pm 
Offline
Space Dragon
User avatar

Joined: Thu Oct 02, 2008 11:00 pm
Posts: 339
Location: Slovakia
tzlaine had idea to replace graphviz with OGDF.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 0 guests


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