Advertisement

specifying include path with xcode

Started by August 11, 2009 10:38 AM
1 comment, last by eddyq 15 years, 3 months ago
I am porting a codebase from MS VisualStudio to XCode. The libraries header files are seperated like this: -top_level --foo ---foo.h ---bar.h --baz ---baz.h --project_folder ---name.xcodeproj Throughout the source, header files are included like "#include <foo/foo.h>", "#include <baz/baz.h>" I have added ".." to the Project->Edit Active Target "name"->Search Paths->Header Search Paths. I also tried using /Users/eddyq/Desktop/top_level. I just can't get the compiler to find the the .h files. Does anyone know what to do?
Hopefully it is the same issue as here http://www.gamedev.net/community/forums/topic.asp?topic_id=374656 you may want to not use the recursive path check.

Game Programmer / Technical Artist http://michaelhubbard.ca
Advertisement
Thanks, I found my problem. Others may benifit from this. I was used to Windows Developer Studio where, when the settings are changed, Developer Studio will automatically re-compile all programs in the project. With Xcode you will have to perform a manual Clean operation.

This topic is closed to new replies.

Advertisement