RoboStack / ros-galactic

Vinca build files for ROS 2 Galactic Geochelone
https://robostack.github.io
21 stars 14 forks source link

Could not find ROS middleware implementation 'NOTFOUND' error while compiling ROS2 package with colcon #14

Closed traversaro closed 3 years ago

traversaro commented 3 years ago

Evolution of https://github.com/RoboStack/ros-foxy/issues/15 for ROS Galactic.

Installation process

conda create -n ros2env python=3.8
conda activate ros2env
conda config --env --add channels conda-forge
# and the robostack channel
conda config --env --add channels robostack
# it's very much advised to use strict channel priority
conda config --env --set channel_priority strict

mamba install ros-galactic-desktop
mamba install compilers cmake pkg-config colcon-common-extensions

conda deactivate
conda activate ros2env

Build command

git clone https://github.com/robotology-playground/yarp-ros2
cd yarp-ros2/ros2_interfaces_ws
colcon build --packages-select map2d_nws_ros2_msgs

Build error

(ros_galactic) straversaro@IITICUBLAP102:~/yarp-ros2/ros2_interfaces_ws$ colcon build
Starting >>> map2d_nws_ros2_msgs
--- stderr: map2d_nws_ros2_msgs
CMake Error at /home/straversaro/mambaforge/envs/ros_galactic/share/rmw_implementation_cmake/cmake/get_default_rmw_implementation.cmake:60 (message):
  Could not find ROS middleware implementation 'NOTFOUND'.  Choose one of the
  following:
Call Stack (most recent call first):
  /home/straversaro/mambaforge/envs/ros_galactic/share/rmw_implementation/cmake/rmw_implementation-extras.cmake:19 (get_default_rmw_implementation)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rmw_implementation/cmake/rmw_implementationConfig.cmake:41 (include)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rcl/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rcl/cmake/rclConfig.cmake:41 (include)
  /home/straversaro/mambaforge/envs/ros_galactic/share/libstatistics_collector/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /home/straversaro/mambaforge/envs/ros_galactic/share/libstatistics_collector/cmake/libstatistics_collectorConfig.cmake:41 (include)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rclcpp/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rclcpp/cmake/rclcppConfig.cmake:41 (include)
  CMakeLists.txt:20 (find_package)

---
Failed   <<< map2d_nws_ros2_msgs [0.20s, exited with code 1]

Summary: 0 packages finished [0.36s]
  1 package failed: map2d_nws_ros2_msgs
  1 package had stderr output: map2d_nws_ros2_msgs


Environment (conda list):

