mac
mac

Reputation: 4770

Three20/TTStyle.h No such file or directory error

I have project, this contains header files like.

#import "Three20/TTButton.h"
#import "Three20/TTStyle.h"
#import "Three20/TTStyleSheet.h"
#import "Three20/TTView.h"
#import "Three20/TTShape.h"

but i am getting no such file, directory error. But i can see those TTButton.h,TTStyle.h... are inside the Three20 Folder.

Please Help me, thanks in advance.

Upvotes: 1

Views: 2908

Answers (1)

Jasarien
Jasarien

Reputation: 58448

Follow these instructions to the letter:

http://three20.info/setup/existing

Most importantly:

Finally, we need to tell your project where to find the Three20 headers. Open your "Project Settings" and go to the "Build" tab. Be sure to select the appropriate active configuration (eg, Release vs. Debug -- eventually you'll need to change both). Look for "Header Search Paths" and double-click it. Add the relative path from your project's directory to the "Three20/src" directory. If your project and the Three20 source are in the same parent, you would enter "../Three20/src".

Upvotes: 5

Related Questions