Why can't catkin_make find my existing packages?
When running $ catkin_make
I receive the following error:
CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by "librealsense" with
any of the following names:
librealsenseConfig.cmake
librealsense-config.cmake
Add the installation prefix of "librealsense" to CMAKE_PREFIX_PATH or set
"librealsense_DIR" to a directory containing one of the above files. If
"librealsense" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
realsense/realsense_camera/CMakeLists.txt:17 (find_package)
Normally this means the dependency is missing but check this out:
$ rosdep install --from-path src
#All required rosdeps installed successfully
and
$ sudo apt-get install ros-kinetic-librealsense
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-kinetic-librealsense is already the newest version (1.11.0-0xenial-20161003-141254-0700).
0 upgraded, 0 newly installed, 0 to remove and 321 not upgraded.
And if I look inside /opt/ros/kinetic/share
I can see the librealsense
package there. The librealsenseConfig.cmake exists inside of the ./cmake
folder there.
Why isn't find_package
able to find this package?