``` $ conda list # packages in environment at /home/straversaro/mambaforge/envs/ros_galactic: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_gnu conda-forge alsa-lib 1.2.3 h516909a_0 conda-forge argcomplete 1.12.3 pyhd8ed1ab_2 conda-forge assimp 5.0.1 hedfc422_5 conda-forge atk-1.0 2.36.0 h3371d22_4 conda-forge attr 2.4.48 h516909a_0 conda-forge attrs 21.2.0 pyhd8ed1ab_0 conda-forge binutils 2.36.1 hdd6e379_1 conda-forge binutils_impl_linux-64 2.36.1 h193b22a_1 conda-forge binutils_linux-64 2.36 hf3e587d_32 conda-forge boost 1.74.0 py38hc10631b_3 conda-forge boost-cpp 1.74.0 h312852a_4 conda-forge bullet 3.17 ha770c72_0 conda-forge bullet-cpp 3.17 h1abd341_0 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge c-ares 1.17.1 h7f98852_1 conda-forge c-compiler 1.2.0 h7f98852_0 conda-forge ca-certificates 2021.5.30 ha878542_0 conda-forge cairo 1.16.0 h6cf1ce9_1008 conda-forge catkin_pkg 0.4.23 pyh9f0ad1d_0 conda-forge catkin_tools 0.6.1 py38h578d9bd_3 conda-forge certifi 2021.5.30 py38h578d9bd_0 conda-forge cffi 1.14.6 py38ha65f79e_0 conda-forge cmake 3.21.0 h8897547_0 conda-forge colcon-cmake 0.2.26 py_0 conda-forge colcon-common-extensions 0.2.1 py38h578d9bd_2 conda-forge colcon-core 0.6.1 py38h578d9bd_1 conda-forge colcon-defaults 0.2.5 py_0 conda-forge colcon-devtools 0.2.2 py_0 conda-forge colcon-library-path 0.2.1 py_0 conda-forge colcon-metadata 0.2.5 py_0 conda-forge colcon-output 0.2.12 py_0 conda-forge colcon-package-information 0.3.3 py_0 conda-forge colcon-package-selection 0.2.10 py_0 conda-forge colcon-parallel-executor 0.2.4 py_0 conda-forge colcon-pkg-config 0.1.0 py_0 conda-forge colcon-powershell 0.3.6 py_0 conda-forge colcon-python-setup-py 0.2.7 py_0 conda-forge colcon-recursive-crawl 0.2.1 py_0 conda-forge colcon-ros 0.3.21 py_0 conda-forge colcon-test-result 0.3.8 py_0 conda-forge compilers 1.2.0 ha770c72_0 conda-forge console_bridge 1.0.1 h4bd325d_0 conda-forge coverage 5.5 py38h497a2fe_0 conda-forge cppcheck 2.5 py38hbffb2f6_0 conda-forge cryptography 3.4.7 py38ha5dfef3_0 conda-forge cxx-compiler 1.2.0 h4bd325d_0 conda-forge cycler 0.10.0 py_2 conda-forge dbus 1.13.6 h48d8840_2 conda-forge distlib 0.3.2 pyhd8ed1ab_0 conda-forge distro 1.5.0 pyh9f0ad1d_0 conda-forge docutils 0.17.1 py38h578d9bd_0 conda-forge eigen 3.3.9 h4bd325d_1 conda-forge empy 3.3.4 pyh9f0ad1d_1 conda-forge expat 2.4.1 h9c3ff4c_0 conda-forge ffmpeg 4.3.1 hca11adc_2 conda-forge flake8 3.9.2 pyhd8ed1ab_0 conda-forge flann 1.9.1 h2e58136_1008 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.13.1 hba837de_1005 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge foonathan-memory 0.6.2 he1b5a44_1 conda-forge fortran-compiler 1.2.0 h1990efc_0 conda-forge freeimage 3.18.0 h88c329d_7 conda-forge freetype 2.10.4 h0708190_1 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge gcc_impl_linux-64 9.3.0 h70c0ae5_19 conda-forge gcc_linux-64 9.3.0 hf25ea35_32 conda-forge gdk-pixbuf 2.42.6 h04a7f16_0 conda-forge gettext 0.19.8.1 h0b5b191_1005 conda-forge gfortran_impl_linux-64 9.3.0 hc4a2995_19 conda-forge gfortran_linux-64 9.3.0 hdc58fab_32 conda-forge giflib 5.2.1 h36c2ea0_2 conda-forge glew 2.1.0 h9c3ff4c_2 conda-forge glib 2.68.3 h9c3ff4c_0 conda-forge glib-tools 2.68.3 h9c3ff4c_0 conda-forge gmock 1.10.0 h4bd325d_7 conda-forge gmp 6.2.1 h58526e2_0 conda-forge gnutls 3.6.13 h85f3911_1 conda-forge graphite2 1.3.13 h58526e2_1001 conda-forge graphviz 2.48.0 h85b4f2f_0 conda-forge gst-plugins-base 1.18.4 hf529b03_2 conda-forge gstreamer 1.18.4 h76c114f_2 conda-forge gtest 1.10.0 h4bd325d_7 conda-forge gtk2 2.24.33 h539f30e_1 conda-forge gts 0.7.6 h64030ff_2 conda-forge gxx_impl_linux-64 9.3.0 hd87eabc_19 conda-forge gxx_linux-64 9.3.0 h3fbe746_32 conda-forge harfbuzz 2.8.2 h83ec7ef_0 conda-forge hdf5 1.10.6 nompi_h6a2412b_1114 conda-forge icu 68.1 h58526e2_0 conda-forge ifcfg 0.21 py_0 conda-forge ilmbase 2.5.5 h780b84a_0 conda-forge importlib-metadata 4.6.1 py38h578d9bd_0 conda-forge importlib_metadata 4.6.1 hd8ed1ab_0 conda-forge importlib_resources 5.2.0 pyhd8ed1ab_0 conda-forge iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge jasper 1.900.1 h07fcdf6_1006 conda-forge jbig 2.1 h7f98852_2003 conda-forge jpeg 9d h36c2ea0_0 conda-forge jxrlib 1.1 h7f98852_2 conda-forge kernel-headers_linux-64 2.6.32 h77966d4_13 conda-forge kiwisolver 1.3.1 py38h1fd1430_1 conda-forge krb5 1.19.1 hcc1bbae_0 conda-forge lame 3.100 h7f98852_1001 conda-forge lark-parser 0.11.3 pyhd8ed1ab_0 conda-forge lcms2 2.12 hddcbb42_0 conda-forge ld_impl_linux-64 2.36.1 hea4e1c9_1 conda-forge lerc 2.2.1 h9c3ff4c_0 conda-forge libacl 2.3.1 h7f98852_0 conda-forge libblas 3.9.0 9_openblas conda-forge libcblas 3.9.0 9_openblas conda-forge libclang 11.1.0 default_ha53f305_1 conda-forge libcurl 7.77.0 h2574ce0_0 conda-forge libdeflate 1.7 h7f98852_5 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 h516909a_1 conda-forge libevent 2.1.10 hcdb4288_3 conda-forge libffi 3.3 h58526e2_2 conda-forge libgcc-devel_linux-64 9.3.0 h7864c58_19 conda-forge libgcc-ng 9.3.0 h2828fa1_19 conda-forge libgd 2.3.2 h78a0170_0 conda-forge libgfortran-ng 9.3.0 hff62375_19 conda-forge libgfortran5 9.3.0 hff62375_19 conda-forge libglib 2.68.3 h3e27bee_0 conda-forge libglu 9.0.0 he1b5a44_1001 conda-forge libgomp 9.3.0 h2828fa1_19 conda-forge libiconv 1.16 h516909a_0 conda-forge liblapack 3.9.0 9_openblas conda-forge liblapacke 3.9.0 9_openblas conda-forge libllvm11 11.1.0 hf817b99_2 conda-forge libnghttp2 1.43.0 h812cca2_0 conda-forge libogg 1.3.4 h7f98852_1 conda-forge libopenblas 0.3.15 pthreads_h8fe5266_1 conda-forge libopencv 4.5.2 py38hd24989e_1 conda-forge libopus 1.3.1 h7f98852_1 conda-forge libpng 1.6.37 h21135ba_2 conda-forge libpq 13.3 hd57d9b9_0 conda-forge libprotobuf 3.16.0 h780b84a_0 conda-forge libraw 0.20.2 h10796ff_1 conda-forge librsvg 2.50.7 hc3c00ef_0 conda-forge libssh2 1.9.0 ha56f1ee_6 conda-forge libstdcxx-devel_linux-64 9.3.0 hb016644_19 conda-forge libstdcxx-ng 9.3.0 h6de172a_19 conda-forge libtiff 4.3.0 hf544144_1 conda-forge libtool 2.4.6 h58526e2_1007 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libuv 1.41.1 h7f98852_0 conda-forge libvorbis 1.3.7 h9c3ff4c_0 conda-forge libwebp 1.2.0 h3452ae3_0 conda-forge libwebp-base 1.2.0 h7f98852_2 conda-forge libxcb 1.13 h7f98852_1003 conda-forge libxkbcommon 1.0.3 he3ba5ed_0 conda-forge libxml2 2.9.12 h72842e0_0 conda-forge libxslt 1.1.33 h15afd5d_2 conda-forge lxml 4.6.3 py38hf1fe3a4_0 conda-forge lz4-c 1.9.3 h9c3ff4c_0 conda-forge make 4.3 hd18ef5c_1 conda-forge matplotlib-base 3.4.2 py38hcc49a3a_0 conda-forge mccabe 0.6.1 py_1 conda-forge mock 4.0.3 py38h578d9bd_1 conda-forge more-itertools 8.8.0 pyhd8ed1ab_0 conda-forge mysql-common 8.0.25 ha770c72_2 conda-forge mysql-libs 8.0.25 hfa10184_2 conda-forge ncurses 6.2 h58526e2_4 conda-forge netifaces 0.10.9 py38h497a2fe_1003 conda-forge nettle 3.6 he412f7d_0 conda-forge ninja 1.10.2 h4bd325d_0 conda-forge nspr 4.30 h9c3ff4c_0 conda-forge nss 3.67 hb5efdd6_0 conda-forge numpy 1.21.0 py38h9894fe3_0 conda-forge ogre 1.12.12 h89131c6_0 conda-forge olefile 0.46 pyh9f0ad1d_1 conda-forge openexr 2.5.5 hf817b99_0 conda-forge openh264 2.1.1 h780b84a_0 conda-forge openjpeg 2.4.0 hb52868f_1 conda-forge openssl 1.1.1k h7f98852_0 conda-forge osrf_pycommon 0.1.10 py38h578d9bd_1 conda-forge packaging 21.0 pyhd8ed1ab_0 conda-forge pango 1.48.7 hb8ff022_0 conda-forge pcl 1.11.1 h39b1736_3 conda-forge pcre 8.45 h9c3ff4c_0 conda-forge pillow 8.3.1 py38h8e6f84c_0 conda-forge pip 21.1.3 pyhd8ed1ab_0 conda-forge pixman 0.40.0 h36c2ea0_0 conda-forge pkg-config 0.29.2 h36c2ea0_1008 conda-forge pluggy 0.13.1 py38h578d9bd_4 conda-forge psutil 5.8.0 py38h497a2fe_1 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge pugixml 1.11.4 h9c3ff4c_0 conda-forge py 1.10.0 pyhd3deb0d_0 conda-forge py-opencv 4.5.2 py38hd0cf306_1 conda-forge pybullet 3.17 py38h1abd341_0 conda-forge pycairo 1.20.1 py38hf61ee4a_0 conda-forge pycodestyle 2.7.0 pyhd8ed1ab_0 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pydocstyle 6.1.1 pyhd8ed1ab_0 conda-forge pydot 1.4.2 py38h578d9bd_0 conda-forge pyflakes 2.3.1 pyhd8ed1ab_0 conda-forge pygments 2.9.0 pyhd8ed1ab_0 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge pyqt 5.12.3 py38h578d9bd_7 conda-forge pyqt-impl 5.12.3 py38h7400c14_7 conda-forge pyqt5-sip 4.19.18 py38h709712a_7 conda-forge pyqtchart 5.12 py38h7400c14_7 conda-forge pyqtwebengine 5.12.1 py38h7400c14_7 conda-forge pytest 6.2.4 py38h578d9bd_0 conda-forge pytest-cov 2.12.1 pyhd8ed1ab_0 conda-forge pytest-repeat 0.8.0 py_0 conda-forge pytest-rerunfailures 10.1 pyhd8ed1ab_0 conda-forge pytest-runner 5.3.1 pyhd8ed1ab_0 conda-forge python 3.8.10 h49503c6_1_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python_abi 3.8 2_cp38 conda-forge pyyaml 5.4.1 py38h497a2fe_0 conda-forge qhull 2020.2 h4bd325d_1 conda-forge qt 5.12.9 hda022c4_4 conda-forge readline 8.1 h46c0cb4_0 conda-forge rhash 1.4.1 h7f98852_0 conda-forge ros-galactic-action-msgs 1.0.3 py38he9ab703_0 robostack-experimental ros-galactic-action-tutorials-cpp 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-action-tutorials-interfaces 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-action-tutorials-py 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-actionlib-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-auto 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-copyright 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-core 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-cppcheck 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-cpplint 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-export-definitions 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-export-dependencies 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-export-include-directories 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-export-interfaces 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-export-libraries 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-export-link-flags 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-export-targets 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-flake8 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-gmock 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-gtest 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-include-directories 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-libraries 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-lint-cmake 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-pep257 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-pytest 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-python 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-ros 0.9.2 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-target-dependencies 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-test 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-uncrustify 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-version 1.1.4 py38he9ab703_0 robostack-experimental ros-galactic-ament-cmake-xmllint 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-copyright 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cppcheck 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-cpplint 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-flake8 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-index-cpp 1.0.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-index-python 1.0.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-lint 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-lint-auto 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-lint-cmake 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-lint-common 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-package 0.12.0 py38he9ab703_0 robostack-experimental ros-galactic-ament-pep257 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-uncrustify 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-ament-xmllint 0.10.6 py38he9ab703_0 robostack-experimental ros-galactic-angles 1.12.4 py38he9ab703_0 robostack-experimental ros-galactic-builtin-interfaces 1.0.3 py38he9ab703_0 robostack-experimental ros-galactic-class-loader 2.1.2 py38hcda8483_0 robostack-experimental ros-galactic-common-interfaces 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-composition 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-composition-interfaces 1.0.3 py38he9ab703_0 robostack-experimental ros-galactic-console-bridge-vendor 1.3.2 py38hcda8483_0 robostack-experimental ros-galactic-cv-bridge 2.2.1 py38h90a690e_0 robostack-experimental ros-galactic-cyclonedds 0.8.0 py38hcd11936_0 robostack-experimental ros-galactic-demo-nodes-cpp 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-demo-nodes-cpp-native 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-demo-nodes-py 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-depthimage-to-laserscan 2.3.1 py38he9ab703_0 robostack-experimental ros-galactic-desktop 0.9.3 py38he9ab703_0 robostack-experimental ros-galactic-diagnostic-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-domain-coordinator 0.9.2 py38he9ab703_0 robostack-experimental ros-galactic-dummy-map-server 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-dummy-robot-bringup 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-dummy-sensors 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-eigen3-cmake-module 0.1.1 py38he9ab703_0 robostack-experimental ros-galactic-example-interfaces 0.9.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-action-client 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-action-server 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-client 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-composition 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-publisher 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-service 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-subscriber 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-minimal-timer 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclcpp-multithreaded-executor 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclpy-executors 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclpy-minimal-action-client 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclpy-minimal-action-server 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclpy-minimal-client 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclpy-minimal-publisher 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclpy-minimal-service 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-examples-rclpy-minimal-subscriber 0.11.2 py38he9ab703_0 robostack-experimental ros-galactic-fastcdr 1.0.20 py38he9ab703_0 robostack-experimental ros-galactic-fastrtps 2.3.1 py38hcd11936_0 robostack-experimental ros-galactic-fastrtps-cmake-module 1.2.1 py38he9ab703_0 robostack-experimental ros-galactic-foonathan-memory-vendor 1.0.0 py38he9ab703_0 robostack-experimental ros-galactic-geometry-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-geometry2 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-gmock-vendor 1.10.9003 py38he9ab703_0 robostack-experimental ros-galactic-gtest-vendor 1.10.9003 py38he9ab703_0 robostack-experimental ros-galactic-iceoryx-binding-c 1.0.0 py38he9ab703_0 robostack-experimental ros-galactic-iceoryx-posh 1.0.0 py38he9ab703_0 robostack-experimental ros-galactic-iceoryx-utils 1.0.0 py38he9ab703_0 robostack-experimental ros-galactic-image-geometry 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-image-tools 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-image-transport 2.3.0 py38he9ab703_0 robostack-experimental ros-galactic-interactive-markers 2.2.0 py38he9ab703_0 robostack-experimental ros-galactic-intra-process-demo 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-joy 3.0.0 py38he9ab703_0 robostack-experimental ros-galactic-kdl-parser 2.5.0 py38he9ab703_0 robostack-experimental ros-galactic-laser-geometry 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-launch 0.17.0 py38he9ab703_0 robostack-experimental ros-galactic-launch-ros 0.14.2 py38he9ab703_0 robostack-experimental ros-galactic-launch-testing 0.17.0 py38he9ab703_0 robostack-experimental ros-galactic-launch-testing-ament-cmake 0.17.0 py38he9ab703_0 robostack-experimental ros-galactic-launch-testing-ros 0.14.2 py38he9ab703_0 robostack-experimental ros-galactic-launch-xml 0.17.0 py38he9ab703_0 robostack-experimental ros-galactic-launch-yaml 0.17.0 py38he9ab703_0 robostack-experimental ros-galactic-libcurl-vendor 2.5.0 py38h8941957_0 robostack-experimental ros-galactic-libstatistics-collector 1.1.0 py38he9ab703_0 robostack-experimental ros-galactic-libyaml-vendor 1.2.0 py38he9ab703_0 robostack-experimental ros-galactic-lifecycle 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-lifecycle-msgs 1.0.3 py38he9ab703_0 robostack-experimental ros-galactic-logging-demo 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-map-msgs 2.1.0 py38he9ab703_0 robostack-experimental ros-galactic-message-filters 3.2.6 py38he9ab703_0 robostack-experimental ros-galactic-nav-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-orocos-kdl 3.3.3 py38he9ab703_0 robostack-experimental ros-galactic-osrf-pycommon 0.2.1 py38he9ab703_0 robostack-experimental ros-galactic-pcl-conversions 2.3.1 py38h8fc0257_0 robostack-experimental ros-galactic-pcl-msgs 1.0.0 py38he9ab703_0 robostack-experimental ros-galactic-pendulum-control 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-pendulum-msgs 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-pluginlib 5.0.0 py38he9ab703_0 robostack-experimental ros-galactic-pybind11-vendor 2.2.6 py38he9ab703_0 robostack-experimental ros-galactic-python-cmake-module 0.8.1 py38he9ab703_0 robostack-experimental ros-galactic-python-qt-binding 1.0.7 py38he9ab703_0 robostack-experimental ros-galactic-qt-dotgraph 2.0.1 py38he9ab703_0 robostack-experimental ros-galactic-qt-gui 2.0.1 py38he9ab703_0 robostack-experimental ros-galactic-qt-gui-cpp 2.0.1 py38he9ab703_0 robostack-experimental ros-galactic-qt-gui-py-common 2.0.1 py38he9ab703_0 robostack-experimental ros-galactic-quality-of-service-demo-cpp 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-quality-of-service-demo-py 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-rcl 3.1.2 py38he9ab703_0 robostack-experimental ros-galactic-rcl-action 3.1.2 py38he9ab703_0 robostack-experimental ros-galactic-rcl-interfaces 1.0.3 py38he9ab703_0 robostack-experimental ros-galactic-rcl-lifecycle 3.1.2 py38he9ab703_0 robostack-experimental ros-galactic-rcl-logging-interface 2.1.2 py38he9ab703_0 robostack-experimental ros-galactic-rcl-logging-spdlog 2.1.2 py38he9ab703_0 robostack-experimental ros-galactic-rcl-yaml-param-parser 3.1.2 py38he9ab703_0 robostack-experimental ros-galactic-rclcpp 9.1.0 py38he9ab703_0 robostack-experimental ros-galactic-rclcpp-action 9.1.0 py38he9ab703_0 robostack-experimental ros-galactic-rclcpp-components 9.1.0 py38he9ab703_0 robostack-experimental ros-galactic-rclcpp-lifecycle 9.1.0 py38he9ab703_0 robostack-experimental ros-galactic-rclpy 1.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rcpputils 2.2.0 py38he9ab703_0 robostack-experimental ros-galactic-rcutils 4.0.2 py38he9ab703_0 robostack-experimental ros-galactic-resource-retriever 2.5.0 py38he9ab703_0 robostack-experimental ros-galactic-rmw 3.3.1 py38he9ab703_0 robostack-experimental ros-galactic-rmw-connextdds 0.6.2 py38he9ab703_0 robostack-experimental ros-galactic-rmw-connextdds-common 0.6.2 py38he9ab703_0 robostack-experimental ros-galactic-rmw-cyclonedds-cpp 0.22.3 py38he9ab703_0 robostack-experimental ros-galactic-rmw-dds-common 1.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rmw-fastrtps-cpp 5.0.0 py38he9ab703_0 robostack-experimental ros-galactic-rmw-fastrtps-dynamic-cpp 5.0.0 py38he9ab703_0 robostack-experimental ros-galactic-rmw-fastrtps-shared-cpp 5.0.0 py38he9ab703_0 robostack-experimental ros-galactic-rmw-implementation 2.4.1 py38he9ab703_0 robostack-experimental ros-galactic-rmw-implementation-cmake 3.3.1 py38he9ab703_0 robostack-experimental ros-galactic-robot-state-publisher 2.4.3 py38he9ab703_0 robostack-experimental ros-galactic-ros-base 0.9.3 py38he9ab703_0 robostack-experimental ros-galactic-ros-core 0.9.3 py38he9ab703_0 robostack-experimental ros-galactic-ros-environment 3.1.0 py38he9ab703_0 robostack-experimental ros-galactic-ros2action 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2bag 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-ros2cli 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2cli-common-extensions 0.1.1 py38he9ab703_0 robostack-experimental ros-galactic-ros2component 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2doctor 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2interface 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2launch 0.14.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2lifecycle 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2multicast 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2node 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2param 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2pkg 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2run 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2service 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-ros2topic 0.13.2 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-compression 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-compression-zstd 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-cpp 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-interfaces 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-py 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-storage 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-storage-default-plugins 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosbag2-transport 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-rosgraph-msgs 1.0.3 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-adapter 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-cli 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-cmake 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-default-generators 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-default-runtime 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-generator-c 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-generator-cpp 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-generator-py 0.11.0 py38h363b3ef_0 robostack-experimental ros-galactic-rosidl-parser 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-runtime-c 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-runtime-cpp 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-runtime-py 0.9.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-typesupport-c 1.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-typesupport-cpp 1.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-typesupport-fastrtps-c 1.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-typesupport-fastrtps-cpp 1.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-typesupport-interface 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-typesupport-introspection-c 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rosidl-typesupport-introspection-cpp 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rpyutils 0.2.0 py38he9ab703_0 robostack-experimental ros-galactic-rqt-action 2.0.0 py38he9ab703_0 robostack-experimental ros-galactic-rqt-bag 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-bag-plugins 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-common-plugins 1.1.0 py38he9ab703_0 robostack-experimental ros-galactic-rqt-console 2.0.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-graph 1.2.0 py38he9ab703_0 robostack-experimental ros-galactic-rqt-gui 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-gui-cpp 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-gui-py 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-image-view 1.1.1 py38h7d895da_0 robostack-experimental ros-galactic-rqt-msg 1.0.4 py38he9ab703_0 robostack-experimental ros-galactic-rqt-plot 1.0.10 py38he9ab703_0 robostack-experimental ros-galactic-rqt-publisher 1.1.3 py38he9ab703_0 robostack-experimental ros-galactic-rqt-py-common 1.1.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-py-console 1.0.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-reconfigure 1.0.8 py38he9ab703_0 robostack-experimental ros-galactic-rqt-service-caller 1.0.4 py38he9ab703_0 robostack-experimental ros-galactic-rqt-shell 1.0.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-srv 1.0.2 py38he9ab703_0 robostack-experimental ros-galactic-rqt-top 1.0.1 py38he9ab703_0 robostack-experimental ros-galactic-rqt-topic 1.2.1 py38he9ab703_0 robostack-experimental ros-galactic-rti-connext-dds-cmake-module 0.6.2 py38he9ab703_0 robostack-experimental ros-galactic-rttest 0.11.0 py38he9ab703_0 robostack-experimental ros-galactic-rviz-assimp-vendor 8.5.0 py38he9ab703_0 robostack-experimental ros-galactic-rviz-common 8.5.0 py38h7d895da_0 robostack-experimental ros-galactic-rviz-default-plugins 8.5.0 py38h7d895da_0 robostack-experimental ros-galactic-rviz-ogre-vendor 8.5.0 py38h6eb8e3b_0 robostack-experimental ros-galactic-rviz-rendering 8.5.0 py38h5619808_0 robostack-experimental ros-galactic-rviz2 8.5.0 py38h7d895da_0 robostack-experimental ros-galactic-sdl2-vendor 3.0.0 py38he9ab703_0 robostack-experimental ros-galactic-sensor-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-shape-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-shared-queues-vendor 0.9.0 py38he9ab703_0 robostack-experimental ros-galactic-spdlog-vendor 1.3.0 py38he9ab703_0 robostack-experimental ros-galactic-sqlite3-vendor 0.9.0 py38hebf73e7_0 robostack-experimental ros-galactic-sros2 0.10.2 py38he9ab703_0 robostack-experimental ros-galactic-sros2-cmake 0.10.2 py38he9ab703_0 robostack-experimental ros-galactic-statistics-msgs 1.0.3 py38he9ab703_0 robostack-experimental ros-galactic-std-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-std-srvs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-stereo-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-tango-icons-vendor 0.1.0 py38he9ab703_0 robostack-experimental ros-galactic-teleop-twist-joy 2.4.2 py38he9ab703_0 robostack-experimental ros-galactic-teleop-twist-keyboard 2.3.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2 0.17.2 py38hcda8483_0 robostack-experimental ros-galactic-tf2-bullet 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-eigen 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-eigen-kdl 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-geometry-msgs 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-kdl 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-msgs 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-py 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-ros 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-ros-py 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-sensor-msgs 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tf2-tools 0.17.2 py38he9ab703_0 robostack-experimental ros-galactic-tinyxml-vendor 0.8.2 py38he9ab703_0 robostack-experimental ros-galactic-tinyxml2-vendor 0.7.4 py38he9ab703_0 robostack-experimental ros-galactic-tlsf 0.5.2 py38he9ab703_0 robostack-experimental ros-galactic-tlsf-cpp 0.11.0 py38he9ab703_0 robostack-experimental ros-galactic-topic-monitor 0.14.3 py38he9ab703_0 robostack-experimental ros-galactic-tracetools 2.3.0 py38he9ab703_0 robostack-experimental ros-galactic-trajectory-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-turtlesim 1.3.3 py38he9ab703_0 robostack-experimental ros-galactic-uncrustify-vendor 1.5.3 py38he9ab703_0 robostack-experimental ros-galactic-unique-identifier-msgs 2.2.1 py38he9ab703_0 robostack-experimental ros-galactic-urdf 2.5.2 py38he9ab703_0 robostack-experimental ros-galactic-urdf-parser-plugin 2.5.2 py38he9ab703_0 robostack-experimental ros-galactic-urdfdom 2.3.5 py38hcda8483_0 robostack-experimental ros-galactic-urdfdom-headers 1.0.5 py38he9ab703_0 robostack-experimental ros-galactic-visualization-msgs 2.2.3 py38he9ab703_0 robostack-experimental ros-galactic-yaml-cpp-vendor 7.1.0 py38he9ab703_0 robostack-experimental ros-galactic-zstd-vendor 0.9.0 py38h5d52940_0 robostack-experimental rosdep 0.21.0 pyhd8ed1ab_0 conda-forge rosdistro 0.8.3 py38h578d9bd_2 conda-forge rospkg 1.3.0 pyhd8ed1ab_1 conda-forge sdl2 2.0.12 h9c3ff4c_1 conda-forge setuptools 49.6.0 py38h578d9bd_3 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge snowballstemmer 2.1.0 pyhd8ed1ab_0 conda-forge spdlog 1.8.5 h4bd325d_0 conda-forge sqlite 3.36.0 h9cd32fc_0 conda-forge swig 4.0.2 hd3c618e_2 conda-forge sysroot_linux-64 2.12 h77966d4_13 conda-forge tinyxml 2.6.2 h4bd325d_2 conda-forge tinyxml2 9.0.0 h9c3ff4c_1 conda-forge tk 8.6.10 h21135ba_1 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tornado 6.1 py38h497a2fe_1 conda-forge uncrustify 0.72.0 h9c3ff4c_0 conda-forge wheel 0.36.2 pyhd3deb0d_0 conda-forge x264 1!161.3030 h7f98852_1 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.0.10 h7f98852_0 conda-forge xorg-libsm 1.2.3 hd9c2040_1000 conda-forge xorg-libx11 1.6.12 h36c2ea0_0 conda-forge xorg-libxau 1.0.9 h7f98852_0 conda-forge xorg-libxaw 1.0.14 h7f98852_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h516909a_0 conda-forge xorg-libxmu 1.1.3 h516909a_0 conda-forge xorg-libxpm 3.5.13 h516909a_0 conda-forge xorg-libxrandr 1.5.2 h516909a_1 conda-forge xorg-libxrender 0.9.10 h516909a_1002 conda-forge xorg-libxt 1.1.5 h516909a_1003 conda-forge xorg-randrproto 1.5.0 h7f98852_1001 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-xextproto 7.3.0 h7f98852_1002 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xz 5.2.5 h516909a_1 conda-forge yaml 0.2.5 h516909a_0 conda-forge yaml-cpp 0.6.3 he1b5a44_4 conda-forge zipp 3.5.0 pyhd8ed1ab_0 conda-forge zlib 1.2.11 h516909a_1010 conda-forge zstd 1.5.0 ha95c52a_0 conda-forge zziplib 0.13.69 h27826a3_1 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info (ros_galactic) straversaro@IITICUBLAP102:~$ conda info active environment : ros_galactic active env location : /home/straversaro/mambaforge/envs/ros_galactic shell level : 1 user config file : /home/straversaro/.condarc populated config files : /home/straversaro/mambaforge/.condarc /home/straversaro/.condarc /home/straversaro/mambaforge/envs/ros_galactic/.condarc conda version : 4.10.3 conda-build version : not installed python version : 3.9.5.final.0 virtual packages : __linux=4.19.104=0 __glibc=2.31=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/straversaro/mambaforge (writable) conda av data dir : /home/straversaro/mambaforge/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/robostack-experimental/linux-64 https://conda.anaconda.org/robostack-experimental/noarch https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch package cache : /home/straversaro/mambaforge/pkgs /home/straversaro/.conda/pkgs envs directories : /home/straversaro/mambaforge/envs /home/straversaro/.conda/envs platform : linux-64 user-agent : conda/4.10.3 requests/2.25.1 CPython/3.9.5 Linux/4.19.104-microsoft-standard ubuntu/20.04.2 glibc/2.31 UID:GID : 1000:1000 netrc file : None offline mode : False ```
traversaro commented 3 years ago

