Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: My program is not recognizing glew.h

  1. #1
    Newbie Newbie
    Join Date
    Mar 2014
    Posts
    2

    My program is not recognizing glew.h

    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

  2. #2
    Junior Member Regular Contributor Agent D's Avatar
    Join Date
    Sep 2011
    Location
    Innsbruck, Austria
    Posts
    145
    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?

  3. #3
    Intern Contributor Brokenmind's Avatar
    Join Date
    Feb 2014
    Location
    Aachen / Germany
    Posts
    71
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •