Xcode can't find ofxOsc files

Disclaimer: I’m still a newbie to Xcode/Openframeworks…

I want to create a new project using my Kinect, and I’m modifying the ofxKinect example instead of using the project generator. I’m trying to use the ofxOsc addon, but Xcode gives me errors for missing files when they’ve been added to the project (see attached image). I have no idea what the problem is, my other addons don’t have any problems and my project looks just like the ofxOsc addon example. Please help!

![](http://forum.openframeworks.cc/uploads/default/2800/Screen Shot 2013-02-18 at 2.19.01 PM.png)

Try and add those files to your Header Search Path:
…/…/…/addons/ofxOsc/libs/oscpack/src/osc
…/…/…/addons/ofxOsc/libs/oscpack/src/ip/win32
…/…/…/addons/ofxOsc/libs/oscpack/src/ip/posix
…/…/…/addons/ofxOsc/libs/oscpack/src/ip
…/…/…/addons/ofxOsc/libs/oscpack/src
…/…/…/addons/ofxOsc/libs/oscpack
…/…/…/addons/ofxOsc/libs

Thanks!!! I’ve got another error, but this issue seems solved.

I’m curious…is it necessary to add every file path to the header search path like that? Is there a more elegant way to have it point to subdirectories?

The oscSenderExample and oscReceiveExample that came with OF don’t have the filepaths in their headers.