The same error appears if the map2d_nws_ros2_msgs package is built on its own as a single CMake package, so it is probably not directly related to colcon:

Build command

cd yarp-ros2/ros2_interfaces_ws/src/map2d_nws_ros2_msgs/
mkdir build
cd build
cmake ..

Build error

(ros_galactic) straversaro@IITICUBLAP102:~/yarp-ros2/ros2_interfaces_ws/src/map2d_nws_ros2_msgs/build$ cmake .
-- Found ament_cmake: 1.1.4 (/home/straversaro/mambaforge/envs/ros_galactic/share/ament_cmake/cmake)
-- Using PYTHON_EXECUTABLE: /home/straversaro/mambaforge/envs/ros_galactic/bin/python3
-- Found rclcpp: 9.1.0 (/home/straversaro/mambaforge/envs/ros_galactic/share/rclcpp/cmake)
-- Found rmw_implementation_cmake: 3.3.1 (/home/straversaro/mambaforge/envs/ros_galactic/share/rmw_implementation_cmake/cmake)
CMake Error at /home/straversaro/mambaforge/envs/ros_galactic/share/rmw_implementation_cmake/cmake/get_default_rmw_implementation.cmake:60 (message):
  Could not find ROS middleware implementation 'NOTFOUND'.  Choose one of the
  following:
