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 "Extension
GL_VERSION_1_2 could not be loaded."<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>
"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."<br clear="all"><br>I think this is a problem of building VTK but I really don'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'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"><<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>></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>
> This is the error:<br>
><br>
> Traceback (most recent call last):<br>
> File "<stdin>", line 1, in <module><br>
> File<br>
> "/usr/local/lib/python2.6/dist-packages/VTK-5.7.0-py2.6.egg/vtk/qvtk.py",<br>
> line 8, in <module><br>
> from libvtkQtPython import *<br>
> ImportError: No module named libvtkQtPython<br>
><br>
><br>
> My libvtkQtPython.so and libvtkQtPythonD.so are located in<br>
> /usr/local/lib/vtk-5.7/.<br>
><br>
> Nicola<br>
><br>
> Clinton Stimpson wrote:<br>
> > Can you try<br>
> > import vtk.qvtk<br>
> > to see if there are any errors?<br>
> ><br>
> > Clint<br>
> ><br>
> > On Thursday, September 16, 2010 09:51:24 am Nicola Creati wrote:<br>
> >> Python: 2.6.4<br>
> >> PyQt : 4.7.5<br>
> >> Qt: 4.5.2<br>
> >><br>
> >> Ubuntu 10.04 64 bit<br>
> >><br>
> >> Clinton Stimpson wrote:<br>
> >>> Then we need some more information to help you.<br>
> >>> What platform?<br>
> >>> What version of Qt, PyQt, Python?<br>
> >>><br>
> >>> Clint<br>
> >>><br>
> >>> On Thursday, September 16, 2010 09:33:37 am Nicola Creati wrote:<br>
> >>>> VTK_USE_GUISUPPORT is ON in my configuration.<br>
> >>>><br>
> >>>> Nicola<br>
> >>>><br>
> >>>> Clinton Stimpson wrote:<br>
> >>>>> Also be sure VTK_USE_GUISUPPORT is on.<br>
> >>>>><br>
> >>>>> Clint<br>
> >>>>><br>
> >>>>> On Thursday, September 16, 2010 08:20:35 am Nicola Creati wrote:<br>
> >>>>>> Hello,<br>
> >>>>>> I got today the last VTK by git and compiled using the<br>
> >>>>>> VTK_WRAP_PYTHON_SIP, VTK_WRAP_PYTHON, VTK_USE_QT but none of the<br>
> >>>>>> GUISupport Python test works (TestQVTKWidget.py and<br>
> ><br>
> >>>>>> TestQVTKWidget2.py):<br>
> ><br>
======================================================================<br>
> ><br>
> >>>>>> ERROR: testQVTKWidget (__main__.TestQVTKWidget)<br>
> >>>>>> --------------------------------------------------------------------<br>
> >>>>>> --<br>
> >>>>>><br>
> >>>>>> Traceback (most recent call last):<br>
> >>>>>> File "TestQVTKWidget.py", line 13, in testQVTKWidget<br>
> >>>>>><br>
> >>>>>> w2 = vtk.QVTKWidget()<br>
> >>>>>><br>
> >>>>>> AttributeError: 'module' object has no attribute 'QVTKWidget'<br>
> >>>>>><br>
> >>>>>> --------------------------------------------------------------------<br>
> >>>>>> --<br>
> >>>>>><br>
> >>>>>> QVTKWidget is missing.<br>
> >>>>>> Is there some other particular switch I have to set in the<br>
> >>>>>> compilation? Thanks.<br>
> >>>>>><br>
> >>>>>> Nicola<br>
> >>>>>><br>
> >>>>>> Clinton Stimpson wrote:<br>
> >>>>>>> I've not tried it, but it should work because the ParentChanged<br>
> >>>>>>> notification is implemented, whereas it isn't for<br>
> >>>>>>> QVTKRenderWindowInteractor.<br>
> >>>>>>><br>
> >>>>>>> Clint<br>
> >>>>>>><br>
> >>>>>>> On Sep 16, 2010, at 8:02 AM, Lic. José M. Rodriguez Bacallao wrote:<br>
> >>>>>>>> one pronlem that I have had with the QVTKRenderWindowInteractor is<br>
> >>>>>>>> that I can't use it with an MDI application in PyQt4, this is<br>
> >>>>>>>> solved with this bindings?<br>
> >>>>>>>><br>
> >>>>>>>> On 9/15/10, Clinton Stimpson <<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>> wrote:<br>
> >>>>>>>>> Feel free to keep it on the list.<br>
> >>>>>>>>><br>
> >>>>>>>>> The pyqt+vtk bindings are quite light.<br>
> >>>>>>>>> As for stability, it looks OK to me when using the examples and<br>
> >>>>>>>>> tests that are<br>
> >>>>>>>>> already in VTK.<br>
> >>>>>>>>><br>
> >>>>>>>>> Clint<br>
> >>>>>>>>><br>
> >>>>>>>>> On Wednesday, September 15, 2010 02:42:12 pm Lic. José M.<br>
> >>>>>>>>> Rodriguez Bacallao<br>
> >>>>>>>>><br>
> >>>>>>>>> wrote:<br>
> >>>>>>>>>> so, I will mail to Clinton Stimpson to some questions, thanks<br>
> >>>>>>>>>> for all.<br>
> >>>>>>>>>><br>
> >>>>>>>>>> On 9/15/10, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
> >>>>>>>>>>> On Wed, Sep 15, 2010 at 2:20 PM, Lic. José M. Rodriguez<br>
> >>>>>>>>>>> Bacallao<br>
> >>>>>>>>>>><br>
> >>>>>>>>>>> <<a href="mailto:jmrbcu@gmail.com">jmrbcu@gmail.com</a>> wrote:<br>
> >>>>>>>>>>>> ok, thanks, for all, one last question before I leave, how<br>
> >>>>>>>>>>>> stable are the pyqt+vtk bindings, how is memory consumption,<br>
> >>>>>>>>>>>> etc?<br>
> >>>>>>>>>>><br>
> >>>>>>>>>>> It's new code, so YMMV. I've built it but I haven't used it<br>
> >>>>>>>>>>> yet. Clinton Stimpson is the author.<br>
> >>>>>>>>>>><br>
> >>>>>>>>>>> David<br>
> >>>>>>>><br>
> >>>>>>>> Recuerda: El arca de Noe fue construida por aficionados, el<br>
> >>>>>>>> titanic por profesionales<br>
> >>>>>>>> -----------------------------------------------------------------<br>
> >>>>>>><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<br>
> >>>>>>> <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:<br>
> >>>>>>> <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>
> >>>>><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<br>
> >>>>> <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:<br>
> >>>>> <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>
> >>><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<br>
> >>> <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:<br>
> >>> <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>
> ><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<br>
> > <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:<br>
> > <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>
_______________________________________________<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>