Closed pauljurczak closed 3 years ago
HI @pauljurczak,
In the Wiki, there are instructions for how to use UFOMap with ROS. You can find the answer to your specific question in this ROS Tutorials page.
Basically, you have to change the target_link_libraries
line to target_link_libraries(hl UFO::Map)
.
I hope it helps!
Thank you, it works. I'm trying to evaluate UFOMap without ROS, that's why I skipped that part of documentation.
Thank you for letting me know, @pauljurczak. I must have imagined that you wrote "ROS", sorry about that. I have added a new entry in the Wiki regarding how to use it in CMake projects. Thank you again!
I've built and installed ufomap from source on Ubuntu 20.04 with gcc-9.3. I'm trying to build a simple project. Here is my
CMakeLists.txt
file:It doesn't link with this error:
I had to use explicit path instead:
What is the correct
target_link_libraries
usage without an explicit path?