[vtkusers] Problem in VTK rendering

Mohamed AIT TAYEB mohamed.aittayeb at optopartner.com
Mon May 11 11:19:07 EDT 2009


Hello,
I have gcc 4.4 with mingw 64 bits. In vtk version 5.2.1, i have this error :

c:/VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx: In member function 
'void vtkWin32OpenGLRenderWindow::InitializeApplication()':
c:/VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx:707: error: 
'GWL_HINSTANCE' was not declared in this scope
c:/VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx: In member function 
'virtual void vtkWin32OpenGLRenderWindow::CreateAWindow()':
c:/VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx:834: error: cast from 
'vtkWin32OpenGLRenderWindow*' to 'LONG' loses precision
make[2]: *** 
[Rendering/CMakeFiles/vtkRendering.dir/vtkWin32OpenGLRenderWindow.obj] 
Error 1
make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
make: *** [all] Error 2

Thanks for your help.

-- 
Mohamed AIT TAYEB




More information about the vtkusers mailing list