Forums for the FreeOrion project
It is currently Wed Jun 20, 2018 3:34 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Jan 11, 2013 8:00 pm 
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4647
Hi, just in case anyone else is running into this --

A couple times now when trying to compile after an update, I've been plagued by compile time segmentation faults that would not be cleared by simply running make clean, restarting my machine, and rerunning cmake and make. I think yandonman has reported similar problems in the past. Anyways, it seems like a problem with the cmake cache files has been the problem; cleaning up those has let me recompile no problem. Here's an alias I adapted from something on the web to make this cleanup process easier:
alias cmakeclean="find -name '*CMake*' -not -name CMakeLists.txt -not -name '*svn*' -not -name CTestConfig.cmake -print  -exec rm -rf {} \+"

I then just execute cmakeclean in my top Freeorion directory & it clears out cmake related files except those that need to remain (i.e. those that would not get recreated by a "cmake ." followed by a "make"); I then do the cmake . and make and it's all good.

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

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

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® Forum Software © phpBB Group