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

Thread: Symbol "___glewFramebufferTexture2DEXT".

Hybrid View

  1. #1
    Intern Contributor
    Join Date
    May 2008
    Posts
    67

    Symbol "___glewFramebufferTexture2DEXT".

    Hi
    I'm confused and get "not resolved Symbol "___glewFramebufferTexture2DEXT".

    I can debug/run in VS2008 ok but I get that in release config. I have glew32.dll and glew32mx.dll in my folder. Also difference between static and dynamic?
    Many thanks
    Michael

  2. #2
    Intern Contributor
    Join Date
    May 2008
    Posts
    67

    Re: Symbol "___glewFramebufferTexture2DEXT".

    I'll have a look at glew on windows tomorrow, as I'm 99% on Linux. Anyway when do I use .dll and when *.lib?
    Thanks

  3. #3
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421

    Re: Symbol "___glewFramebufferTexture2DEXT".

    glew32mx.dll has multiple GL context support, when you have multiple windows and each has its own context or whatever other case you have.

    glew32.dll is for games and single window applications.

    Anyway when do I use .dll and when *.lib?
    Perhaps you don't want people to know that you are using GLEW so you use the static library instead.

    Not resolved messages are probably generated by your linker. It doesn't find ___glewFramebufferTexture2DEXT. You should indicate your glew32.lib in your configuration.

    http://www.opengl.org/wiki/FAQ#Unres...xternal_Symbol
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  4. #4
    Intern Contributor
    Join Date
    May 2008
    Posts
    67

    Re: Symbol "___glewFramebufferTexture2DEXT".

    Thanks but I did have glew32.lib. I only get this error when selecting release in VS2008 not for debug.
    What else could I be missing? And how to tell to use static?
    Many thanks again
    Michael

  5. #5
    Intern Contributor
    Join Date
    Jul 2006
    Posts
    70

    Re: Symbol "___glewFramebufferTexture2DEXT".

    Quote Originally Posted by V-man
    Anyway when do I use .dll and when *.lib?
    Perhaps you don't want people to know that you are using GLEW so you use the static library instead.
    No. Using a lib vs dll makes zero difference in that respect. Dll's are commonly used to allow independent bugfixes/updates/replacements to dll'ed part of the program which in some cases is quite desirable.

  6. #6
    Junior Member Newbie
    Join Date
    Jun 2010
    Posts
    3

    Re: Symbol "___glewFramebufferTexture2DEXT".

    Quote Originally Posted by mikethebike
    Hi
    I'm confused and get "not resolved Symbol "___glewFramebufferTexture2DEXT".

    I can debug/run in VS2008 ok but I get that in release config. I have glew32.dll and glew32mx.dll in my folder....
    You also need to copy glew32.lib, glew32mx.lib into the project local folder.

  7. #7
    Junior Member Newbie
    Join Date
    Jun 2010
    Posts
    3

    Re: Symbol "___glewFramebufferTexture2DEXT".

    Project->Property->linker->Input->Additional Dependencies, here you need type in glew32.lib, glew32mx.lib

Posting Permissions

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