ibneko: (Default)
ibneko ([personal profile] ibneko) wrote2005-10-12 11:27 pm
Entry tags:

ARGH~ jeeze... Frigging hmaps (USE_HEADERMAP!)

It took way too long to figure this out. A whole... 2+ hours.

Here's the problem:
In XCode, due to their use of header maps (.hmap files), they confused system files
[Error: Irreparable invalid markup ('<string.h>') in entry. Owner must fix manually. Raw contents below.]

It took way too long to figure this out. A whole... 2+ hours.

Here's the problem:
In XCode, due to their use of header maps (.hmap files), they confused system files <string.h> with the header files my teacher gives me "string.h". This causes a problem, of course. I've also heard of this problem with time.h.



The solution when you have files with names that are the same as system ones?
-Project > Edit Project Settings (or, alternatively, select your topmost project thing in "Groups & Files" and hit command+i)
-Click on the "Build" tab, then the "+" button at the bottom of the first large field. Add "USE_HEADERMAP" as the setting, and then uncheck the value - a box will appear.

This will disable the use of headmaps for that build configuration ONLY, unless you have your "Configuration:" set to "All Configurations".

You may need to do this for the target too... (as in, add that as a setting.) I'm not too sure, nor do I really feel like checking that.

[EDIT] GAH! It broke again. Or something.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org