PDA

View Full Version : My program is not recognizing glew.h



ayanda83
03-06-2014, 07:09 AM
Hi everyone, I am new to OpenGL and I am still working on linking the glut.h and glew.h to my Codeblocks. I linked glut successfully but glew is giving me problems. I have followed all the instructions as outlined on the openGl site but still when I compile my programs I get the error "fatal error: #include <glew.h> no such file exist" please assist

Agent D
03-06-2014, 12:25 PM
it's obviously not in your include path. My glass ball is very cloudy, can you show us your compile log and tell us where you put the header?

Brokenmind
03-06-2014, 07:17 PM
If everything else fails, you can just download glew.h and include it in your source folder, and use it via [#include "glew.h"] (at least that's how I do it)