LeGO-LOAM icon indicating copy to clipboard operation
LeGO-LOAM copied to clipboard

The imported target "vtk**" references the file "/usr/bin/***" but this file does not exist。Ubuntu 20

Open SYLJSTK opened this issue 4 years ago • 13 comments

When I compile the program,I tried to add the soft connection of VTK, but I just deleted the VTK item. The others can't be found in my system

The imported target "vtkParseOGLExt" references the file "/usr/bin/vtkParseOGLExt-7.1" but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake" but not all the files it references.

-- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake" but not all the files it references.

-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake" but not all the files it references.

-- The imported target "pvtk" references the file "/usr/bin/pvtk" but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake" but not all the files it references.

SYLJSTK avatar Nov 19 '21 02:11 SYLJSTK

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 02:01 stale[bot]

I've had the same problem recently.

yongchao987 avatar Apr 11 '22 04:04 yongchao987

I can not solve the prolem. You can try the Ubuntu 18

SYLJSTK avatar Apr 11 '22 07:04 SYLJSTK

Issue (possible bug) with how VTK is named on Ubuntu 20. Delete your /devel /build folders and navigate to /usr/bin/vtk. Run the following command to copy the vtk7 file with a new name:

sudo cp ./vtk7 ./vtk

Then compile:

catkin_make -j1

Should work now. If there are any other issues with Ubuntu 20, refer to this Issue.

L-Reichardt avatar Jul 18 '22 11:07 L-Reichardt

@L-Reichardt 's solution works. The issue comes from different naming of vtk on ubuntu. It should be /vtk but /vtk7 (with the version) on the machine. You could also try creating a link like sudo ln command.

yinhaosen avatar Aug 18 '22 03:08 yinhaosen

I have the same set of warnings as @SYLJSTK, but for a different library (PCL). Creating a soft link to /usr/bin/vtk7 as /usr/bin/vtk removes that one warning. There are other references to files such as the vtkParseOGLExt-7.1 or pvtk which do not even exist in my /usr/bin/. I assume it should be as simple as installing some packages which will then have these binaries present in /usr/bin/. But I am not sure exactly what should I install? A simple apt-cache search does not show any packages named pvtk or vtkParseOGLExt-7.1.

Any help regarding this would be very appreciated. Many thanks in advance :)

shrinivas96 avatar Jun 07 '23 10:06 shrinivas96

did someone manage to resolve this problem ? I also have this pvtk error and others...

Vicktoria13 avatar Nov 14 '23 18:11 Vicktoria13

@Vicktoria13 Did you ever solve this ?

Did anyone resolve this issue ?

image

anath93 avatar Dec 22 '23 16:12 anath93