Thread: Sample OpenGL Program in C or C++ not working. Error: glaux.h file missing.

  1. #1
    Registered User
    Join Date
    Oct 2012

    Sample OpenGL Program in C or C++ not working. Error: glaux.h file missing.

    I'm working my way through the OpenGL tutorial and tried to run the program RobotOGL.cpp program and my Microsoft Visual Studio 2010 gives the error: The system cannot find the file specified.
    It seems the #incude <gl/glaux.h> needs the glaux.h header file in my SDK files.
    I pasted the glaux.h header file into C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl and same error.
    I removed the glaux.h header file from C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl and pasted into C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl and same error.

    Please help as I'm trying to learn my way through the tutorial.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Yeah, that tutorial is a decade old.

    Also this
    Can't find gl/glaux.h! - For Beginners -
    Posted 12 November 2005 - 03:22 AM
    It's possible that GLAux isn't even in your package distribution, since it has been deprecated and basically obsolete for a long time now.
    Unfortunately, the web isn't that good at purging once popular (but now obsolete) information. You only have to stick around here for a while to see no end of recycled TurboC tat.

    Anyway, perhaps this will lead to better tutorials.
    De-facto OpenGL 3.0+ tutorials? - Stack Overflow
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. compiler error in sample program for my class
    By dopedopeson in forum C Programming
    Replies: 3
    Last Post: 05-28-2009, 01:14 PM
  2. Error running program in cmd - cygwin.dll missing -
    By JFonseka in forum C Programming
    Replies: 5
    Last Post: 08-27-2007, 12:12 PM
  3. #include <gl\glaux.h> not working!!!
    By aaroroge in forum Game Programming
    Replies: 5
    Last Post: 07-07-2005, 04:25 PM
  4. Compile Program missing .lib file have .dll
    By John Hobbes in forum C++ Programming
    Replies: 1
    Last Post: 11-19-2004, 05:52 PM
  5. opengl .dll file missing
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 12-22-2001, 09:55 AM