Error installing VTK-7.1
I am trying to use the noether library in a ROS project and my build keeps failing due to the VTK library. My workspace is currently using melodic libraries. My machine currently has VTK6.3 but the library is requesting VTK7.1. I tried installing VTK7.1 from source and fixed one error but now I have another error. The error stated that it could not find the following files,
/usr/bin/ld: cannot find -lvtkChartsCore
/usr/bin/ld: cannot find -lvtkCommonColor
/usr/bin/ld: cannot find -lvtkCommonCore
/usr/bin/ld: cannot find -lvtksys
/usr/bin/ld: cannot find -lvtkCommonDataModel
/usr/bin/ld: cannot find -lvtkCommonMath
/usr/bin/ld: cannot find -lvtkCommonMisc
/usr/bin/ld: cannot find -lvtkCommonSystem
/usr/bin/ld: cannot find -lvtkCommonTransforms
/usr/bin/ld: cannot find -lvtkCommonExecutionModel
/usr/bin/ld: cannot find -lvtkFiltersGeneral
/usr/bin/ld: cannot find -lvtkCommonComputationalGeometry
/usr/bin/ld: cannot find -lvtkFiltersCore
/usr/bin/ld: cannot find -lvtkInfovisCore
/usr/bin/ld: cannot find -lvtkFiltersExtraction
/usr/bin/ld: cannot find -lvtkFiltersStatistics
/usr/bin/ld: cannot find -lvtkImagingFourier
/usr/bin/ld: cannot find -lvtkImagingCore
/usr/bin/ld: cannot find -lvtkalglib
/usr/bin/ld: cannot find -lvtkRenderingContext2D
I think I installed VTK7.1 improperly which caused this error. The files it can't find are related to VTK.
These were the steps I took to install VTK7.1,
cd /usr/lib/cmake
wget https://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz
sudo tar xf /usr/lib/cmake/VTK-7.1.0.tar.gz
cd VTK-7.1.0/
sudo ccmake ../VTK-7.1.0
Any help would be greatly appreciated I don't know how to fix this error.
Asked by Jobros on 2019-03-25 15:59:16 UTC
Answers
Seeing as this is a very specific (installation) error for a single package I would recommend to post this as an issue on their tracker: ros-industrial/noether/issues.
Asked by gvdhoorn on 2019-03-25 16:04:07 UTC
Comments