<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>For what it's worth, I can load the filters I needed by doing:<br><br> import vtkFiltersExtractionPython<br><br>which appears to be missing from lib/paraview-3.14/site-packages/paraview/vtk/__init__.py for some reason... I'm not ruling out that I screwed up the build somehow since the Module_vtkFiltersExtraction was OFF and INTERNAL until I changed it.<br><br>Tim<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Tim Gallagher" <tim.gallagher@gatech.edu><br><b>To: </b>"Utkarsh Ayachit" <utkarsh.ayachit@kitware.com><br><b>Cc: </b>"ParaView list" <paraview@paraview.org><br><b>Sent: </b>Saturday, November 3, 2012 8:15:27 PM<br><b>Subject: </b>Re: [Paraview] Problem building from source<br><br><style>p { margin: 0; }</style><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000">Still more problems building...<br><br>I have python wrapping turned on, and it built fine. But I tried to run a programmable filter that uses vtk.vtkExtractGrid() and it says it doesn't exist in the module. <br><br>So I looked through the CMakeCache.txt and Module_vtkFiltersGeneral and Module_vtkFiltersExtraction were both set to INTERNAL and OFF. I couldn't figure out how to make them appear, so on a whim I changed them both to ON and reconfigured and regenerated. This made them appear in the ccmake screen. Then I built and no errors. <br><br>However, vtkExtractGrid() is still not inside the python module vtk. But, in the install tree I have:<br><br>> grep vtkExtractGrid * -R<br>Binary file lib/paraview-3.14/vtkFiltersExtractionPython.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersParallelImaging-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkFiltersExtraction-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersParallelImaging-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersExtractionPython27D-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersExtraction-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkFiltersParallel-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersGeometryPython27D-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefaultPython27D-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefault-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkFiltersGeometryPython27D-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefault-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersExtractionCS-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkImagingCorePython27D-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkImagingCorePython27D-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersExtractionPython27D-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefaultPython27D-pv3.14.so matches<br>Binary file lib/paraview-3.14/libvtkFiltersExtractionCS-pv3.14.so.1 matches<br>Binary file lib/paraview-3.14/libvtkFiltersParallel-pv3.14.so.1 matches<br><br>So I don't know why I don't have access to it from pvpython. <br><br>Any ideas what went wrong?<br><br>Tim<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Utkarsh Ayachit" <utkarsh.ayachit@kitware.com><br><b>To: </b>"Tim Gallagher" <tim.gallagher@gatech.edu><br><b>Cc: </b>"ParaView list" <paraview@paraview.org><br><b>Sent: </b>Friday, November 2, 2012 10:41:01 AM<br><b>Subject: </b>Re: [Paraview] Problem building from source<br><br>I've updated the CoProcessing WIki. <div><br></div><div>Utkarsh</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 2, 2012 at 10:18 AM, Tim Gallagher <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">Okay, thanks. I was following the directions at:<br>
<br><a href="http://paraview.org/Wiki/CoProcessing" target="_blank">http://paraview.org/Wiki/CoProcessing</a><br><br>which do not mention anything about turning off QT-related things. <br><br>Thanks,<br><br>Tim<br><br><hr>
<div style="font-size:12pt;font-style:normal;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal"><b>From: </b>"Utkarsh Ayachit" <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>><br>
<b>To: </b>"Tim Gallagher" <<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>><br><b>Cc: </b>"ParaView list" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>
<b>Sent: </b>Friday, November 2, 2012 10:07:37 AM<br><b>Subject: </b>Re: [Paraview] Problem building from source<div><div class="h5"><br><br>Yes, you'll need X if QT is enabled. You'll have to turn off PARAVIEW_BUILD_QT_GUI as well. Note, additionally, you'll need to use OSMesa. Refer to instructions here: <a href="http://paraview.org/Wiki/ParaView_And_Mesa_3D" target="_blank">http://paraview.org/Wiki/ParaView_And_Mesa_3D</a><div>
<br><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 4:22 PM, Tim Gallagher <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to build the code I just pulled on master:<br>
<br>
> git branch<br>
* master<br>
<br>
> git describe<br>
v3.14.1-2499-g16f07c1<br>
<br>
I set VTK_USE_X to OFF:<br>
<br>
> grep "USE_X" CMakeCache.txt<br>
VTK_USE_X:BOOL=OFF<br>
<br>
but it fails while building with:<br>
<br>
Linking CXX shared library ../../../lib/<a href="http://libvtkGUISupportQt-pv3.14.so" target="_blank">libvtkGUISupportQt-pv3.14.so</a><br>
CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function `QVTKWidget::x11_setup_window()':<br>
QVTKWidget.cxx:(.text+0xe65): undefined reference to `XGetWindowAttributes'<br>
QVTKWidget.cxx:(.text+0xeb9): undefined reference to `XCreateWindow'<br>
QVTKWidget.cxx:(.text+0xee7): undefined reference to `XGetWMColormapWindows'<br>
QVTKWidget.cxx:(.text+0xf31): undefined reference to `XFree'<br>
QVTKWidget.cxx:(.text+0xfdb): undefined reference to `XSetWMColormapWindows'<br>
QVTKWidget.cxx:(.text+0xff0): undefined reference to `XFree'<br>
QVTKWidget.cxx:(.text+0xff8): undefined reference to `XFlush'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [lib/libvtkGUISupportQt-pv3.14.so.1] Error 1<br>
make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
Am I missing something? Why is VTK looking for X if I said not to use it? Does not using X imply QT shouldn't be turned on? If so, should that be enforced in CMake?<br>
<br>
Thanks,<br>
<br>
Tim<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>
</div></div></div><br></div></div></blockquote></div><br></div>
</div><br></div><br>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br><br>Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.paraview.org/mailman/listinfo/paraview<br></div><br></div></body></html>