-
Notifications
You must be signed in to change notification settings - Fork 912
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
move headers to include/xmlrpcpp #962
Conversation
I know that it breaks backward compatibility, but the old location clashes on Debian and fixing downstream code should be really easy. So maybe consider for lunar instead? |
IMO this could safely merge to Kinetic if it came with a CMakeLists change to maintain compatibility:
|
Good idea. Why adding the |
|
What I'm saying is that it should be enough to add the |
Just for clarity, this is @jspricke's counter-proposal: # The include/xmlrpcpp path is only for compatibility, to be removed in Lunar.
catkin_package(
INCLUDE_DIRS include include/xmlrpcpp
LIBRARIES xmlrpcpp
CATKIN_DEPENDS cpp_common
)
include_directories(include ${catkin_INCLUDE_DIRS}) |
Oh I see what you mean. Yes, that makes sense. |
thanks guys, added :). |
I tried building the branch but the This can easily be tested by not changing the |
@dirk-thomas works fine over here:
(I've tested it by recompiling roscpp with the old includes as well) |
The devel space works differently. Please check the install space. There it is missing. |
ed70d43
to
d04da46
Compare
@dirk-thomas got it, changed. |
@@ -0,0 +1 @@ | |||
list(APPEND @PROJECT_NAME@_INCLUDE_DIRS ${@PROJECT_NAME@_DIR}/../../../@CATKIN_GLOBAL_INCLUDE_DESTINATION@/xmlrpcpp) |
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.
The value should be enclosed in quotes - just in case some part of the path contains spaces.
d04da46
to
838e824
Compare
Done, @dirk-thomas can you add them here a well: http://answers.ros.org/question/93266/how-to-export-non-standard-include-directories-in-catkin/ |
LGTM. |
* Move headers to include/xmlrpcpp * Export old include dir for compatibility
This is due to ros/ros_comm#962, i.e., a breakage in a minor version update to ROS Kinetic.
I'm not sure I'm doing everything correctly, but while trying to build Kinetic
This seems to be the same issue that is reported in ros/geometry#144 (comment). It should probably be fixed in Adding I'm rather confused as to why this wasn't detected by the CI builds of the pkgs involved. |
Perhaps the extras file is not doing what it should be doing? |
Which ROS version of desktop-full do you compile? Do you have a minimal example for me to reproduce? Can you check if the xmlrpcpp-extras.cmake is there and used? |
ah, and if it's a real bug, please open a new issue, this one is closed and new commends tend to get lost. |
re: which version: should have mentioned that, edited my initial comment. And I should probably also mention I'm building using
minimal: no? But just following the Kinetic source installation procedure makes this pop up.
It's there. Adding a debug |
Opened #1248. |
No description provided.