I can't link glew with xcode. I have glew library is located in /usr/local/lib/libGLEW.dylib
When i compile file in command line all right:
g++ /usr/local/lib/libGLEW.dylib -framework OpenGL main.cpp
But when i compile in xcode, i get error:
'GL/glew.h' file not found
Code:
#include <iostream>
#include <GL/glew.h>
int main(int argc, const char * argv[])
{
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
Im linked glew with xcode
OS X 10.8.4, Xcode 4.6.1