Page 2 of 2

Posted: Wed Mar 10, 2010 8:05 pm
by maik
It's there, although it's in line 338 ;-)

building trunk: compiler exits with error code 1

Posted: Wed Mar 10, 2010 8:36 pm
by Getafix
maik wrote:
it's in line 338
Hmm, I was looking in another revision GNUMakefile...

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...

Posted: Wed Mar 10, 2010 8:41 pm
by maik
Thanks for giving it a shot! I'll investigate in that direction...

Cheers,
-Maik

Posted: Wed Mar 10, 2010 9:41 pm
by maik
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

Posted: Sat Mar 13, 2010 3:06 pm
by JensAyton
Fixed in r3060.

Posted: Sat Mar 13, 2010 3:30 pm
by maik
yeayyy, confirmed :)