ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
I have solved this problem!
According to the error message:
Add the installation prefix of "libcaer" to CMAKE_PREFIX_PATH or set
"libcaer_DIR" to a directory containing one of the above files. If
"libcaer" provides a separate development package or SDK, be sure it has
been installed.
I added this command to the CMakeLists.txt file:
set(libcaer_DIR "/usr/lib/x86_64-linux-gnu/cmake/libcaer/")
find_package(libcaer REQUIRED)
(The first line is the address of my llibcaerConfig.cmake file)
![]() | 2 | No.2 Revision |
I have solved this problem!
According to the error message:
Add the installation prefix of "libcaer" to CMAKE_PREFIX_PATH or set
"libcaer_DIR" to a directory containing one of the above files. If
"libcaer" provides a separate development package or SDK, be sure it has
been installed.
I added this command to the CMakeLists.txt file:
set(libcaer_DIR "/usr/lib/x86_64-linux-gnu/cmake/libcaer/")
find_package(libcaer REQUIRED)
(The first line is the address of my llibcaerConfig.cmake file)
Note : you have to follow this order:
first :set(...),
then:find_package(...)