Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

building oolite from scratch

Discussion and announcements regarding the Mac port… er, original version of Oolite.

Moderators: another_commander, winston

User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post by maik »

It's there, although it's in line 338 ;-)
User avatar
Getafix
Quite Grand Sub-Admiral
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

Post 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...
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]
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post by maik »

Thanks for giving it a shot! I'll investigate in that direction...

Cheers,
-Maik
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post 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
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Fixed in r3060.
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post by maik »

yeayyy, confirmed :)
Post Reply