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 4 of 4

Thread: Having trouble with extension libraries

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2011
    Posts
    5

    Having trouble with extension libraries

    Ok so i believe I've installed glew correctly but when I come to use a function (glteximage3d) I get the following error:

    C:\Users\chris\Documents\codeblocks\glutsnowmen\re ndering.h|263|undefined reference to `__glewTexImage3D'|

    Any ideas? Thanks for any help.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,726

    Re: Having trouble with extension libraries

    Did you actually link to the GLEW libraries?

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2011
    Posts
    5

    Re: Having trouble with extension libraries

    Maybe not. Will report back.

    cheers

  4. #4
    Junior Member Newbie
    Join Date
    Sep 2011
    Posts
    5

    Re: Having trouble with extension libraries

    Let me check this is right:
    glew32.lib in the lib folder of mingw
    glew.h in the include folder of mingw
    glew32.dll in the folder im working in
    and in compiler and settings I have linked glew32.

    I thought that was right, isn't it?

    cheers

Posting Permissions

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