Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cmake build error

Hi,

I am working on archlinux, and my opencv version is 3.4.3(by the output of pkg-config --modversion opencv).

My CMakeLists.txt is like this:

cmake_minimum_required(VERSION 2.8.12)
project(example)


if (CMAKE_COMPILER_IS_GNUCXX)
    set (CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
    message ("CMAKE_CXX_FLAGS is: ${CMAKE_CXX_FLAGS}")
endif (CMAKE_COMPILER_IS_GNUCXX)

find_package(PkgConfig REQUIRED)
pkg_check_modules(OPENCV REQUIRED opencv)


add_executable(main convert_cifar10.cpp)
target_link_libraries(main PRIVATE tcmalloc ${OPENCV_LIBRARIES}) 
target_include_directories(main PRIVATE ${OPENCV_INCLUDE_DIRS})
target_compile_options(main PRIVATE ${OPENCV_CFLAGS_OTHER})

when I run cmake ., I got the tons of errors like this:

[100%] Linking CXX executable main /usr/bin/ld: warning: libvtkInteractionStyle.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkFiltersExtraction.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkRenderingLOD.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkIOPLY.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkFiltersTexture.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkIOExport.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkIOImage.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkRenderingGL2PSOpenGL2.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkIOGeometry.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkImagingCore.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkRenderingFreeType.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkRenderingOpenGL2.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkRenderingCore.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkFiltersSources.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkFiltersGeneral.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkFiltersCore.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkIOCore.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkCommonExecutionModel.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkCommonDataModel.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkCommonTransforms.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkCommonMath.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libvtkCommonCore.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link) /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOStreamWrapper::operator<<(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyData::GetNumberOfPolys()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetReleaseDataFlag(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderingFreeType_AutoInit_Construct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderWindowInteractor::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObject::UnRegisterInternal(vtkObjectBase, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::SetTDxStyle(vtkTDxInteractorStyle*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataSetAttributes::SetTCoords(vtkDataArray)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetInputConnection(vtkAlgorithmOutput*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorObserver::SetDefaultRenderer(vtkRenderer)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractionStyle_AutoInit_Construct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPLYWriter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::CopyInputArrayAttributesToOutput(vtkInformation*, vtkInformationVector**, vtkInformationVector*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkSmartPointerBase::vtkSmartPointerBase(vtkObjectBase, vtkSmartPointerBase::NoReference const&)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::SetInteractor(vtkRenderWindowInteractor*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkOStreamWrapper::operator<<(char const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObject::GetGlobalWarningDisplay()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkMapper::SetLookupTable(vtkScalarsToColors)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::Update(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderingOpenGL2_AutoInit_Construct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderWindowInteractor::SetRenderWindow(vtkRenderWindow*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataSetAttributes::SetScalars(vtkDataArray)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObjectBase::PrintSelf(std::ostream&, vtkIndent)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::UnRegister(vtkObjectBase)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::ExecuteData(vtkDataObject*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTransformPolyDataFilter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkSTLReader::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::HighlightProp(vtkProp)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::SetParallelScale(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCubeSource::SetBounds(double const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageData::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::SetOutput(vtkDataObject)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkDataObject::DATA_OBJECT()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTensorGlyph::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPlaneSource::SetPoint2(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::SetInformation(vtkInformation)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::EndDolly()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageMapper::GetInput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::StartState(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkOStrStreamWrapper::rdbuf()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::Register(vtkObjectBase*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDebugLeaksManager::vtkDebugLeaksManager()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorObserver::SetCurrentRenderer(vtkRenderer*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkOutlineSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::RemoveInputConnection(int, vtkAlgorithmOutput*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataObject::ORIGIN()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkTransformConcatenation::Identity()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkMatrix4x4::DeepCopy(double, double const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyDataAlgorithm::PrintSelf(std::ostream&, vtkIndent)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCamera::SetPosition(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetInputArrayToProcess(int, int, int, int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkSmartPointerBase::vtkSmartPointerBase(vtkObjectBase)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkLineSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderWindowInteractor::DestroyTimer(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkDataSetAttributes::GetTCoords()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCamera::Azimuth(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkProp3D::SetUserMatrix(vtkMatrix4x4*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataSetAlgorithm::SetInputData(vtkDataSet)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObjectBase::Delete()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::PrintTrailer(std::ostream&, vtkIndent)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::GetLines()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorObserver::RegisterPickers()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::AddInputConnection(int, vtkAlgorithmOutput*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::SetExecutive(vtkExecutive)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::GetActiveCamera()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::StartPan()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to typeinfo for vtkImageAlgorithm' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectFactoryRegistryCleanup::vtkObjectFactoryRegistryCleanup()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkDataObject::SPACING()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTextActor::GetInput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPNGWriter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInformation::Set(vtkInformationStringVectorKey, char const, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::ComputeVisiblePropBounds(double*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCamera::Pitch(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::AddActor(vtkProp*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkLODActor::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkMapper::GetInput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorObserver::GrabFocus(vtkCommand, vtkCommand)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAOSDataArrayTemplate<long long>::GetPointer(long long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageAlgorithm::FillOutputPortInformation(int, vtkInformation)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::GetData(vtkInformationVector*, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageData::GetNumberOfScalarComponents()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkProp3D::GetUserMatrix()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWriter::GetInput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageFlip::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::ProcessRequest(vtkInformation, vtkInformationVector, vtkInformationVector)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::StartUniformScale()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAOSDataArrayTemplate<double>::AllocateTuples(long long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkTextActor::SetInput(char const*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageAlgorithm::SetOutput(vtkDataObject)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOBJExporter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::RequestUpdateExtent(vtkInformation, vtkInformationVector, vtkInformationVector)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::ReportReferences(vtkGarbageCollector)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkDataSetAttributes::GetScalars()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWriter::RequestData(vtkInformation, vtkInformationVector, vtkInformationVector)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::RequestUpdateExtent(vtkInformation*, vtkInformationVector**, vtkInformationVector*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkActor2D::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAOSDataArrayTemplate<unsigned char>::SetArray(unsigned char*, long long, int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::EndUniformScale()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::Register(vtkObjectBase)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::FindPokedRenderer(int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataArray::InsertNextTuple3(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPlanes::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorObserver::PickersModified()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::PrintSelf(std::ostream&, vtkIndent)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCamera::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to typeinfo for vtkInteractorStyle' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::SetInputConnection(int, vtkAlgorithmOutput)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkSmartPointerBase::operator=(vtkSmartPointerBase const&)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::UnRegisterInternal(vtkObjectBase, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::SetViewUp(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkSmartPointerBase::vtkSmartPointerBase()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyDataAlgorithm::GetOutput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTransformConcatenation::Concatenate(double const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::HighlightProp3D(vtkProp3D*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderWindowInteractor::CreateRepeatingTimer(unsigned long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::OrthogonalizeViewUp()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkFrustumSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorObserver::StartInteraction()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::OnChar()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::Yaw(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataMapper::SetInputData(vtkPolyData)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOStrStreamWrapper::vtkOStrStreamWrapper()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPoints::GetBounds()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::UpdateInformation()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObject::DebugOn()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInformation::Get(vtkInformationDataObjectKey*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::StopAnimate()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyDataAlgorithm::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCellArray::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkDataSetAttributes::SetTensors(vtkDataArray*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::~vtkObjectBase()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::AllocateOutputData(vtkImageData*, vtkInformation*, int*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::StartRotate()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::UpdateWholeExtent()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::UpdateExtent(int const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkSphereSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::INPUT_REQUIRED_DATA_TYPE()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageMapper::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDiskSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::GetActors()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageAlgorithm::FillInputPortInformation(int, vtkInformation)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkWriter::GetInput(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObject::GetMTime()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::ModifyRequest(vtkInformation*, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkVectorText::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::AddInputData(int, vtkDataObject*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDoubleArray::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCubeSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWriter::ProcessRequest(vtkInformation, vtkInformationVector, vtkInformationVector)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkViewport::RemoveAllViewProps()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkColorTransferFunction::AddRGBPoint(double, double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetNthInputConnection(int, int, vtkAlgorithmOutput*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorObserver::EndInteraction()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::StartAnimate()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkArrowSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::AddLight(vtkLight*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::InitializeObjectBase()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::PrintSelf(std::ostream&, vtkIndent)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAxes::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObjectBase::GetClassName() const' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::AddInputConnection(vtkAlgorithmOutput)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::ComputePipelineMTime(vtkInformation*, vtkInformationVector**, vtkInformationVector*, int, unsigned long*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkSmartPointerBase::vtkSmartPointerBase(vtkSmartPointerBase const&)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::GetNumberOfVerts()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCamera::SetFocalPoint(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::Update(int, vtkInformationVector)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::RemoveInputConnection(int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::vtkObjectBase()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyDataMapper::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::StartSpin()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetInputDataObject(int, vtkDataObject*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithmOutput::GetProducer()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyDataMapper::GetInput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::FillInputPortInformation(int, vtkInformation)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::GetPolys()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::EndPan()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRendererCollection::GetFirstRenderer()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tooperator<<(std::ostream&, vtkIndent const&)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderingGL2PSOpenGL2_AutoInit_Destruct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkActor2D::SetDisplayPosition(int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to typeinfo for vtkPolyDataAlgorithm' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectFactoryRegistryCleanup::~vtkObjectFactoryRegistryCleanup()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorObserver::ComputeWorldToDisplay(vtkRenderer*, double, double, double, double*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::RemoveAllInputConnections(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::GetStrips()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWriter::Write()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCommand::vtkCommand()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObjectBase::IsTypeOf(char const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkActor::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageAlgorithm::CopyAttributeData(vtkImageData, vtkImageData, vtkInformationVector)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOStrStreamWrapper::str()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyData::GetVerts()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetInputArrayToProcess(int, int, int, char const*, char const*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAOSDataArrayTemplate<long long="">::WritePointer(long long, long long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkTransform::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::FillOutputPortInformation(int, vtkInformation)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObjectBase::FastDelete()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::~vtkInteractorStyle()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::AddInputData(vtkDataObject*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::EndRotate()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetNumberOfInputConnections(int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::GetOutputPort(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOStrStreamWrapper::~vtkOStrStreamWrapper()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyData::GetNumberOfStrips()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyDataNormals::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAppendPolyData::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObjectBase::PrintHeader(std::ostream&, vtkIndent)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataSetAttributes::GetNormals()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::UpdateTimeStep(double, int, int, int, int const*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObject::AddObserver(unsigned long, vtkCommand, float)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::ReportReferences(vtkGarbageCollector*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::vtkPolyDataAlgorithm()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::Dolly(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObject::InvokeEvent(unsigned long, void)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOStreamWrapper::operator<<(void*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObject::BreakOnError()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::StartTwoPointer()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderingOpenGL2_AutoInit_Destruct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkLight::SetColor(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageAlgorithm::Execute()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkWindowToImageFilter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::SetInputArrayToProcess(int, int, int, int, char const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPLYReader::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::AddInputDataObject(int, vtkDataObject)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkUnsignedCharArray::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkSmartPointerBase::~vtkSmartPointerBase()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkTextureMapToPlane::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderWindow::SetStereoRender(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPLYReader::CanReadFile(char const*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkVRMLExporter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObject::InvokeEvent(char const*, void*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageData::GetScalarType()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkTexture::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::StartTimer()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::SetViewAngle(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::GetInputConnection(int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkDebugLeaksManager::~vtkDebugLeaksManager()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInformationVector::GetInformationObject(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::Roll(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAppendPolyData::AddInputData(vtkPolyData)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderingFreeType_AutoInit_Destruct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderingGL2PSOpenGL2_AutoInit_Construct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInformation::Set(vtkInformationIntegerVectorKey*, int const*, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkConeSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::EndZoom()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkSmartPointerBase::operator=(vtkObjectBase)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorObserver::ComputeWorldToDisplay(double, double, double, double*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkOStrStreamWrapper::freeze(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::SetActiveCamera(vtkCamera*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkOutputWindowDisplayErrorText(char const)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::SetUserTransform(vtkHomogeneousTransform*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::~vtkPolyDataAlgorithm()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkElevationFilter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::StartDolly()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkWindowToImageFilter::GetOutput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCommand::UnRegister()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::vtkInteractorStyle()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkActor::GetProperty()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOStreamWrapper::operator<<(unsigned long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderer::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::Update(vtkInformation*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorObserver::ReleaseFocus()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorObserver::ComputeDisplayToWorld(double, double, double, double*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkExtractEdges::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::AllocateOutputData(vtkDataObject*, vtkInformation*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWriter::~vtkWriter()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkOBJReader::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWindowToImageFilter::SetInput(vtkWindow)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorObserver::ComputeDisplayToWorld(vtkRenderer*, double, double, double, double*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkCamera::SetClippingRange(double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::RemoveActor(vtkProp*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkMatrix4x4::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAOSDataArrayTemplate<unsigned char>::AllocateTuples(long long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataObject::SetPointDataActiveScalarInfo(vtkInformation, int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetInputArrayToProcess(int, vtkInformation*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataSetAlgorithm::GetOutput()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::vtkImageAlgorithm()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTextActor::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkRenderer::RemoveAllLights()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::SetInputData(vtkDataObject)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::SetParallelProjection(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::CreateDefaultExecutive()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAOSDataArrayTemplate<long long>::AllocateTuples(long long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkOStreamWrapper::operator<<(long long)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInformation::Set(vtkInformationDoubleVectorKey*, double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTransformConcatenation::Rotate(double, double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkTransformConcatenation::Scale(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::UpdateDataObject()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkImageAlgorithm::ExecuteDataWithInformation(vtkDataObject*, vtkInformation*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::Update()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::SetLines(vtkCellArray*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataSetAttributes::SetNormals(vtkDataArray)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetNumberOfOutputPorts(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkLight::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::StartZoom()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageReslice::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPlanes::SetFrustumPlanes(double*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::UnRegister(vtkObjectBase)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::SetStrips(vtkCellArray*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTensorGlyph::SetSourceData(vtkPolyData)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObjectBase::RegisterInternal(vtkObjectBase*, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPoints::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObject::RegisterInternal(vtkObjectBase*, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkImageAlgorithm::~vtkImageAlgorithm()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkColorTransferFunction::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWriter::PrintSelf(std::ostream&, vtkIndent)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::EndSpin()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkDataSetMapper::SetInputData(vtkDataSet)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::SetNumberOfInputPorts(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAssemblyPath::GetLastNode()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkActor2D::GetProperty()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPlaneSource::SetPoint1(double, double, double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkCamera::Elevation(double)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::SetEnabled(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkInteractorStyle::EndTwoPointer()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkWriter::vtkWriter()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObject::DebugOff()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkTubeFilter::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::GetNumberOfLines()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractionStyle_AutoInit_Destruct()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::PropagateUpdateExtent()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::HighlightActor2D(vtkActor2D)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkFollower::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::GetReleaseDataFlag()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObject::Modified()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkFloatArray::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to typeinfo for vtkObjectBase' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkRenderWindow::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkObject::HasObserver(char const*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::EndTimer()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPolyData::SetVerts(vtkCellArray*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkAlgorithm::FillOutputPortInformation(int, vtkInformation)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkDataSetMapper::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference totypeinfo for vtkWriter' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::UpdatePiece(int, int, int, int const*)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkObject::SetGlobalWarningDisplay(int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkAlgorithm::GetInputAlgorithm(int, int)' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkInteractorStyle::StopState()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to vtkPlaneSource::New()' /usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference tovtkPolyDataAlgorithm::RequestInformation(vtkInformation, vtkInformationVector, vtkInformationVector)' collect2: error: ld returned 1 exit status make[2]: * [CMakeFiles/main.dir/build.make:131: main] Error 1 make[1]: [CMakeFiles/Makefile2:73: CMakeFiles/main.dir/all] Error 2 make: ** [Makefile:84: all] Error 2

Sorry for making this so tedious, I just would like to know how I could get myself rid of this problem please ?