libopencv_hal.a doesn't exist

asked 2015-08-26 00:06:55 -0600

yusuf gravatar image

I'm trying to install iai_kinect2 package on ROS inside catkin_ws.

When I make catkin_make, I encounter the following error:

CMake Error at /usr/local/share/OpenCV/OpenCVModules.cmake:117 (message): The imported target "opencv_hal" references the file

 "/usr/local/lib/libopencv_hal.a"

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/local/share/OpenCV/OpenCVModules.cmake"

    but not all the files it references.

Call Stack (most recent call first):
/usr/local/share/OpenCV/OpenCVConfig.cmake:86 (include)
vision_opencv/image_geometry/CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/satellite/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/satellite/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

How can I fix this error?

Thanks,

edit retag flag offensive close merge delete

Comments

running into the same issue on El Capitan osx 10.11.1

jacksonkr_ gravatar imagejacksonkr_ ( 2015-12-11 09:50:12 -0600 )edit