I want to work with some frameworks like glew
and cg
so i manually added
the needed frameworks to my project by right clicking the project -> Add files to ...
and choosing the correct framework. The problem is, when i try to include the header files,
Xcode cant find any of them. I hope this picture will help to understand:
And:
The error given is for the glew
framework, but it also happens on Cg
.
As you can see on the left, The needed frameworks were added.
Any idea on how i can include these headers?
After trying to add the header files manually i got an architecture error:
I dont know if this is how it should look like. Thanks!
Build Settings -> Framework Search Paths
to$(SRCROOT)
(assuming you your frameworks in the root of your project directory). – Wofford