ibneko: (Default)
[personal profile] ibneko
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.

Very helpful

Date: 2007-05-14 10:17 pm (UTC)
From: (Anonymous)
Hi! Just wanted to tell you I just ran into this problem with XCode and your tip really helped out!

I'm using xwWidgets and unfortunately they also have a "wx/string.h" file that XCode mistakenly uses instead of
[Error: Irreparable invalid markup ('<string.h>') in entry. Owner must fix manually. Raw contents below.]

Hi! Just wanted to tell you I just ran into this problem with XCode and your tip really helped out!

I'm using xwWidgets and unfortunately they also have a "wx/string.h" file that XCode mistakenly uses instead of <string.h>. Ugh. It's 2007 and it still hasn't been fixed...

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Most Popular Tags

Page Summary

Style Credit

Page generated Jul. 4th, 2025 03:19 pm
Powered by Dreamwidth Studios
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2021