-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find a package configuration file provided by "libcaer-dev" with any of the following names: #120
Comments
I have solved this problem! According to the error message:
I added this command to the CMakeLists.txt file:
(The first line is the address of my llibcaerConfig.cmake file) |
Glad you solved it. Though that should not be required if the proper CMake paths are set up, /usr/lib/x86_64-linux-gnu/cmake/ is the default path for searching.
|
Thank you for your reply,
|
Okay, turns out that you have to pass -DCMAKE_INSTALL_PREFIX=/usr for it to search in the right place, might be something changed in CMake. |
I tried the code : But it still had the same error
|
I see you're using ROS Kinetic, which is based on Ubuntu 16.04. We don't really support that anymore on our (iniVation's) side, so can't guarantee that libcaer works perfectly fine with it, it isn't tested. I guess some weird interaction with its very old CMake version is happening here that prevents automatic discovery of the CMake config file. |
Thank you for your reply. |
When I run the code :catkin build davis_ros_driver, I got the problem
Errors << davis_ros_driver:cmake /home/wjh/catkin_ws/logs/davis_ros_driver/build.cmake.014.log
CMake Error at /home/wjh/catkin_ws/src/rpg_dvs_ros/davis_ros_driver/CMakeLists.txt:5 (find_package):
By not providing "Findlibcaer.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "libcaer", but
CMake did not find one.
**
**
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 use melodic, davis,
What's more, I have installed "libcaer-dev" successfully by the code "sudo apt-get install libcaer-dev", so I don't understand why this error occurred.
Hope you guys can help me.
best wishes,
xiaowu
The text was updated successfully, but these errors were encountered: