[Therion] Therion fails to compile with vtk 6

Bill Gee bgee at campercaver.net
Thu Dec 11 19:42:24 CET 2014


Hello everyone -

This is not a big deal to me because 1) I know how to get around it and 2) I 
don't use Loch anyway.  However, for those to DO care, I thought I would post 
some information.  The final few lines of the compile run are listed below.  

This is from 64-bit Fedora 21 and Therion 5.3.15.  VTK version 6.1.0-18.fc21 
is installed using the RPM packages from the main Fedora repository.  I had to 
link the existing vtk directory to the location where Therion's make file 
expected it.

	ln  -s  /usr/include/vtk  /usr/local/include/vtk-5.4

Without the link it fails much earlier in the loch compile.

Based on this it appears to me that major changes have been made between vtk 5 
and 6.   Eventually I am sure other people will run into this problem.

The workaround is to modify makefile so that it never attempts to compile loch.  
There is also a change to makeinstall.tcl.

Bill Gee



================
lxData.cxx:543:28: error: ‘class vtkPolyDataNormals’ has no member named 
‘SetInput’
   this->scrapWallsNormals->SetInput(this->scrapWalls);
                            ^
lxData.cxx:550:19: error: ‘class vtkAppendPolyData’ has no member named 
‘AddInput’
   this->allWalls->AddInput(this->scrapWallsNormals->GetOutput());
                   ^
lxData.cxx:551:19: error: ‘class vtkAppendPolyData’ has no member named 
‘AddInput’
   this->allWalls->AddInput(this->lrudWalls);
                   ^
lxData.cxx:553:27: error: ‘class vtkTriangleFilter’ has no member named 
‘SetInput’
   this->allWallsTriangle->SetInput(this->allWalls->GetOutput());
                           ^
lxData.cxx:554:25: error: ‘class vtkDepthSortPolyData’ has no member named 
‘SetInput’
   this->allWallsSorted->SetInput(this->allWallsTriangle->GetOutput());
                         ^
lxData.cxx:556:27: error: ‘class vtkStripper’ has no member named ‘SetInput’
   this->allWallsStripped->SetInput(this->allWallsTriangle->GetOutput());
                           ^
lxData.cxx:559:24: error: ‘class vtkPolyDataNormals’ has no member named 
‘SetInput’
  this->surfaceNormals->SetInput(this->surface);
                        ^
lxData.cxx:562:26: error: ‘class vtkTriangleFilter’ has no member named 
‘SetInput’
   this->surfaceTriangle->SetInput(this->surfaceNormals->GetOutput());
                          ^
lxData.cxx:563:24: error: ‘class vtkDepthSortPolyData’ has no member named 
‘SetInput’
   this->surfaceSorted->SetInput(this->surfaceTriangle->GetOutput());
                        ^
lxData.cxx: In member function ‘void lxData::ExportVTK(wxString)’:
lxData.cxx:585:6: error: ‘class vtkPolyDataWriter’ has no member named 
‘SetInput’
   w->SetInput(this->allWallsStripped->GetOutput());
      ^
Makefile:110: recipe for target '.././loch/lxData.o' failed
make[1]: *** [.././loch/lxData.o] Error 1
make[1]: Leaving directory '/home/bgee/Installs/therion/loch'
Makefile:182: recipe for target 'loch/loch' failed
make: *** [loch/loch] Error 2
==================



More information about the Therion mailing list