Results 1 to 3 of 3

Thread: Errors in glu.h

  1. #1

    Errors in glu.h


    I use DJGPP on Windows and
    I'm a beginner in OpenGl

    When I do :
    gcc prog.c -o prog.exe

    The compiler show :
    GL/glu.h : Syntax error before "void"
    GL/glu.h : Syntax error before '*' token

    Where is the problem ?



  2. #2
    Senior Member Frequent Contributor marcus256's Avatar
    Join Date
    Aug 2001

    Re: Errors in glu.h

    Have you tried #include <windows.h> ? (BEFORE #include <GL/***.h> )

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Fargo, ND

    Re: Errors in glu.h

    Isn't DJGPP a DOS compiler? If it is, you won't be able to use it for OpenGL programming. I think you can use Mesa with it, though. That basically has all the same functions as OpenGL, but can't actually be called OpenGL because of licensing issues.
    Software Engineer and OpenGL enthusiast

Similar Threads

  1. Xsd.exe errors?
    By pekkah in forum COLLADA
    Replies: 22
    Last Post: 09-12-2008, 04:55 PM
  2. Replies: 0
    Last Post: 11-09-2005, 10:24 PM
  3. errors in gl.h lib
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 01-13-2005, 10:55 AM
  4. errors...
    By Vincent_dup1 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-28-2004, 03:36 PM
  5. Some new errors
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-10-2002, 04:18 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