4thSpace
4thSpace

Reputation: 44352

Does .h need to be included when using header search path?

I build and get this error:

some.h: No such file or directory

The project is given info on where to find .h files for the library. Why can't it see them?

Upvotes: 3

Views: 624

Answers (2)

IlDan
IlDan

Reputation: 6879

Try with

#import <some.h>

instead of

#import "some.h"

Upvotes: 2

Corey Floyd
Corey Floyd

Reputation: 25969

I don't think so. I just got one set up today piecing it together from the links below. I didn't include any .h files in search paths. In fact the one tutorial told me to remove any existing search paths (but I had to add them back for another library). Hope this gets you on the right track.

http://www.clintharris.net/2009/iphone-app-shared-libraries/

http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html

http://blog.costan.us/2009/02/iphone-development-and-code-sharing.html

Upvotes: 0

Related Questions