Robotics StackExchange | Archived questions

libopencv_hal.a doesn't exist

I'm trying to install iaikinect2 package on ROS inside catkinws.

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)
visionopencv/imagegeometry/CMakeLists.txt:5 (find_package)

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

How can I fix this error?

Thanks,

Asked by yusuf on 2015-08-26 00:06:55 UTC

Comments

running into the same issue on El Capitan osx 10.11.1

Asked by jacksonkr_ on 2015-12-11 10:50:12 UTC

Answers