Hi, guys,<br><br>  I am sorry to jump in your discussion. But I really 
wish to get some expertise here to help me with a problem of &quot;Extension 
GL_VERSION_1_2 could not be loaded.&quot;<br><br>I am trying to install a VTK extension for 
MATLAB - matVTK. When I am displaying the volume data, MATLAB crashes.<br><br>The error message is in display window as 
follow,<br>
&quot;ERROR: In E:\Download\vtk-5.6.0\Rendering\vtkOpenGLExtensionManager.cxx, line 341<br>vtkOpenGLExtensionManager (051B91B8): Extension GL_VERSION_1_2 could not be loaded.&quot;<br clear="all"><br>I think this is a problem of building VTK but I really don&#39;t know how to fix it. How should I link it with OpenGL in 
Visual Studio? I tried to rebuild it several times and upgrade the graphics card driver but it doesn&#39;t help. <br><br>I really wish you could give me some suggestions on this. Thank you and sorry for interupting your discussion.<br>
<br><div class="gmail_quote">On Thu, Sep 16, 2010 at 12:34 PM, Clinton Stimpson <span dir="ltr">&lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Ok, I see that it is installing libvtkQtPython to the wrong location.<br>
As a workaround until it is fixed, you can add /usr/local/lib/vtk-5.7/ to your<br>
PYTHONPATH.<br>
<br>
Clint<br>
<div><div></div><div class="h5"><br>
On Thursday, September 16, 2010 10:07:11 am Nicola Creati wrote:<br>
&gt; This is the error:<br>
&gt;<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
&gt;   File<br>
&gt; &quot;/usr/local/lib/python2.6/dist-packages/VTK-5.7.0-py2.6.egg/vtk/qvtk.py&quot;,<br>
&gt; line 8, in &lt;module&gt;<br>
&gt;     from libvtkQtPython import *<br>
&gt; ImportError: No module named libvtkQtPython<br>
&gt;<br>
&gt;<br>
&gt; My libvtkQtPython.so and  libvtkQtPythonD.so are located in<br>
&gt; /usr/local/lib/vtk-5.7/.<br>
&gt;<br>
&gt; Nicola<br>
&gt;<br>
&gt; Clinton Stimpson wrote:<br>
&gt; &gt; Can you try<br>
&gt; &gt; import vtk.qvtk<br>
&gt; &gt; to see if there are any errors?<br>
&gt; &gt;<br>
&gt; &gt; Clint<br>
&gt; &gt;<br>
&gt; &gt; On Thursday, September 16, 2010 09:51:24 am Nicola Creati wrote:<br>
&gt; &gt;&gt; Python:  2.6.4<br>
&gt; &gt;&gt; PyQt :    4.7.5<br>
&gt; &gt;&gt; Qt:         4.5.2<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Ubuntu 10.04 64 bit<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Clinton Stimpson wrote:<br>
&gt; &gt;&gt;&gt; Then we need some more information to help you.<br>
&gt; &gt;&gt;&gt; What platform?<br>
&gt; &gt;&gt;&gt; What version of Qt, PyQt, Python?<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Clint<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On Thursday, September 16, 2010 09:33:37 am Nicola Creati wrote:<br>
&gt; &gt;&gt;&gt;&gt; VTK_USE_GUISUPPORT is ON in my configuration.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Nicola<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Clinton Stimpson wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt; Also be sure VTK_USE_GUISUPPORT is on.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Clint<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; On Thursday, September 16, 2010 08:20:35 am Nicola Creati wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; I got today the last VTK by git and compiled using the<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; VTK_WRAP_PYTHON_SIP, VTK_WRAP_PYTHON, VTK_USE_QT but none of the<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; GUISupport Python test works (TestQVTKWidget.py and<br>
&gt; &gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; TestQVTKWidget2.py):<br>
&gt; &gt;<br>
======================================================================<br>
&gt; &gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; ERROR: testQVTKWidget (__main__.TestQVTKWidget)<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------------<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Traceback (most recent call last):<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;   File &quot;TestQVTKWidget.py&quot;, line 13, in testQVTKWidget<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;     w2 = vtk.QVTKWidget()<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; AttributeError: &#39;module&#39; object has no attribute &#39;QVTKWidget&#39;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------------<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; QVTKWidget is missing.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Is there some other particular switch I have to set in the<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; compilation? Thanks.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Nicola<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Clinton Stimpson wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; I&#39;ve not tried it, but it should work because the ParentChanged<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; notification is implemented, whereas it isn&#39;t for<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; QVTKRenderWindowInteractor.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Clint<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; On Sep 16, 2010, at 8:02 AM, Lic. José M. Rodriguez Bacallao wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; one pronlem that I have had with the QVTKRenderWindowInteractor is<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that I can&#39;t use it with an MDI application in PyQt4, this is<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; solved with this bindings?<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 9/15/10, Clinton Stimpson &lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Feel free to keep it on the list.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The pyqt+vtk bindings are quite light.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; As for stability, it looks OK to me when using the examples and<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; tests that are<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; already in VTK.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Clint<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wednesday, September 15, 2010 02:42:12 pm Lic. José M.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Rodriguez Bacallao<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; so, I will mail to Clinton Stimpson  to some questions, thanks<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; for all.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 9/15/10, David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Sep 15, 2010 at 2:20 PM, Lic. José M. Rodriguez<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Bacallao<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:jmrbcu@gmail.com">jmrbcu@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ok, thanks, for all, one last question before I leave, how<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; stable are the pyqt+vtk bindings, how is memory consumption,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; etc?<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; It&#39;s new code, so YMMV.  I&#39;ve built it but I haven&#39;t used it<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; yet. Clinton Stimpson is the author.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   David<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Recuerda: El arca de Noe fue construida por aficionados, el<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; titanic por profesionales<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -----------------------------------------------------------------<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt; &gt;&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; &gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt; &gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; &gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;<br>
&gt; &gt; Visit other Kitware open-source projects at<br>
&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;<br>
&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt;<br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Yuanming Suo<br><br><br>