PDA

View Full Version : What's the Reason?



Sinotorpedo
10-17-2002, 10:18 PM
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

mikael_aronsson
10-17-2002, 11:46 PM
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

Sinotorpedo
10-19-2002, 04:24 AM
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.

Sinotorpedo
10-19-2002, 04:25 AM
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.

mikael_aronsson
10-20-2002, 01:01 AM
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