xCode 3.2 header relative path in include

Hello,
how is it with header relative path in include under xCode 3.2?

Example:
#include “Components\SuperLayer.h”
#include “…h”

This works on Win and Android without problems, but in xCode not.
#include “SuperLayer.h”
#include “Test.h”

This works in xCode only.

I found possible solutions by HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=NO adding to building settings.

But this didnt works for me.
Have you some resolutions for this problem?

Thank

MG

I think you should set the search path.
I don’t work on mac os, so I can not give the detail solution step by step.

Finally I found solution.

The fix is to add a a user defined setting to your target:
USE_HEADERMAP = NO

AND

use SLASH no backslash! :frowning:

#include “Components/SuperLayer.h”
#include “…/Test.h”

Here is script for change backslash to slash.

If you have a bunch of files you need to convert, say all files ending in .cpp:
for f in (*.cpp) do perl -i.bak -pe “tr!\\!/! if /^\s*#\s*include\b/” f

The corresponding command for a Bourne shell environment (typical Linux shell):
for f in *.cpp; do perl i.bakpe ‘tr/! if /^#include\b/’ $f; done

http://stackoverflow.com/questions/573430/c-include-header-path-change-windows-to-linux