Call Stack (most recent call first):
  /home/straversaro/mambaforge/envs/ros_galactic/share/rmw_implementation/cmake/rmw_implementation-extras.cmake:19 (get_default_rmw_implementation)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rmw_implementation/cmake/rmw_implementationConfig.cmake:41 (include)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rcl/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rcl/cmake/rclConfig.cmake:41 (include)
  /home/straversaro/mambaforge/envs/ros_galactic/share/libstatistics_collector/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /home/straversaro/mambaforge/envs/ros_galactic/share/libstatistics_collector/cmake/libstatistics_collectorConfig.cmake:41 (include)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rclcpp/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /home/straversaro/mambaforge/envs/ros_galactic/share/rclcpp/cmake/rclcppConfig.cmake:41 (include)
  CMakeLists.txt:20 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/straversaro/yarp-ros2/ros2_interfaces_ws/src/map2d_nws_ros2_msgs/build/CMakeFiles/CMakeOutput.log".
traversaro commented 3 years ago

A preliminary investigation seems to indicate that something is not working in https://github.com/ros2/rmw/blob/c71e97a670717cbf755627723a6d7ef5d756c4f4/rmw_implementation_cmake/cmake/get_available_rmw_implementations.cmake#L28, probably we should look a bit in how ament_index works to adapt it to the conda case.

traversaro commented 3 years ago

Everything compiles fine (except for the fact that /usr/local is also searched for ament package files) if AMENT_PREFIX_PATH is set to $CONDA_PREFIX on *nix (or $CONDA_PREFIX/Library on Windows, I guess, even if I did not tried). So in a sense this issue should be solved once https://github.com/RoboStack/ros-galactic/issues/5 is solved.

traversaro commented 3 years ago

Closing as this is basically a duplicate of https://github.com/RoboStack/ros-galactic/issues/5 .