Results 1 to 3 of 3

Thread: starting

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2002


    I'm just starting on opengl coding. I got the red book and started reading and much to my satisfaction it didn't fly over my head [as i had worried it would]. I decidede to look at some of the code at work on my comp so fired it all in. To my dismay it will not work. I get a helluva lot of errors about external operators[i think] when attempting to link my code. I'm running VC++ 6.0 and am worried i may have installed glut incorrectly. Does anyone know what exactly is going wrong???


  2. #2
    Senior Member Regular Contributor
    Join Date
    Nov 2002

    Re: starting

    How are you setting up your GLUT.

    Anyway to install glut do the following:


    If Windows 98

    Extract all .dll files to your Windows root directory.

    If Windows 2000

    Extract all .dll files to your Windows\System32 directory.

    For Visual C++ 6.0

    Extract all .h files to \VC98\Include\GL
    Extract all .lib files to \VC98\lib

    - Hope this helps.

  3. #3

    Re: starting

    You also need to link all the libraries before you compile the code. Add the following lines at the top of the file containing the main procedure

    Code :
    #pragma comment (lib, "opengl32")
    #pragma comment (lib, "glu32")
    #pragma comment (lib, "glaux")
    #pragma comment (lib, "glut32")
    That might help. If it doesn't copy the errors and post it on here...we'll figure out what's wrong then

Similar Threads

  1. Just starting
    By Martyn in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-09-2006, 07:47 AM
  2. help! just starting out ...
    By seph in forum OpenGL: Windows
    Replies: 5
    Last Post: 01-31-2005, 06:56 PM
  3. just starting out
    By aeleneski in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-06-2004, 04:43 AM
  4. Just starting..
    By Meatloaf in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-05-2003, 06:33 PM
  5. Starting
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-24-2001, 08:11 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