xArm-Developer / xarm_ros

ROS packages for robotic products from UFACTORY
https://www.ufactory.cc/
BSD 3-Clause "New" or "Revised" License
221 stars 159 forks source link

CMake Error at vision_visp/visp_bridge/CMakeLists.txt:16 (find_package): #134

Closed Akumar201 closed 2 years ago

Akumar201 commented 2 years ago

Hello, I tried the following command to install visp git clone -b noetic-devel https://github.com/lagadic/vision_visp.git , however, I am not sure that why I am getting this error.

CMake Error at vision_visp/visp_bridge/CMakeLists.txt:16 (find_package):
  By not providing "FindVISP.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "VISP", but
  CMake did not find one.

  Could not find a package configuration file provided by "VISP" with any of
  the following names:

    VISPConfig.cmake
    visp-config.cmake

  Add the installation prefix of "VISP" to CMAKE_PREFIX_PATH or set
  "VISP_DIR" to a directory containing one of the above files.  If "VISP"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
See also "/home/akumar/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/akumar/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
Akumar201 commented 2 years ago

I resolved this issue using apt command directly and not building it from source. You can usehttp://wiki.ros.org/vision_visp and install according to your ROS distribution.