This repository was archived by the owner on May 31, 2025. It is now read-only.
Fix CMake Error: xmlrpcvalue_base64 not built by..#1197
Merged
dirk-thomas merged 1 commit intoros:lunar-develfrom Oct 22, 2017
Merged
Fix CMake Error: xmlrpcvalue_base64 not built by..#1197dirk-thomas merged 1 commit intoros:lunar-develfrom
dirk-thomas merged 1 commit intoros:lunar-develfrom
Conversation
Contributor
Author
|
When I stash this change, and run Here is the output: I was following the http://wiki.ros.org/Installation/Source instructions. |
dirk-thomas
suggested changes
Oct 22, 2017
| @@ -1,2 +1,4 @@ | |||
| catkin_add_gtest(xmlrpcvalue_base64 xmlrpcvalue_base64.cpp) | |||
| target_link_libraries(xmlrpcvalue_base64 xmlrpcpp) | |||
| catkin_add_gtest(${PROJECT_NAME}-xmlrpcvalue_base64 xmlrpcvalue_base64.cpp) | |||
Member
There was a problem hiding this comment.
There is no need to rename the target. Please keep the target babe as is and only wrap the target_link_libraries in the conditional block.
Error occurs when using catkin-tools or catkin_make_isolated --install. catkin_make_isolated didn't complain without the --install option. CMake Error at .../xmlrpcpp/test/CMakeLists.txt:2 (target_link_libraries): Cannot specify link libraries for target "xmlrpcvalue_base64" which is not built by this project.
34f1906 to
560d972
Compare
Contributor
Author
|
@dirk-thomas thanks for the quick feedback, I've made the requested change. |
dirk-thomas
approved these changes
Oct 22, 2017
Member
dirk-thomas
left a comment
There was a problem hiding this comment.
Thank you for the patch and the update.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Error occurs when using
catkin buildorcatkin_make_isolated --install.catkin_make_isolated didn't complain without the
--installoption.NOTE: I am running an unsupported distribution, openSUSE Tumbleweed. I checked other packages and saw the gtests were linked similarly and surrounded with an if-statement.