I am currently trying to follow the OpenGL introduction guide. I pulled the project straight from the GIT repo on the site in a new Xcode project, but I did not find "GL / glew.h: no such file or directory" when trying to create and run.
I've blown off the site, and run "create" and "install" I can see 3 liblave files in / usr / lib, and the 3 header contains the respective header files in / usr / include / I can see in GL. I believe all this that it has been set up properly.
After some thoughts of Googling, I tried to add / usr / lib and / usr / include / GL path to related search paths in project information, but it still has given the same problem. Tried to add "-lglW" to the 'Other Linker Flag' option.
Only in the C source include
#include & lt; GL / glew j & gt;
What am I missing?!
">
If you use #include
to use it in the #include
then just search the path to / Usr / include
. Try adding / usr / include
to your header search path in your Xcode project and then be able to find the header.
Comments
Post a Comment