-
Notifications
You must be signed in to change notification settings - Fork 227
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
Imported target "dart" includes non-existent path "/include" in its INTERFACE_INCLUDE_DIRECTORIES. #48
Comments
in /usr/share/dart/cmake/dart_dartTargets.cmake Compute the installation prefix relative to this file.get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) Create imported target dartadd_library(dart SHARED IMPORTED) set_target_properties(dart PROPERTIES that seems to be the responsible lines of code since it mentions both INTERFACE_INCLUDE_DIRECTORIES |
i dont get it. dart interface includes: /usr/include Properties for TARGET dart: dart INTERFACE_LINK_LIBRARIES = dl;dart-external-odelcpsolver;Eigen3::Eigen;ccd;fcl;assimp;Boost::boost;Boost::system;Boost::filesystem;octomap;Boost::regex No such TARGET "dl" ! Properties for TARGET dart-external-odelcpsolver: dart INTERFACE_COMPILE_FEATURES = cxx_std_14 -- Configuring done
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
|
@juansuerorobotics were you able to resolve this? It would be really helpful if you could provide the resolution, i'm facing the same issue? |
i think it works on ros melodic with ubuntu 1804. if you try to get fancy and run this on noetic and ubuntu 20.04 somethings off |
Im getting the following error running catkin_make on ROS1 noetic
CMake Error in gazebo_ros_demos/gazebo_tutorials/CMakeLists.txt:
Imported target "dart" includes non-existent path
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
The path was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and references files it does not
provide.
i did a text search for INTERFACE_INCLUDE_DIRECTORIES and for /include
and im seeing at line 60 of /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimpTargets.cmake
which i think is termed cmake "module" ....
set_target_properties(assimp::assimp PROPERTIES
COMPATIBLE_INTERFACE_STRING "assimp_MAJOR_VERSION"
INTERFACE_assimp_MAJOR_VERSION "1"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
......
)
at src/gazebo_ros_demos/gazebo_tutorials/CMakeLists.txt
i see
find_package(gazebo REQUIRED)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
so how do i debug the cmake process? especially since its not even directly running cmake im using a tool that builds cmake called catkin_make?
I dont just want an answer to the issue. im sure the answer is not to use these packages as they are not rated to run against newer versions of ROS. I can see your latest branch is kinetic-devel. thats fine. I need to learn cmake and catkin_make and this is a great way to solve future problems so if you can give me some insight as to the nature of the problem as well as how to debug it for myself also.
The text was updated successfully, but these errors were encountered: