Thread: Open GL programming

  1. #1
    Registered User insane's Avatar
    Join Date
    May 2003
    Posts
    8

    Open GL programming

    I'm looking to get started on learning how to use open gl, but every time I try to compile one of the many sample programs that I have, I keep getting multiple declaration syntax errors within gl.h itself. I have now tried 4 different versions of gl.h, and I still cannot get past the errors. The errors are occuing within the WINGDIAPI lines, and I was wondering if anyone know anything about this problem, or what to do about it

  2. #2
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361

    Re: Open GL programming

    Originally posted by insane
    I'm looking to get started on learning how to use open gl, but every time I try to compile one of the many sample programs that I have, I keep getting multiple declaration syntax errors within gl.h itself. I have now tried 4 different versions of gl.h, and I still cannot get past the errors. The errors are occuing within the WINGDIAPI lines, and I was wondering if anyone know anything about this problem, or what to do about it
    What compiler are you using?
    Aside from that, you certainly shouldn't be switching your header files with random ones you find on the web. Most headers are are taylor made to the compiler they're included with.

  3. #3
    Registered User insane's Avatar
    Join Date
    May 2003
    Posts
    8
    I'm using Borland Visual C++ 5.0, and I did keep a copy of the original header just to be safe

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open GL ?
    By swgh in forum C++ Programming
    Replies: 2
    Last Post: 07-27-2005, 10:05 AM
  2. Open GL v.s Direct X
    By Frantic- in forum C++ Programming
    Replies: 21
    Last Post: 01-28-2005, 11:55 PM
  3. open gl
    By nerdyneo in forum Game Programming
    Replies: 2
    Last Post: 11-14-2003, 04:33 PM
  4. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM
  5. Ghost in the CD Drive
    By Natase in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 10-12-2001, 05:38 PM