-
Notifications
You must be signed in to change notification settings - Fork 692
Compilation Fixes for MoveIt on macOS #498
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
Changes from all commits
fdc4c9c
1831a6b
ed279a4
c5b597d
bcf5928
8bcef3b
1279415
131a28a
9de53f0
391f6d2
da802ab
51ded29
84ad79a
49c92ed
98afb1e
9addf97
ae88ec8
6f8189b
e9e113d
3dda2cf
977fbc4
4846050
90ebdae
7c9dc82
76cbad4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,9 @@ add_library(${MOVEIT_LIB_NAME} SHARED src/lazy_free_space_updater.cpp) | |
| set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}") | ||
| set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") | ||
| set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES LINK_FLAGS "${OpenMP_CXX_FLAGS}") | ||
| if(APPLE) | ||
| target_link_libraries(${MOVEIT_LIB_NAME} OpenMP::OpenMP_CXX) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you try setting OpenMP with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately, using
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @henningkayser ament_target_dependencies and target_link_libraries do two different things. ament_target_dependencies adds those dependencies to the list that gets set in the export target, where-as target_link_libraries configures linking. In this case we might need both, I'm not sure.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tylerjw
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's fine if |
||
| endif() | ||
| ament_target_dependencies(${MOVEIT_LIB_NAME} | ||
| rclcpp | ||
| moveit_ros_occupancy_map_monitor | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If using
ament_target_dependenciesdoesn't work, I'd suggest adding aSYSTEM_GL_LIBRARIESvariable like this one.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, did that!