Error installing VTK-7.1 [closed]
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.