Robotics StackExchange | Archived questions

merge install ros2

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

Asked by LCD on 2019-02-22 13:15:09 UTC

Comments

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

Asked by Dirk Thomas on 2019-02-22 13:21:47 UTC

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

Asked by LCD on 2019-02-22 13:25:31 UTC

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

Asked by jpsousa on 2023-05-02 03:40:22 UTC

Answers

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

Asked by jpsousa on 2023-05-02 03:45:04 UTC

Comments