Thread: NeHe OpenGL Tut Dont Compile.

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    97

    NeHe OpenGL Tut Dont Compile.

    i attached the coding for the first tutorial on opengl on the nehe website. i got the devv C++ version that u dl at the bottom. but as always, gay bloodshed dont have the correct library. dunno how the dev c++ converter got it to work. heres the errors:

    12 C:\My Documents\C++ Stuff\Tutorials and Coding\OpenGL Lesson #01\lesson01\Lesson1.cpp
    gl\glaux.h: No such file or directory.

    C:\My Documents\C++ Stuff\Tutorials and Coding\OpenGL Lesson #01\lesson01\Makefile.win
    [Build Error] [Lesson1.o] Error 1


    thx alot....srry for so many threads of mine, but i have alotto questions!

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    I included a zip that has all of the opengl headers that you should need. Extract them to your include files directory and it should work

  3. #3
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271
    Dev c++ has the libraries. you'll need to add them into your project under project ->Project options then click on the parameters tab then on the add library or object button.
    You need about 6, the first 5 to do with opengl in the dev c++ lib folder the 6th is libgdi32.a
    Also the difference in the #include headers are that in MSVC++ it's gl/glaux but in dev c++ it's gl/glext. look it up in the include folder also.
    That's how I gots my stuff up and running today. Alternatively you can look at my posts today in the beginners forum on the nehe site (same name as here too)
    Last edited by WDT; 03-08-2004 at 10:20 PM.
    A hundred Elephants can knock down the walls of a fortress... One diseased rat can kill everyone inside

  4. #4
    Registered User
    Join Date
    Jul 2003
    Posts
    97
    thx very much, both of u. also, check ur PM's WTD!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Having trouble with openGL
    By getinhigh4life in forum Game Programming
    Replies: 4
    Last Post: 08-05-2008, 02:36 PM
  2. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 1
    Last Post: 03-08-2004, 05:19 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. Borland Bcc55, Opengl???
    By Jamazon in forum C++ Programming
    Replies: 0
    Last Post: 11-13-2001, 12:36 AM
  5. how do i compile a program that deals w/classes?
    By Shy_girl_311 in forum C++ Programming
    Replies: 5
    Last Post: 11-11-2001, 02:32 AM