PDA

View Full Version : Xcode header files




craigydee123
May 12, 2009, 12:39 PM
Hey, I have been searching for a little bit trying to figure this out, I'm pretty close to the point of insanity right now because of it..but m problem basically consists of me having no idea of how to add a header path, or where the default header path is. I created a project and added a header file, and the main .c file receives and error saying the file or directory doesn't exist, I have tried adding the header file to everything on the side bar( i know i am a n00b ) and it keeps giving me the same error, and I have no sweet clue what to do. Can anyone help me out please?



Cromulent
May 12, 2009, 01:01 PM
Hey, I have been searching for a little bit trying to figure this out, I'm pretty close to the point of insanity right now because of it..but m problem basically consists of me having no idea of how to add a header path, or where the default header path is. I created a project and added a header file, and the main .c file receives and error saying the file or directory doesn't exist, I have tried adding the header file to everything on the side bar( i know i am a n00b ) and it keeps giving me the same error, and I have no sweet clue what to do. Can anyone help me out please?

You need to set the header search path in the project settings.

craigydee123
May 12, 2009, 01:17 PM
Thank you very much! I was ready to chuck my laptop out the window, greatly appreciated on the help lol