ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

merge install ros2

asked 2019-02-22 12:15:09 -0500

LCD gravatar image

When following the instruction that: colcon build --merge-install

It shows: Summary: 0 packages finished [7.04s]

while when I ran colcon test, it shows that: [0.599s] colcon ERROR colcon test: The install directory 'install' was created with the layout 'merged'. Please remove the install directory, pick a different one or add the '--merge-install' option.

Is there anything I missed

edit retag flag offensive close merge delete

Comments

I which directory are you invoking colcon build in? What is the content of the subfolder src?

Dirk Thomas gravatar image Dirk Thomas  ( 2019-02-22 12:21:47 -0500 )edit

I invoked build in C:\dev\ros-windows

these are the files in src: 02/22/2019 09:56 AM

. 02/22/2019 09:56 AM .. 02/22/2019 09:56 AM ament 02/22/2019 09:56 AM eProsima 01/17/2019 02:13 PM gmock_vendor 01/17/2019 02:09 PM gtest_vendor 02/22/2019 09:56 AM osrf 02/22/2019 09:56 AM ros 02/22/2019 09:56

LCD gravatar image LCD  ( 2019-02-22 12:25:31 -0500 )edit

I have the same problem with ros2 humble on windows. Any help?

jpsousa gravatar image jpsousa  ( 2023-05-02 03:40:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-02 03:45:04 -0500

Now solved by deleting the "build, install and log" folders and build again with colcon build --merge-install

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-02-22 12:15:09 -0500

Seen: 2,064 times

Last updated: Feb 22 '19