NeHe OpenGL Tut Dont Compile.

This is a discussion on NeHe OpenGL Tut Dont Compile. within the C++ Programming forums, part of the General Programming Boards category; i attached the coding for the first tutorial on opengl on the nehe website. i got the devv C++ version ...

  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
    University of Waterloo
    Posts
    1,903
    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
    Attached Files Attached Files

  3. #3
    WDT
    WDT is offline
    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 09: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, 04:19 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 06:57 PM
  4. Borland Bcc55, Opengl???
    By Jamazon in forum C++ Programming
    Replies: 0
    Last Post: 11-12-2001, 11:36 PM
  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, 01:32 AM

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