Thread: i cant get opengl to work!!

  1. #1
    Registered User
    Join Date
    Sep 2001

    Exclamation i cant get opengl to work!!

    i madethe same post i the C board but somebody suggested that i post here:
    ive downloaded 3 compilers just to see if it worked but it just doesnt. the compiler keeps screwing up when it compiles the headers. the headers come with the compilers, too, cept mingw. yes, i am linking the libs correctly (or so i believe). plz help!!

  2. #2
    Seor Member
    Join Date
    Jan 2002
    Post your code

  3. #3
    Has a Masters in B.S.
    Join Date
    Aug 2001
    what kind of screw up? what compilers?
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  4. #4
    i dont know if you have tried nehe's site yet, but its a great place to learn...

  5. #5
    Registered User
    Join Date
    Sep 2001
    i got to work . i had to link the glut lib.
    i dont really like the nehe site. the opengl tutorial is confusing and the code to open a window is HUGE. im using glut and it takes about 10 lines with it :P. im just a bit lazy.

  6. #6
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    I've tried nehe's source and it didn't compile
    I used Dev-C++ 4.0
    It throughs a compile time error
    CDS_FULLSCREEN is undefined
    in ChangeDisplaySettings(&dmScreenSettings, CDS_FULLSCREEN)
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems in getting OpenGL to work
    By zonf in forum C Programming
    Replies: 5
    Last Post: 02-13-2006, 04:48 AM
  2. Why won't my OpenGL work?
    By Raigne in forum C++ Programming
    Replies: 7
    Last Post: 11-26-2005, 11:53 AM
  3. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  4. MISC questions about OpenGL
    By Silvercord in forum Game Programming
    Replies: 12
    Last Post: 01-25-2003, 04:20 PM
  5. What is it with OpenGL tutorials?
    By Eibro in forum Game Programming
    Replies: 22
    Last Post: 01-12-2003, 04:49 PM