-
Notifications
You must be signed in to change notification settings - Fork 401
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 compile erros when using RoboStack (conda) #453
base: master
Are you sure you want to change the base?
Conversation
This seems unusual at first. The console_bridge issues should probably be gone with UniversalRobots/Universal_Robots_Client_Library#74 merged. As for the |
Hi, thanks for having a look. To be honest, I don't know what Maybe you could chime in on RoboStack/ros-noetic#157 to check where this fits best? |
@fmauch wrote:
From How to printf uint64_t? Fails with: “spurious trailing ‘%’ in format”:
|
Thanks @gavanderhoorn From my point of view none of the changes here should then be necessary with the latest versions. @nberliner could you try building the driver without the changes with the latest library version (master or boost branch) and the latest master of this driver? See the README about building the library from source, as well. |
I've tried to build the driver as well as Please feel free to close this PR, it's definitely beyond my expertise. Thanks for looking into it :) |
This PR hasn't made any progress for quite some time and will be closed soon. Please comment if it is still relevant. |
I should have a look at this again, before closing this. |
This PR hasn't made any progress for quite some time and will be closed soon. Please comment if it is still relevant. |
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.
Sorry for not having answered for so long. I am still unsure whether I would like to add something that "only" makes it build on an unsupported build system.
The D__STDC_FORMAT_MACROS
thing seems to be something that should be fixed inside the conda builds as suggested in RoboStack/ros-noetic#157.
If we could change the console_bridge dependency to a ordinary catkin dependency to rosconsole
and not explicitly link against that but let ${catkin_LIBRARIES}
handle this, that would be great. Unfortunately, this is out of my scope to test.
find_package(catkin REQUIRED COMPONENTS | ||
roscpp | ||
ur_robot_driver | ||
) | ||
find_package(Eigen3 REQUIRED) | ||
find_package(yaml-cpp REQUIRED) | ||
find_package(ur_client_library REQUIRED) | ||
find_package(console_bridge REQUIRED) |
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.
It seems to make more sense to rely on rosconsole
since we use ros/console.h
inside the log handler.
The RoboStack maintainers helped to fix compile errors when building the UR drivers using a conda environment. conda is, in my humble opinion, very useful and the suggested changes might be helpful for others.
For more information, please see RoboStack/ros-noetic#155 and RoboStack/ros-noetic#157 .