Skip to content
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

about build problem #1075

Open
hjvhhc opened this issue Dec 6, 2024 · 1 comment
Open

about build problem #1075

hjvhhc opened this issue Dec 6, 2024 · 1 comment

Comments

@hjvhhc
Copy link

hjvhhc commented Dec 6, 2024

when I try to build this repository,there is an error like this:
CMake Error in CMakeLists.txt:
IMPORTED_LOCATION or IMPORTED_IMPLIB not set for imported target "octomap".
CMake Error in CMakeLists.txt:
IMPORTED_LOCATION or IMPORTED_IMPLIB not set for imported target
"octomath".
CMake Error in CMakeLists.txt:
IMPORTED_LOCATION or IMPORTED_IMPLIB not set for imported target "octomap".
CMake Error in CMakeLists.txt:
IMPORTED_LOCATION or IMPORTED_IMPLIB not set for imported target
"octomath".
These error happens in the package tesserract_geometry and tesseract_scene_graph.
It seems like the path about octomap and octomath is not correct.when I add these in CMakeLists.txt,it build correctly:

set(OCTOMAP_LIBRARIES "/home/myhost/tesseract_ws/install/octomap-distribution/lib/liboctomap.so")
set(OCTOMATH_LIBRARIES "/home/myhost/tesseract_ws/install/octomap-distribution/lib/liboctomath.so")
set_target_properties(octomap PROPERTIES IMPORTED_LOCATION "${OCTOMAP_LIBRARIES}")
set_target_properties(octomath PROPERTIES IMPORTED_LOCATION "${OCTOMATH_LIBRARIES}")

it seems like you put to path both in OCTOMAP_LIBRARIES.

@Levi-Armstrong
Copy link
Contributor

What version of Ubuntu are you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants