Thread: OpenGL Display screwy

  1. #1
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331

    OpenGL Display screwy

    I just reformatted my pc, and when i execute my robot it just shows a black scrren with a white square on the bottom left. I know its outdated ogl lib's or something, cuz i forget everything i did to it before when i started opengl, and i tried dloading the new ones off opengl.org, no go.

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Post you codeeeeeeeeeeeeee

  3. #3
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    the codes exactly as it was before i formatted, and it worked. Its got to be libraries, dll's, and .h files that aren't update enough, the code is fine, but since u insist...

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    The same program? Oops sorry, Well i tried it and it works fine
    with me.

  5. #5
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    I second that, but if you downloaded the libraries from opengl.org I would highly doubt they are oudated! You could be setting things up incorrectly in your initialization code (unless you are using some tutorial as your base code).

    EDIT: guess my post was late, what is linker
    EDIT1: are you doing this as a win32 project? This works perfectly for me

    EDIT2: wtf is linker? I deleted that
    Last edited by Silvercord; 01-25-2003 at 08:08 PM.

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    While scrolling through your program i noticed there isn't any
    error checking at all!
    Maybe something goes wrong?

  7. #7
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Look the program works on every other computer because the code is fine. Since i formatted i don't have a file i need, or they are outdated, it HAS to be.

  8. #8
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    You entirely formatted? Or just reinstalled the OS?
    I really suggest you include error checking!

  9. #9
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    Look the program works on every other computer because the code is fine. Since i formatted i don't have a file i need, or they are outdated, it HAS to be.
    well then go download all of the approrpriate files. headers in the GL folder of your include directory, libs in your lib directory, and the dlls in your system32 directory. That will work.
    EDIT: and still no one tells me what the linker library is for, tsk tsk

  10. #10
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i fixed it, i just kept overwiriting files by pasting and pasting again...it works, i love you guys :P

    o and btw i dunno how to add error checking trav, not that far ahead.

  11. #11
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Originally posted by RoD
    o and btw i dunno how to add error checking trav, not that far ahead.
    Not really required, Only for good for nothing comps that refuse
    any form of stability and compatibility

  12. #12
    I always include error checking when I'm learning something or if someone is going to use it on another computer. Otherwise I can usually get by without it. I can easily recognize if I forgot to set something I needed to in the window class or something like that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 02:39 PM
  2. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM