ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I cannot reproduce what you've described. This is what I did (please try to provide similar steps to reproduce what you're seeing):
~
$ mkdir -p /tmp/test_ws/src
~
$ cd /tmp/test_ws/src/
/tmp/test_ws/src
$ catkin_create_pkg abc --rosdistro kinetic
Created file abc/package.xml
Created file abc/CMakeLists.txt
Successfully created files in /private/tmp/test_ws/src/abc. Please adjust the values in package.xml.
/tmp/test_ws/src
$ cd ..
/tmp/test_ws
$ source ~/kinetic/install/setup.bash
/tmp/test_ws
$ catkin config --install
-----------------------------------------------------------
Profile: default
Extending: [env] /Users/william/kinetic/install
Workspace: /tmp/test_ws
-----------------------------------------------------------
Source Space: [exists] /tmp/test_ws/src
Log Space: [missing] /tmp/test_ws/logs
Build Space: [missing] /tmp/test_ws/build
Devel Space: [missing] /tmp/test_ws/devel
Install Space: [missing] /tmp/test_ws/install
DESTDIR: [unused] None
-----------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: merged
-----------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
-----------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
-----------------------------------------------------------
Workspace configuration appears valid.
Initialized new catkin workspace in `/tmp/test_ws`
-----------------------------------------------------------
/tmp/test_ws
$ catkin b
==> Expanding alias 'b' from 'catkin b' to 'catkin build'
-----------------------------------------------------------
Profile: default
Extending: [env] /Users/william/kinetic/install
Workspace: /tmp/test_ws
-----------------------------------------------------------
Source Space: [exists] /tmp/test_ws/src
Log Space: [missing] /tmp/test_ws/logs
Build Space: [exists] /tmp/test_ws/build
Devel Space: [exists] /tmp/test_ws/devel
Install Space: [missing] /tmp/test_ws/install
DESTDIR: [unused] None
-----------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: merged
-----------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
-----------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
-----------------------------------------------------------
Workspace configuration appears valid.
NOTE: Forcing CMake to run for each package.
-----------------------------------------------------------
[build] Found '1' packages in 0.0 seconds.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild [ 2.3 seconds ]
Starting >>> abc
Finished <<< abc [ 2.5 seconds ]
[build] Summary: All 2 packages succeeded!
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: None.
[build] Runtime: 4.8 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
/tmp/test_ws
$ source ./install/setup.bash
/tmp/test_ws
$ rospack find abc
/tmp/test_ws/install/share/abc
/tmp/test_ws
$ catkin_find abc
/tmp/test_ws/install/share/abc