[Solved] Xcode Header Help

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

D42
Just popping in
Just popping in
Posts: 2
Joined: Sun Mar 23, 2014 10:54

[Solved] Xcode Header Help

Postby D42 » Sun Mar 23, 2014 10:57

Hello,

I have built CEGUI 0.8.3 and its dependencies and I have a bunch of .dylibs which I have linked in my Xcode project. But when I go to do #include "CEGUI/CEGUI.h", Xcode cannot find any header's at all. What am I doing wrong?

Thanks for any help!

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Xcode Header Help

Postby Kulik » Sun Mar 23, 2014 14:34

You are not setting your include path. CEGUI works EXACTLY as any other library / framework would in this regard.

D42
Just popping in
Just popping in
Posts: 2
Joined: Sun Mar 23, 2014 10:54

Re: Xcode Header Help

Postby D42 » Mon Mar 24, 2014 01:36

Solved! Thanks! *facepalm*

For anyone else going through similar frustrations, this is what I did after building CEGUI:

1. Added the static frameworks to /Library/Frameworks
2. Dragged them into my Xcode 5 project.
3. Click on your project file
4. Click Build Settings -> All
5. Scroll down to Search Paths
6. Under HEADER SEARCH PATHS (NOT USER!) add in the paths to the src code.
eg:
"/Users/<name>/<otherlocations>/cegui-0.8.3/cegui/include/"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 23 guests