Technical support > Mac

Compiling 2.4 on Mac 10.6.8

(1/1)

Naftali:
So I've been trying to figure out how to do this for a couple days now with no luck.  I haven't really compiled anything from source before, but I followed the instructions in the wiki with no luck so far.  Any help would be appreciated.

I started by installing Xcode (then restarting the computer) and MacPorts (10.6.8 comes with X11 so I skipped that), both of which went smoothly.  Installing the dependencies went similarly.  The next step, fetching UFO-AI, is when things get complicated and (maybe, I can't tell) start to go wrong.

I have tried at least 3 times to fetch the source, following the instructions at http://ufoai.org/wiki/index.php/Getting_the_source#Getting_the_code_source for the "easy way" with and without data_source, as well as the "hard way".  I've tried to make sure I update/run the correct config files but the document does not make it simple to figure out what needs to be done to end up with a copy that you can compile from without worrying about committing changes.  After everything I always follow the directions in http://ufoai.org/wiki/index.php/Compile_for_Mac#Step_3:_Compilation but I have yet to end up with an executable binary.  I also keep running into the following error, repeated ad infinitum for every file "make" acts on whenever I run it:

--- Code: ---===> CXX [ufoslicer] src/shared/shared.cpp
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
--- End code ---
Anybody have any suggestions as to what I'm doing wrong?  I'm getting very frustrated with the whole thing, and if I can't figure this out in the absence of usable Mac binaries for the last releases I'll probably stop following the project.

Mattn:
that is no error, but a warning - it does not stop you from compiling.

praise apple for using a stoneage version of gcc - never versions can handle this.

Navigation

[0] Message Index

Go to full version