FreeOrion

Forums for the FreeOrion project
It is currently Mon Nov 20, 2017 6:49 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Thu Mar 26, 2015 10:33 pm 
Offline
Space Squid

Joined: Fri Apr 19, 2013 4:10 pm
Posts: 89
Hi,

I tried to compile git master on Debian GNU/Linux but the build failed with the following message:

Code:
CMake Error at CMakeLists.txt:261 (add_library):
  Cannot find source file:

    python/server/PythonUniverseGenerator.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


Any ideas? The file does not exist under python/server.


Top
 Profile  
 
PostPosted: Thu Mar 26, 2015 10:57 pm 
Offline
Space Squid

Joined: Sun Mar 24, 2013 3:56 pm
Posts: 87
It looks like c356695e39 added that into the CMake file when it shouldn't have. I think there's going to be yet another reimport, so it might just pay to wait until then.

_________________
All my code and content provided herein or on GitHub is released under the GPL 2.0 and/or CC-BY-SA 3.0, as appropriate.


Top
 Profile  
 
PostPosted: Fri Mar 27, 2015 5:57 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12014
Location: Munich
Remove the file from CMakeLists.txt then.

Someone who actually builds using CMake should fix that. Otherwise I'd be guessing / hoping it will work.


Top
 Profile  
 
PostPosted: Fri Mar 27, 2015 12:03 pm 
Offline
Space Squid

Joined: Fri Apr 19, 2013 4:10 pm
Posts: 89
Just removing the file from CMakeLists.txt works and everything builds fine.


Top
 Profile  
 
PostPosted: Fri Mar 27, 2015 9:25 pm 
Offline
Dyson Forest

Joined: Sun May 11, 2008 10:50 am
Posts: 231
Who besides adrian_brother has a deeper understanding of cmake? Who's the primary maintainer of the cmake build system, so to speak?

_________________
Attached patches are released under GPL 2.0 or later.


Top
 Profile  
 
PostPosted: Fri Mar 27, 2015 9:29 pm 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4374
adrian_broher has the best/deepest understanding of it, AFAIK, and since he seems to be active with us again after a bit of a hiatus then I would consider him to generally be the primary maintainer of our cmake files. I understand the basics of it & have covered a few changes now and then, but have no where near the mastery he does.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
PostPosted: Sat Mar 28, 2015 9:14 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4241
Location: Sol III
Dilvish wrote:
since he seems to be active with us again after a bit of a hiatus
If I understood him correctly in an PM exchange we had, he's only temporarily back to help us with the migration. Which is a pity, but I got the impression that he simply does not have the time for FO stuff. Which makes me appreciate all the effort he's currently putting in helping us all the more.


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: Bing [Bot] 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® Forum Software © phpBB Group