Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: What's the Reason?

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2002
    Location
    Beijing,P.R.China
    Posts
    4

    What's the Reason?

    I've written an OpenGL program. There's no error in compiling and linking. The built execute file doesn't function on my computer but functions on another computer. Someone can tell me the reason? Thanks a lot.

    My computer:
    CPU: PIII866MHz
    Viedo Card:ASUS V7100 magic Geforce 2 MX200/32M
    Monitor: Samsung SyncMaster 750s
    Memory:256M
    President of OpenGL

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: What's the Reason?

    Hi !

    What OS are you running ? what is the problem, do you get an error message of some form when you try to run your application or is the window just black ?, a little more details might help.

    Mikael

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2002
    Location
    Beijing,P.R.China
    Posts
    4

    Re: What's the Reason?

    Thank you for your reply first.
    OS is Windows2000 + SP3.
    Compiling and linking are no problem.
    When I run the application, The window is just black and no any other information. But it can function on another computer[Windows 2000]

    Thanks for your help again.
    President of OpenGL

  4. #4
    Junior Member Newbie
    Join Date
    Oct 2002
    Location
    Beijing,P.R.China
    Posts
    4

    Re: What's the Reason?

    Thank you for your reply first.
    OS is Windows2000 + SP3.
    Compiling and linking are no problem.
    When I run the application, The window is just black and no any other information. But it can function on another computer[Windows 2000]

    Thanks for your help again.
    President of OpenGL

  5. #5
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: What's the Reason?

    Hi !

    Check for error messages in all the wglXXX functions. I guess you have not set the OpenGL background color to black ?, in that case you don't get any OpenGL rendering at all and the problem would be realted to the initialization in some way, that's why you need to look at error codes for the wgl functions.

    Do other OpenGL application run without problems ?

    Mikael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •