-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat: support ur client library for windows #264
Conversation
Signed-off-by: wep21 <[email protected]>
Signed-off-by: wep21 <[email protected]>
@traversaro @Tobias-Fischer Do you have any idea why msvc compiler doesn't have c++17 support?
|
I can't find that cmake file, but I guess it tests if the compiled supports the |
xref potentially interesting PR: UniversalRobots/Universal_Robots_Client_Library#229 |
See also the related PR https://github.com/UniversalRobots/Universal_Robots_Client_Library/pull/244/files . To have a minimal patch that works on 1.5.0, I think we can just do something similar to traversaro/Universal_Robots_Client_Library@a4148d4 . |
Signed-off-by: wep21 <[email protected]>
@traversaro Thanks, I've mistakenly looked into v1.6.0. |
Signed-off-by: wep21 <[email protected]>
For the jazzy I prepare a patch for windows on top of 1.5.0: https://github.com/traversaro/Universal_Robots_Client_Library/tree/winfix . |
Signed-off-by: wep21 <[email protected]>
@traversaro Thank you for your patch. Works fine for ur client library, but I found out other packages also need more patch. |
Ok, perfect! I have some more patches for ur-robot-driver in RoboStack/ros-jazzy#19, if you are interested you could look into backporting those to humble. |
- target_link_options(urcl PUBLIC -fsanitize=address) | ||
+ | ||
+if(MSVC) | ||
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/endian) |
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.
I am afraid this does not work as the endian.h is not installed, and it is include in public headers, so any downstream package would fail.
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.
See for example the equivalent patch in ros-jazzy https://github.com/RoboStack/ros-jazzy/blob/463363b50b40c681d1176747db387c925113959a/patch/ros-jazzy-ur-client-library.win.patch#L414 .
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.
@traversaro Thanks. synced patch with jazzy 5b25318.
Co-authored-by: Silvio Traversaro <[email protected]>
fyi I did several patches for other ur packages, see RoboStack/ros-jazzy#19 . |
Signed-off-by: wep21 <[email protected]>
Thanks @wep21 ! |
No description provided.