Tutorial problem (headers)

This is a discussion on Tutorial problem (headers) within the C++ Programming forums, part of the General Programming Boards category; When I type (or copy) the examples from the OpenGL tutorials into my Dev C++ compiler I get an error ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    1

    Tutorial problem (headers)

    When I type (or copy) the examples from the OpenGL tutorials into my Dev C++ compiler I get an error saying that some headers can not be found. The tut didn't mention anything about getting these files from elsewhere so I just assumed they would come with the compiler. Was I wrong?

    The two headers the compiler has not been able to find so far are stdafx.h and gl/glaux.h.

    For the sake of the scroll bar, I won't post the entire code, but if you need to see it to answer me, it's in the OpenGL area of the tutorials section.

    Thanks.

  2. #2
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    stdafx.h you'll only find with MSVC, but is not needed for OGL (I know some tutorials have MSVC or GCC versions... make sure to go for the GCC versions if applicable).

    You ought to be able to find Glut here: http://www.opengl.org/
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 06-18-2005, 02:26 PM
  2. MSVC Tutorial problem - Monochrome Palette
    By colinH in forum C++ Programming
    Replies: 4
    Last Post: 10-30-2002, 02:57 AM
  3. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM
  4. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 05:18 AM
  5. Problem running a Cboard C++ tutorial!
    By Monkey Liar in forum C++ Programming
    Replies: 6
    Last Post: 02-15-2002, 02:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21