building oolite from scratch
Moderators: winston, another_commander
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
building trunk: compiler exits with error code 1
Hmm, I was looking in another revision GNUMakefile...maik wrote:it's in line 338
Anyhow, I did some further digging (r3058 this time) and noticed that
in Oolite.xcodeproj/project.pbxproj the Universe.m file has
$SNAPSHOT_MACROS in its COMPILER_FLAGS section. This is the only
file where this variable is used. It became more interesting when I saw that
this is defined in src/Cocoa/oolite-snapshot.xcconfig as an empty string.
And that is exactly when I realized that this is far beyond my league!
I'll go with a_c's opinion... and better wait for a MAC person.
At least I tried...
Last edited by Getafix on Tue Aug 09, 2016 1:44 pm, edited 1 time in total.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
I found out what causes the problem: It is indeed a result of $SNAPSHOT_MACROS being defined as "", thanks Getafix. If I put some compiler option like -Dmaik in there it works.
The comments in the file say that this is overwritten by some nightly Mac script. Is this something that I have to do? Leaving -Dmaik as $SNAPSHOT_MACROS is certainly not the way it was intended I guess ;-)
Cheers,
-Maik
The comments in the file say that this is overwritten by some nightly Mac script. Is this something that I have to do? Leaving -Dmaik as $SNAPSHOT_MACROS is certainly not the way it was intended I guess ;-)
Cheers,
-Maik