Results 1 to 2 of 2

Thread: GL setup question for Visual C++

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001

    GL setup question for Visual C++

    Hey. I'm trying to setup open GL to run in Visual C++ but whenever I run any sample programs I get errors saying that there is a missing semi colon in the gl.h library. I can compile and run programs with the glut.h library. I've included the .lib files in the project settings, so that's not the problem. Does anybody have any suggestions?
    "I'd rather be rich than stupid"
    - Jack Handy

  2. #2
    Member Newbie
    Join Date
    May 2001

    Re: GL setup question for Visual C++

    You must include windows.h header file before gl.h

Similar Threads

  1. Visual studio 2013 + opengl setup
    By KSM888 in forum OpenGL: Windows
    Replies: 0
    Last Post: 05-16-2014, 10:34 AM
  2. Replies: 0
    Last Post: 10-20-2010, 11:27 PM
  3. Visual Studio 2008 Setup with OpenCL Plugin
    By plasmaphonic in forum OpenCL
    Replies: 2
    Last Post: 04-18-2010, 05:04 PM
  4. Noobie Question: Depth buffer setup
    By coder2010 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-01-2010, 07:32 PM
  5. Replies: 2
    Last Post: 12-06-2007, 08:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean