[vtkusers] wglMakeCurrent failed in MakeCurrent() when running VTK examples

James Zhou henryjoye at gmail.com
Mon Oct 8 08:11:36 EDT 2007


Hi, all,

I posted my problem two days before and got no response. I have to express
my problems more clearly. I hope you help me.

I use the VTK CVS nightly source of Oct. 7,2007 in my applications. I built
the VTK source successfully on Win XP using MSVC 2005. I set using CG Shader
and GLSL shader be on during cmaking. My graphics card is GeForce 8300 and I
updated the graphics driver to be the latest. When I run VTK examples, there
is no display window shown. The error is as follows:

Description: ERROR: In E:\Kitware\VTK\Rendering\vtkWin32OpenGLRenderWindow.cxx,
line 235
vtkWin32OpenGLRenderWindow (03A4C500): wglMakeCurrent failed in
MakeCurrent(), error: The handle is invalid.

When I build the VTK5.0 release sourcr and run its examples, everything is
ok. It seems that it is because of the CVS nightly source problem. If not,
could anyone show me any solutions? Many thanks!

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071008/f66ec8f0/attachment.htm>


More information about the vtkusers mailing list