<div dir="ltr">If you are using the OpenGL2 backend with 6.2 then those are expected.  I believe they have been cleaned up (mostly?) in more recent VTK builds.<div><br></div><div>Thanks</div><div>Ken</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 11, 2015 at 6:00 AM, ameloush <span dir="ltr"><<a href="mailto:theryame@gmail.com" target="_blank">theryame@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi ! And sorry for my English :)<br>
I am working on visual studio 2008 and WIndows 7 in C++<br>
I just changed of Vtk version 5.10 to 6.2, and my program runs as it is<br>
supposed to do but one thing, I have this kind of error messages in a<br>
vtkOutputWindow :<br>
<br>
ERROR: In .\vtkOpenGLRenderer.cxx, line 126<br>
vtkOpenGLRenderer (03A4D058): failed ater ClearLights 16 OpenGL errors<br>
detected<br>
  0 : (1282) Invalid operation<br>
...<br>
<br>
ERROR: In .\vtkOpenGLRenderer.cxx, line 1202<br>
vtkOpenGLRenderer (03A4D058): failed after Clear 16 OpenGL errors detected<br>
  0 : (1282) Invalid operation<br>
...<br>
<br>
ERROR: In .\vtkOpenGLCamera.cxx, line 167<br>
vtkOpenGLCamera (03A993E8): failed after Render 16 OpenGL errors detected<br>
  0 : (1282) Invalid operation<br>
...<br>
<br>
ERROR: In .\vtkOpenGLLight.cxx, line 118<br>
vtkOpenGLLight (03A9C038): failed after Render 16 OpenGL errors detected<br>
  0 : (1282) Invalid operation<br>
...<br>
<br>
ERROR: In .\vtkOpenGLRenderer.cxx, line 192<br>
vtkOpenGLRenderer (03A4D058): failed after UpdateLights 16 OpenGL errors<br>
detected<br>
  0 : (1282) Invalid operation<br>
 ...<br>
<br>
ERROR: In .\vtkOpenGLRenderer.cxx, line 282<br>
vtkOpenGLRenderer (03A4D058): failed after DeviceRender 16 OpenGL errors<br>
detected<br>
  0 : (1282) Invalid operation<br>
....<br>
<br>
I really dont know where it comes from, I added these lines to the beginning<br>
of my project (as I saw on the internet) to fix the change of version but<br>
there is still those messages :<br>
#include <vtkVersion.h><br>
 #include <vtkAutoInit.h><br>
 VTK_MODULE_INIT(vtkRenderingOpenGL);<br>
 #define vtkRenderingCore_AUTOINIT<br>
4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)<br>
#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL)<br>
<br>
Does someone have an idea?<br>
Thanks for reading,<br>
<br>
Amélie<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Problem-after-having-updating-vtk-5-10-to-6-2-tp5735483.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Problem-after-having-updating-vtk-5-10-to-6-2-tp5735483.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</div>