[Therion] Therion fails to compile with vtk 6
On Thu, Dec 11, 2014 at 12:42:24PM -0600, Bill Gee wrote: > 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. I already fixed this for the Debian package - you can find a patch here: http://sources.debian.net/src/therion/5.3.15-2/debian/patches/vtk6.patch/ It would be great if more of the patches we're carrying in Debian got merged so that others didn't hit these same problems and have to try to fix them again for themselves: http://sources.debian.net/src/therion/5.3.15-2/debian/patches/ If there's anything Wookey or I can do to help get them merged, please say. Cheers, Olly
[Therion] Therion fails to compile with vtk 6
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 ==