-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix issues with spdlog #15
Conversation
@jediofgever thank you for your report and contributions!
Yes you are right
You can do some separation of interests, and just add a package named
Yes you can! In CMake it's a common case to write a |
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.
${spdlog_LIBRARIES} and spdlog are repeated, choose one and delete the other.
@@ -75,6 +77,7 @@ set(CUPOCH_LIBRARIES | |||
liblzf | |||
rply | |||
spdlog |
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.
${spdlog_LIBRARIES}
and spdlog
are repeated, choose one and delete the other.
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.
Will have to change. Thanks.
|
||
APPEND_TARGET_ARCH_FLAGS() | ||
|
||
set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "") | ||
APPEND_TARGET_ARCH_FLAGS() |
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.
repeated and trivial changes.
add_definitions(${CUPOCH_DEFINITIONS}) | ||
message("zs: ${CMAKE_PROJECT_NAME} CUDA_NVCC_FLAGS = " ${CUDA_NVCC_FLAGS}) | ||
include(GATest) |
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.
add this into cupoch_conversions/cmake/ga_build_common.cmake
line 107 rather than here.
@@ -2,8 +2,8 @@ | |||
set(GA_BUILD_TEST ON) | |||
|
|||
# root dirs | |||
#set(CUPOCH_ROOT $ENV{HOME}/colcon_ws/install/cupoch) | |||
set(CUPOCH_ROOT "/opt/cupoch/cupoch/") | |||
set(CUPOCH_ROOT $ENV{HOME}/colcon_ws/install/cupoch) |
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.
Do not commit this change. Individual developer maintains his/her own paths.
@jediofgever friendly ping for any update? |
@ZhenshengLee apologies, I forget to keep track of this, I was planning to take a look into it one of these days |
Hi,
the foxy branch won't build without linking
spdlog
,The PR has included linking of
spdlog
A few humble opinions that might be helpful and improve
cupoch
and its ROS integration;colcon
of ROS2 is actually able to build cupoch inside a workspace(e.gcolcon_ws
), this may not be desirable for some, as cupoch is a large library and takes time to build, but some may find it useful if they are actively modifying/developing code within cupoch, so you don't need to separately build ROS2 packages and cupoch.I have copied the cmake files in
perception_cupoch
and used them to build ROS2 package,THank you ! these are very valuable, is there anything to do to simplify these files ? It took me some time to get my head around and build MWE with
cupoch
,perception_cupoch
and my own ROS2 code