Hello,
I am trying to follow this OpenGL tutorial. The tutorial require GLEW though, I tried to install it in two ways:
1. Use homebrew
2. Make, then make install
Both methods said that it installed it. When I go to add this to my C++ code:
It doesn't work. I get an error saying it is not found. How do I #include GLEW in a .cpp Xcode file?
I am using Xcode 4.5 and Mountain Lion
Thanks!
I am trying to follow this OpenGL tutorial. The tutorial require GLEW though, I tried to install it in two ways:
1. Use homebrew
2. Make, then make install
Both methods said that it installed it. When I go to add this to my C++ code:
Code:
#include <GL/glew.h>
It doesn't work. I get an error saying it is not found. How do I #include GLEW in a .cpp Xcode file?
I am using Xcode 4.5 and Mountain Lion
Thanks!
Last edited: