Build failure: PythonUniverseGenerator.h missing

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
Apo
Space Squid
Posts: 89
Joined: Fri Apr 19, 2013 4:10 pm

Build failure: PythonUniverseGenerator.h missing

#1 Post by Apo »

Hi,

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

Code: Select all

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.

wheals
Space Squid
Posts: 88
Joined: Sun Mar 24, 2013 3:56 pm

Re: Build failure: PythonUniverseGenerator.h missing

#2 Post by wheals »

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.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Build failure: PythonUniverseGenerator.h missing

#3 Post by Geoff the Medio »

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.

Apo
Space Squid
Posts: 89
Joined: Fri Apr 19, 2013 4:10 pm

Re: Build failure: PythonUniverseGenerator.h missing

#4 Post by Apo »

Just removing the file from CMakeLists.txt works and everything builds fine.

Chriss
Dyson Forest
Posts: 231
Joined: Sun May 11, 2008 10:50 am

Re: Build failure: PythonUniverseGenerator.h missing

#5 Post by Chriss »

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.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Build failure: PythonUniverseGenerator.h missing

#6 Post by Dilvish »

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

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Build failure: PythonUniverseGenerator.h missing

#7 Post by Vezzra »

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.

Post Reply