Results 1 to 3 of 3

Thread: Compiling Problems HELP!!!

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2004

    Compiling Problems HELP!!!

    Hello! Im new to OpenGL programming and I started reading on it and tried to do a very simple OpenGL program. It suppose to output a white box. The code is ok, it came from a "primer" book. Im using Visual C++ 6.0 to compile the code and I have downloaded the glut-3.7.6 from

    I placed the files in their correct folders and I put "glut32.dll" in BOTH, C:\Windows\SYstem and C:\WINNT\SYstem32

    When I start MS Visual C++; I create a WIn32 Console App and select "Simple application" ...
    When I compile my 20 line code (its supposed to be simple) ... I get an error ...
    "Cannot open include file: 'GL/glut.h' No such file or directory"... but I do have glut.h in ...VC98\INCLUDE\GL ... so I know its a linking problem I just don't know how to fix it... please help!!!

  2. #2

    Re: Compiling Problems HELP!!!

    the compiler can't find glut.h. make sure it's
    Code :
    #include <GL\glut.h>

  3. #3
    Senior Member Regular Contributor
    Join Date
    Aug 2004
    Angers, France

    Re: Compiling Problems HELP!!!

    Hm, If the header you included is like that

    Code :
    So, verify your file location (glut.h)> VC98/Include/GL/glut.h
    The .Product will make you .Believe

Similar Threads

  1. Problems compiling with glu.h
    By gamber in forum OpenGL: Windows
    Replies: 2
    Last Post: 11-23-2011, 05:15 AM
  2. Problems compiling tutorial1
    By tiregarfio in forum OpenGL ES
    Replies: 1
    Last Post: 04-17-2007, 06:02 AM
  3. Problems compiling openGL
    By Lee Sandberg in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-10-2003, 09:22 AM
  4. problems compiling
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-04-2002, 06:13 AM
  5. compiling problems
    By VeRtEX in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-21-2000, 04:51 PM

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