Open louis1218 opened 1 year ago
Hey @manhim1218 , I think that the symlink install might be responsible here. Could you try a simple build without a symlink install?
Regarding the distros, I tested the build against Foxy and Galactic, not Humble (it shouldn't make much of a difference though)
I have tried to compile the package in ROS2 Foxy, with colcon build
and colcon build --merge-install
, the error is the same:
> colcon build
Starting >>> pepper_meshes
--- stderr: pepper_meshes
CMake Error at cmake_install.cmake:134 (file):
file INSTALL cannot find
"/home/ros/colcon_ws/install/share/pepper_meshes/tmp/meshes": No such file
or directory.
---
Failed <<< pepper_meshes [0.10s, exited with code 1]
Summary: 0 packages finished [0.26s]
1 package failed: pepper_meshes
1 package had stderr output: pepper_meshes
This is the output of ls -l
for /home/ros/colcon_ws/install/share/pepper_meshes
drwxr-xr-x 2 ros ros 4096 Jul 7 09:50 cmake
drwxr-xr-x 2 ros ros 4096 Jul 7 09:50 environment
-rw-r--r-- 1 ros ros 1594 Jul 7 09:46 local_setup.bash
-rw-r--r-- 1 ros ros 107 Jul 7 09:46 local_setup.dsv
-rw-r--r-- 1 ros ros 3797 Jul 7 09:46 local_setup.sh
-rw-r--r-- 1 ros ros 1957 Jul 7 09:46 local_setup.zsh
-rw-r--r-- 1 ros ros 172 Jul 7 09:46 package.dsv
-rw-r--r-- 1 ros ros 791 Jul 7 09:46 package.xml```
I tried compiling this pepper_meshes2 package cloned in my ros2 workspace and colcon build it. I received the following error.
CMake Error at ament_cmake_symlink_install/ament_cmake_symlink_install.cmake:100 (message): ament_cmake_symlink_install_directory() can't find '/home/crossing/ws/install/pepper_meshes/share/pepper_meshes/tmp/meshes' Call Stack (most recent call first): ament_cmake_symlink_install/ament_cmake_symlink_install.cmake:356 (ament_cmake_symlink_install_directory) cmake_install.cmake:46 (include)
I have tried it in ros2 humble and foxy and still received the same error.
My compiling steps:
Do you reckon any steps I am missing?
Thank you.