[Therion] Loch and VTK 9.0.1 (on Macos)
Xavier Robert
xavier.robert at univ-grenoble-alpes.fr
Fri Sep 11 16:04:00 CEST 2020
Dear all,
I was trying to upgrade my Therion version, and this morning, the VTK package upgraded from version 8.2.0_11 to 9.0.1 (I ‘am still on macosX 10.14, and I am upgrading my binaries with Homebrew). I do not know if this is relevant, but it also upgraded pcl (1.11.1—>1.11.1_1) and qt (5.15.0—>5.15.1)
In consequence, Loch building crashes with this output (that was fine with vtk 8.2) :
./utest
===============================================================================
All tests passed (47 assertions in 19 test cases)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./xtherion
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./loch
c++ -c -Wall -D_GNU_SOURCE -DLOCH -W -Wall -std=c++11 -DLXMACOSX -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/include/vtk-9.0 -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -O2 -o lxData.o lxData.cxx
lxData.cxx:541:28: error: no member named 'SetInput' in 'vtkPolyDataNormals'; did you mean 'SetOutput'?
this->scrapWallsNormals->SetInput(this->scrapWalls);
^~~~~~~~
SetOutput
/usr/local/include/vtk-9.0/vtkPolyDataAlgorithm.h:54:16: note: 'SetOutput' declared here
virtual void SetOutput(vtkDataObject* d);
^
lxData.cxx:554:19: error: no member named 'AddInput' in 'vtkAppendPolyData'
this->allWalls->AddInput(this->scrapWallsNormals->GetOutput());
~~~~~~~~~~~~~~ ^
lxData.cxx:555:19: error: no member named 'AddInput' in 'vtkAppendPolyData'
this->allWalls->AddInput(this->lrudWalls);
~~~~~~~~~~~~~~ ^
lxData.cxx:562:27: error: no member named 'SetInput' in 'vtkTriangleFilter'; did you mean 'SetOutput'?
this->allWallsTriangle->SetInput(this->allWalls->GetOutput());
^~~~~~~~
SetOutput
/usr/local/include/vtk-9.0/vtkPolyDataAlgorithm.h:54:16: note: 'SetOutput' declared here
virtual void SetOutput(vtkDataObject* d);
^
lxData.cxx:563:25: error: no member named 'SetInput' in 'vtkDepthSortPolyData'; did you mean 'SetOutput'?
this->allWallsSorted->SetInput(this->allWallsTriangle->GetOutput());
^~~~~~~~
SetOutput
/usr/local/include/vtk-9.0/vtkPolyDataAlgorithm.h:54:16: note: 'SetOutput' declared here
virtual void SetOutput(vtkDataObject* d);
^
lxData.cxx:569:27: error: no member named 'SetInput' in 'vtkStripper'; did you mean 'SetOutput'?
this->allWallsStripped->SetInput(this->allWallsTriangle->GetOutput());
^~~~~~~~
SetOutput
/usr/local/include/vtk-9.0/vtkPolyDataAlgorithm.h:54:16: note: 'SetOutput' declared here
virtual void SetOutput(vtkDataObject* d);
^
lxData.cxx:576:25: error: no member named 'SetInput' in 'vtkPolyDataNormals'; did you mean 'SetOutput'?
this->surfaceNormals->SetInput(this->surface);
^~~~~~~~
SetOutput
/usr/local/include/vtk-9.0/vtkPolyDataAlgorithm.h:54:16: note: 'SetOutput' declared here
virtual void SetOutput(vtkDataObject* d);
^
lxData.cxx:584:26: error: no member named 'SetInput' in 'vtkTriangleFilter'; did you mean 'SetOutput'?
this->surfaceTriangle->SetInput(this->surfaceNormals->GetOutput());
^~~~~~~~
SetOutput
/usr/local/include/vtk-9.0/vtkPolyDataAlgorithm.h:54:16: note: 'SetOutput' declared here
virtual void SetOutput(vtkDataObject* d);
^
lxData.cxx:585:24: error: no member named 'SetInput' in 'vtkDepthSortPolyData'; did you mean 'SetOutput'?
this->surfaceSorted->SetInput(this->surfaceTriangle->GetOutput());
^~~~~~~~
SetOutput
/usr/local/include/vtk-9.0/vtkPolyDataAlgorithm.h:54:16: note: 'SetOutput' declared here
virtual void SetOutput(vtkDataObject* d);
^
lxData.cxx:611:6: error: no member named 'SetInput' in 'vtkPolyDataWriter'
w->SetInput(this->allWallsStripped->GetOutput());
~ ^
10 errors generated.
make[1]: *** [lxData.o] Error 1
make: *** [loch/loch] Error 2
I imaging that this is due to a new definition of the function SetInput/AddInput in the new package VTK?
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20200911/3c799ce7/attachment.htm>
More information about the Therion
mailing list