-
Notifications
You must be signed in to change notification settings - Fork 146
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
problem of source devel/setup.bash generated by catkin build
with --install configuration
#441
Comments
Shouldn't you source the install space's setup.vash if you configure with --install? |
@NikolausDemmel I don't know. I should at least be able to rewrite all the ros environment variables with |
I would say no, but I'm not sure. I feel like this has been discussed before, maybe you can have a look in the existing issues (also closed). |
I think this is (effectively) a duplicate of #404, to which there was a proposed pull request that was supposed to fix it, but as I comment there I don't think this is a use case we want to support: It makes much more sense to use the |
Thank you! @NikolausDemmel @wjwwood |
@yuzhangbit I'm going to close this, but feel free to continue discussion on the linked issue: #403 (comment) |
System Info
Operating System: Linux precision 4.4.0-64-generic build: add an internal GNU make job server, see #84 #85~14.04.1-Ubuntu SMP Mon Feb 20 12:10:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Python Version: Python 2.7.6
Version of catkin_tools: catkin_tools 0.4.4 (C) 2014-2017 Open Source Robotics Foundation
catkin_tools is released under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
Using Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]
ROS Distro: indigo
Build / Run Issue
catkin_make
catkin_make_isolated --merge
catkin build
catkin build -p1
read this
Expected Behavior
After
catkin build
andsource catkin_ws/devel/setup.bash
, I should be able to navigate to the target package folder usingroscd target_package
.Actual Behavior
I configure the catkin workspace with following commands
The output is
The target_package exits in
catkin_ws/src
folder and compiles fine.If I
source catkin_ws/install/setup.bash
, I can useroscd target_package
to find the folder incatkin_ws/install
folder.If I don't configure catkin_ws with
catkin config --install
, I can useroscd target_package
as expected aftercatkin build
andsource catkin_ws/devel/setup.bash
.Steps to Reproduce the Issue
The reproduce commands:
The text was updated successfully, but these errors were encountered: