For what it's worth, I can load the filters I needed by doing:
import vtkFiltersExtractionPython
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.
Tim
- Original Message -
From: Tim Gallagher tim.gallag...@gatech.edu
To: Utkarsh Ayachit utkarsh.ayac...@kitware.com
Cc: ParaView list paraview@paraview.org
Sent: Saturday, November 3, 2012 8:15:27 PM
Subject: Re: [Paraview] Problem building from source
Still more problems building...
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.
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.
However, vtkExtractGrid() is still not inside the python module vtk. But, in
the install tree I have:
grep vtkExtractGrid * -R
Binary file lib/paraview-3.14/vtkFiltersExtractionPython.so matches
Binary file lib/paraview-3.14/libvtkFiltersParallelImaging-pv3.14.so.1 matches
Binary file lib/paraview-3.14/libvtkFiltersExtraction-pv3.14.so matches
Binary file lib/paraview-3.14/libvtkFiltersParallelImaging-pv3.14.so matches
Binary file lib/paraview-3.14/libvtkFiltersExtractionPython27D-pv3.14.so
matches
Binary file lib/paraview-3.14/libvtkFiltersExtraction-pv3.14.so.1 matches
Binary file lib/paraview-3.14/libvtkFiltersParallel-pv3.14.so matches
Binary file lib/paraview-3.14/libvtkFiltersGeometryPython27D-pv3.14.so.1
matches
Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefaultPython27D-pv3.14.so.1
matches
Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefault-pv3.14.so.1 matches
Binary file lib/paraview-3.14/libvtkFiltersGeometryPython27D-pv3.14.so matches
Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefault-pv3.14.so matches
Binary file lib/paraview-3.14/libvtkFiltersExtractionCS-pv3.14.so matches
Binary file lib/paraview-3.14/libvtkImagingCorePython27D-pv3.14.so.1 matches
Binary file lib/paraview-3.14/libvtkImagingCorePython27D-pv3.14.so matches
Binary file lib/paraview-3.14/libvtkFiltersExtractionPython27D-pv3.14.so.1
matches
Binary file lib/paraview-3.14/libvtkPVVTKExtensionsDefaultPython27D-pv3.14.so
matches
Binary file lib/paraview-3.14/libvtkFiltersExtractionCS-pv3.14.so.1 matches
Binary file lib/paraview-3.14/libvtkFiltersParallel-pv3.14.so.1 matches
So I don't know why I don't have access to it from pvpython.
Any ideas what went wrong?
Tim
- Original Message -
From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
To: Tim Gallagher tim.gallag...@gatech.edu
Cc: ParaView list paraview@paraview.org
Sent: Friday, November 2, 2012 10:41:01 AM
Subject: Re: [Paraview] Problem building from source
I've updated the CoProcessing WIki.
Utkarsh
On Fri, Nov 2, 2012 at 10:18 AM, Tim Gallagher tim.gallag...@gatech.edu
wrote:
Okay, thanks. I was following the directions at:
http://paraview.org/Wiki/CoProcessing
which do not mention anything about turning off QT-related things.
Thanks,
Tim
From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
To: Tim Gallagher tim.gallag...@gatech.edu
Cc: ParaView list paraview@paraview.org
Sent: Friday, November 2, 2012 10:07:37 AM
Subject: Re: [Paraview] Problem building from source
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: http://paraview.org/Wiki/ParaView_And_Mesa_3D
Utkarsh
On Thu, Nov 1, 2012 at 4:22 PM, Tim Gallagher tim.gallag...@gatech.edu
wrote:
blockquote
Hi,
I'm trying to build the code I just pulled on master:
git branch
* master
git describe
v3.14.1-2499-g16f07c1
I set VTK_USE_X to OFF:
grep USE_X CMakeCache.txt
VTK_USE_X:BOOL=OFF
but it fails while building with:
Linking CXX shared library ../../../lib/ libvtkGUISupportQt-pv3.14.so
CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function
`QVTKWidget::x11_setup_window()':
QVTKWidget.cxx:(.text+0xe65): undefined reference to `XGetWindowAttributes'
QVTKWidget.cxx:(.text+0xeb9): undefined reference to `XCreateWindow'
QVTKWidget.cxx:(.text+0xee7): undefined reference to `XGetWMColormapWindows'
QVTKWidget.cxx:(.text+0xf31): undefined reference to `XFree'
QVTKWidget.cxx:(.text+0xfdb): undefined reference to `XSetWMColormapWindows'
QVTKWidget.cxx:(.text+0xff0): undefined reference to `XFree'
QVTKWidget.cxx:(.text+0xff8): undefined reference to `XFlush'
collect2: ld returned 1 exit status
make[2]: ***