Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8331199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:20:35+00:00 2026-06-09T02:20:35+00:00

I am running Visual Studio 2010 Professional on a Windows 7 64bit laptop (HP

  • 0

I am running Visual Studio 2010 Professional on a Windows 7 64bit laptop (HP Pavilion g6)

Unofficial OpenGL SDK: http://glsdk.sourceforge.net/docs/html/index.html

Unofficial OpenGL SDK, GLew, & GLee are all up to date, with matching drivers, libs and headers where appropriate

Settings:

Preprocessor either over the entire project OR over the main.c file: GLEW_STATIC

Additional Include Directories:
C:/glsdk_0.4.2/glload/include;C:/glsdk_0.4.2/glimg/include;C:/glsdk_0.4.2/glutil/include;C:/glsdk_0.4.2/glmesh/include;C:/glsdk_0.4.2/glm;C:/glsdk_0.4.2/glfw/include;C:/glsdk_0.4.2/freeglut/include;

Additional Library Directories:
C:/glsdk_0.4.2/glload/lib;C:/glsdk_0.4.2/glimg/lib;C:/glsdk_0.4.2/glutil/lib;C:/glsdk_0.4.2/glmesh/lib;C:/glsdk_0.4.2/glfw/library;C:/glsdk_0.4.2/freeglut/lib;

Also tried adding C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/Lib/glew32s.lib (or glew32, glew32mx & glew32mxs);C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/Lib/OpenGL32.lib; in Linker -> Input -> Additional Dependancies

Path Inputs (Changed through Environment Variables. Excluding irrelevant entries):
C:\glsdk_0.4.2\glutil\lib;C:\glsdk_0.4.2\freeglut\lib;C:\glsdk_0.4.2\glfw\library;C:\glsdk_0.4.2\glload\lib;C:\glsdk_0.4.2\glimg\lib;

GLew & GLee lib files are located in:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib
Also tried with them located at:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib

GLew & GLee header files are located in:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL
Also tried with them located at:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\GL

Code (other than headers) copied from “OpenGL Distilled”, ISBN10 – 0-321-33679-8:

    #include <stdio.h>
    #include <math.h>

    // Uncomment for GLee ( Also comment out glutInit(&argc, argv); )
    //#include <GL\GLee.h>

    // Uncomment for GLew
    /*#include <GL\glew.h>
    #include <GL\wglew.h>
    #include <GL\glut.h>
    #include <GL\glext.h> */

    // Uncomment for all headers in the "Unofficial OpenGL SDK"
    /*#include <glload\gl_all.h>
    #include <GL\glut.h>
    #include <glload\gll.h>
    #include <glimg\glimg.h>
    #include <glutil\glutil.h>
    #include <glmesh\glmesh.h>
    #include <GL\glfw.h>
    #define FREEGLUT_STATIC
    #define _LIB
    #define FREEGLUT_LIB_PRAGMAS 0
    #include <GL\freeglut.h> */


    int main(int argc, char* argv[])
    {
        glutInit(&argc, argv);

        // Obtain a buffer identifier from OpenGL
        GLuint bufferID = 0;
        glGenBuffers( 1, &bufferID );

        // Bind the buffer object, OpenGL initially creates it empty.
        glBindBuffer( GL_ARRAY_BUFFER, bufferID );

        // Define three vertices to draw a right angle triangle.
        const GLfloat vertices[] = [
            0.f, 0.f, 0.f,
            1.f, 0.f, 0.f,
            0.f, 1.f, 0.f };

        // Tell OpenGL to copy data from the 'vertices' pointer into
        // the buffer object
        glBufferData(GL_ARRAY_BUFFER, 3*3*sizeof(GLfloat), vertices, GL_STATIC_DRAW );
        return 0;
    }

Errors:

With GLee:
1>gl_crap3.obj : error LNK2001: unresolved external symbol _GLeeFuncPtr_glBufferData
1>gl_crap3.obj : error LNK2001: unresolved external symbol _GLeeFuncPtr_glBindBuffer
1>gl_crap3.obj : error LNK2001: unresolved external symbol _GLeeFuncPtr_glGenBuffers

With the Unofficial OpenGL SDK:
1>gl_crap3.obj : error LNK2001: unresolved external symbol ___gleBufferData
1>gl_crap3.obj : error LNK2001: unresolved external symbol ___gleBindBuffer
1>gl_crap3.obj : error LNK2001: unresolved external symbol ___gleGenBuffers

With GLew:
1>gl_crap3.obj : error LNK2001: unresolved external symbol ___glewBufferData
1>gl_crap3.obj : error LNK2001: unresolved external symbol ___glewBindBuffer
1>gl_crap3.obj : error LNK2001: unresolved external symbol ___glewGenBuffers
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:20:36+00:00Added an answer on June 9, 2026 at 2:20 am

    For the SDK, your Visual Studio project should have the following settings (where sdkbase is the path to the directory you unzipped and compiled the SDK in).

    C/C++->General->Additional Include Directories:

    sdkbase\glload\include;sdkbase\glimg\include;sdkbase\glutil\include;sdkbase\glmesh\include;sdkbase\glm;sdkbase\freeglut\include;sdkbase\glfw\include
    

    Linker->General->Additional Library Directories:

    sdkbase\glload\lib;sdkbase\glimg\lib;sdkbase\glutil\lib;sdkbase\glmesh\lib;sdkbase\freeglut\lib;sdkbase\glfw\library
    

    Linker->Input/Additional Dependencies, for debug builds:

    glloadD.lib glimgD.lib glutilD.lib glmeshD.lib freeglutD.lib glfwD.lib glu32.lib opengl32.lib gdi32.lib winmm.lib user32.lib
    

    For release builds:

    glload.lib glimg.lib glutil.lib glmesh.lib freeglut.lib glfw.lib glu32.lib opengl32.lib gdi32.lib winmm.lib user32.lib
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running Visual Studio 2010 in Windows 7 Professional 64-Bit in VMware 4.1.1
Having a strange issue with Visual Studio 2010 Professional (running Windows Vista Home Premium
I am running Windows 7 Professional 64-bit with visual Studio 2010. I have installed
I'm running visual studio 2010 on Windows 7 through parallels on my mac. I
I'm running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently
I'm running Visual studio 2010 with SP1 on Windows 8 Developer Preview. When I
This is on a 64 bit Windows Machine, also running Visual Studio 2010. A
I'm running Visual Studio 2010 SP1 Premium on Windows 7, and am trying to
I am running Visual Studio 2010 (as Admin), IIS 7 on Windows 7 x64.
Is there any advantage of running Visual Studio 2010 on Windows 7 instead of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.