micro-ROS / micro_ros_espidf_component

micro-ROS ESP32 IDF component and sample code
Apache License 2.0
272 stars 62 forks source link

[humble] 1 package failed: ament_index_cpp due to arm64 architecture #153

Closed anslex closed 2 years ago

anslex commented 2 years ago

Issue template

Hello, Thank you for your work on micro-ROS. I am not sure if it is better to open an issue here or on ament_cmake git repo.

Steps to reproduce the issue

git clone -b humble --recursive https://github.com/micro-ROS/micro_ros_espidf_component.git . $IDF_PATH/export.sh
cd examples/int32_publisher pip3 install catkin_pkg lark-parser empy colcon-common-extensions idf.py set-target esp32

Expected behavior

compile all packages

Actual behavior

stderr: ament_index_cpp Undefined symbols for architecture arm64 1 package failed: ament_index_cpp due to arm64 architecture tested the same on amd64 chip and it worked but not on arm64

Additional information

Full log:

an@pro /tmp % git clone -b humble --recursive https://github.com/micro-ROS/micro_ros_espidf_component.git
Cloning into 'micro_ros_espidf_component'...
remote: Enumerating objects: 782, done.
remote: Counting objects: 100% (301/301), done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 782 (delta 260), reused 226 (delta 210), pack-reused 481
Receiving objects: 100% (782/782), 428.85 KiB | 214.00 KiB/s, done.
Resolving deltas: 100% (466/466), done.
an@pro /tmp % cd micro_ros_espidf_component 
an@pro micro_ros_espidf_component % . $IDF_PATH/export.sh        

Detecting the Python interpreter
Checking "python" ...
/Users/an/esp/esp-idf/tools/detect_python.sh:16: command not found: python
Checking "python3" ...
Python 3.9.13
"python3" has been detected
Adding ESP-IDF tools to PATH...
Not using an unsupported version of tool cmake found in PATH: 3.23.2.
Not using an unsupported version of tool ninja found in PATH: 1.11.0.
Using Python interpreter in /Users/an/.espressif/python_env/idf4.4_py3.9_env/bin/python
Checking if Python packages are up to date...
Python requirements from /Users/an/esp/esp-idf/requirements.txt are satisfied.
Updated PATH variable:
  /Users/an/esp/esp-idf/components/esptool_py/esptool:/Users/an/esp/esp-idf/components/espcoredump:/Users/an/esp/esp-idf/components/partition_table:/Users/an/esp/esp-idf/components/app_update:/Users/an/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin:/Users/an/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s2-elf/bin:/Users/an/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin:/Users/an/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin:/Users/an/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205/esp32ulp-elf-binutils/bin:/Users/an/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205/esp32s2ulp-elf-binutils/bin:/Users/an/.espressif/tools/cmake/3.23.1/CMake.app/Contents/bin:/Users/an/.espressif/tools/openocd-esp32/v0.11.0-esp32-20220411/openocd-esp32/bin:/Users/an/.espressif/tools/ninja/1.10.2/:/Users/an/.espressif/python_env/idf4.4_py3.9_env/bin:/Users/an/esp/esp-idf/components/esptool_py/esptool:/Users/an/esp/esp-idf/components/espcoredump:/Users/an/esp/esp-idf/components/partition_table/:/Users/an/esp/esp-idf/tools/:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion Tech Preview.app/Contents/Public:/Library/Apple/usr/bin:/Users/an/Library/Python/3.8/bin:/Users/an/.local/bin:/Users/an/Library/Python/3.8/bin:/Users/an/.local/bin
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

an@pro micro_ros_espidf_component % cd examples/int32_publisher
an@pro int32_publisher % pip3 install catkin_pkg lark-parser empy colcon-common-extensions

Requirement already satisfied: catkin_pkg in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (0.5.2)
Requirement already satisfied: lark-parser in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (0.12.0)
Requirement already satisfied: empy in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (3.3.4)
Requirement already satisfied: colcon-common-extensions in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (0.2.1)
Requirement already satisfied: setuptools in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from catkin_pkg) (63.2.0)
Requirement already satisfied: python-dateutil in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from catkin_pkg) (2.8.2)
Requirement already satisfied: docutils in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from catkin_pkg) (0.19)
Requirement already satisfied: pyparsing in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from catkin_pkg) (2.3.1)
Requirement already satisfied: colcon-parallel-executor in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.4)
Requirement already satisfied: colcon-bash in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.4.2)
Requirement already satisfied: colcon-core in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.10.0)
Requirement already satisfied: colcon-package-information in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.3.3)
Requirement already satisfied: colcon-zsh in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.4.0)
Requirement already satisfied: colcon-recursive-crawl in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.1)
Requirement already satisfied: colcon-cmake in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.26)
Requirement already satisfied: colcon-package-selection in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.10)
Requirement already satisfied: colcon-defaults in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.6)
Requirement already satisfied: colcon-python-setup-py in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.7)
Requirement already satisfied: colcon-argcomplete in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.3.3)
Requirement already satisfied: colcon-metadata in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.5)
Requirement already satisfied: colcon-output in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.12)
Requirement already satisfied: colcon-devtools in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.3)
Requirement already satisfied: colcon-ros in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.3.23)
Requirement already satisfied: colcon-powershell in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.3.7)
Requirement already satisfied: colcon-notification in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.13)
Requirement already satisfied: colcon-cd in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.1.1)
Requirement already satisfied: colcon-library-path in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.2.1)
Requirement already satisfied: colcon-test-result in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-common-extensions) (0.3.8)
Requirement already satisfied: argcomplete in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-argcomplete->colcon-common-extensions) (2.0.0)
Requirement already satisfied: pytest-cov in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-core->colcon-common-extensions) (3.0.0)
Requirement already satisfied: pytest-rerunfailures in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-core->colcon-common-extensions) (10.2)
Requirement already satisfied: distlib in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-core->colcon-common-extensions) (0.3.5)
Requirement already satisfied: pytest in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-core->colcon-common-extensions) (7.1.2)
Requirement already satisfied: pytest-repeat in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-core->colcon-common-extensions) (0.9.1)
Requirement already satisfied: PyYAML in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-defaults->colcon-common-extensions) (6.0)
Requirement already satisfied: colcon-pkg-config in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from colcon-ros->colcon-common-extensions) (0.1.0)
Requirement already satisfied: six>=1.5 in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from python-dateutil->catkin_pkg) (1.16.0)
Requirement already satisfied: packaging in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from pytest->colcon-core->colcon-common-extensions) (21.3)
Requirement already satisfied: pluggy<2.0,>=0.12 in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from pytest->colcon-core->colcon-common-extensions) (1.0.0)
Requirement already satisfied: attrs>=19.2.0 in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from pytest->colcon-core->colcon-common-extensions) (21.4.0)
Requirement already satisfied: tomli>=1.0.0 in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from pytest->colcon-core->colcon-common-extensions) (2.0.1)
Requirement already satisfied: py>=1.8.2 in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from pytest->colcon-core->colcon-common-extensions) (1.11.0)
Requirement already satisfied: iniconfig in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from pytest->colcon-core->colcon-common-extensions) (1.1.1)
Requirement already satisfied: coverage[toml]>=5.2.1 in /Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages (from pytest-cov->colcon-core->colcon-common-extensions) (6.4.2)
an@pro int32_publisher % idf.py set-target esp32                                          
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/private/tmp/micro_ros_espidf_component/examples/int32_publisher/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory /private/tmp/micro_ros_espidf_component/examples/int32_publisher/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0 /private/tmp/micro_ros_espidf_component/examples/int32_publisher"...
-- Found Git: /usr/bin/git (found version "2.32.0 (Apple Git-132)") 
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/an/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/an/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/an/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /tmp/micro_ros_espidf_component/examples/int32_publisher/sdkconfig
Loading defaults file /tmp/micro_ros_espidf_component/examples/int32_publisher/sdkconfig.defaults...
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found version "3.9.13") found components: Interpreter 
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "int32_publisher" version: 3.0.0-1-gf426aa2
-- Adding linker script /tmp/micro_ros_espidf_component/examples/int32_publisher/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /Users/an/esp/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /Users/an/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /Users/an/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /Users/an/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /Users/an/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /Users/an/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /Users/an/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /Users/an/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script /Users/an/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Using Micro XRCE-DDS middleware
rm -f /private/tmp/micro_ros_espidf_component/esp32_toolchain.cmake; \
    cat /private/tmp/micro_ros_espidf_component/esp32_toolchain.cmake.in | \
        sed "s/@CMAKE_C_COMPILER@/\/Users\/an\/.espressif\/tools\/xtensa-esp32-elf\/esp-2021r2-patch3-8.4.0\/xtensa-esp32-elf\/bin\/xtensa-esp32-elf-gcc/g" | \
        sed "s/@CMAKE_CXX_COMPILER@/\/Users\/an\/.espressif\/tools\/xtensa-esp32-elf\/esp-2021r2-patch3-8.4.0\/xtensa-esp32-elf\/bin\/xtensa-esp32-elf-g++/g" | \
        sed "s/@CFLAGS@/-mlongcalls -Wno-frame-address  -ffunction-sections -fdata-sections/g" | \
        sed "s/@CXXFLAGS@/-mlongcalls -Wno-frame-address  -ffunction-sections -fdata-sections/g" | \
        sed "s/@IDF_TARGET@/esp32/g" | \
        sed "s/@IDF_PATH@/\/Users\/an\/esp\/esp-idf/g" | \
        sed "s/@BUILD_CONFIG_DIR@/\/tmp\/micro_ros_espidf_component\/examples\/int32_publisher\/build\/config/g" \
        > /private/tmp/micro_ros_espidf_component/esp32_toolchain.cmake
rm -rf micro_ros_dev; \
    mkdir micro_ros_dev; cd micro_ros_dev; \
    git clone -b humble https://github.com/ament/ament_cmake src/ament_cmake; \
    git clone -b humble https://github.com/ament/ament_lint src/ament_lint; \
    git clone -b humble https://github.com/ament/ament_package src/ament_package; \
    git clone -b humble https://github.com/ament/googletest src/googletest; \
    git clone -b humble https://github.com/ros2/ament_cmake_ros src/ament_cmake_ros; \
    git clone -b humble https://github.com/ament/ament_index src/ament_index; \
    colcon build --cmake-args -DBUILD_TESTING=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=gcc;
rm -rf micro_ros_src; \
    mkdir micro_ros_src; cd micro_ros_src; \
    if [ "microxrcedds" = "embeddedrtps" ]; then \
        git clone -b humble https://github.com/micro-ROS/embeddedRTPS src/embeddedRTPS; \
        git clone -b humble https://github.com/micro-ROS/rmw_embeddedrtps src/rmw_embeddedrtps; \
    else \
        git clone -b ros2 https://github.com/eProsima/Micro-XRCE-DDS-Client src/Micro-XRCE-DDS-Client; \
        git clone -b humble https://github.com/micro-ROS/rmw_microxrcedds src/rmw_microxrcedds; \
    fi; \
    git clone -b ros2 https://github.com/eProsima/micro-CDR src/micro-CDR; \
    git clone -b humble https://github.com/micro-ROS/rcl src/rcl; \
    git clone -b humble https://github.com/ros2/rclc src/rclc; \
    git clone -b humble https://github.com/micro-ROS/rcutils src/rcutils; \
    git clone -b humble https://github.com/micro-ROS/micro_ros_msgs src/micro_ros_msgs; \
    git clone -b humble https://github.com/micro-ROS/rosidl_typesupport src/rosidl_typesupport; \
    git clone -b humble https://github.com/micro-ROS/rosidl_typesupport_microxrcedds src/rosidl_typesupport_microxrcedds; \
    git clone -b humble https://github.com/ros2/rosidl src/rosidl; \
    git clone -b humble https://github.com/ros2/rmw src/rmw; \
    git clone -b humble https://github.com/ros2/rcl_interfaces src/rcl_interfaces; \
    git clone -b humble https://github.com/ros2/rosidl_defaults src/rosidl_defaults; \
    git clone -b humble https://github.com/ros2/unique_identifier_msgs src/unique_identifier_msgs; \
    git clone -b humble https://github.com/ros2/common_interfaces src/common_interfaces; \
    git clone -b galactic https://github.com/ros2/example_interfaces src/example_interfaces; \
    git clone -b humble https://github.com/ros2/test_interface_files src/test_interface_files; \
    git clone -b humble https://github.com/ros2/rmw_implementation src/rmw_implementation; \
    git clone -b humble https://github.com/ros2/rcl_logging src/rcl_logging; \
    git clone -b humble https://gitlab.com/ros-tracing/ros2_tracing src/ros2_tracing; \
    git clone -b humble https://github.com/micro-ROS/micro_ros_utilities src/micro_ros_utilities; \
    touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \
    touch src/rcl_logging/rcl_logging_log4cxx/COLCON_IGNORE; \
    touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \
    touch src/rclc/rclc_examples/COLCON_IGNORE; \
    touch src/rcl/rcl_yaml_param_parser/COLCON_IGNORE; \
    cp -rf /tmp/micro_ros_espidf_component/extra_packages src/extra_packages || :; \
    test -f src/extra_packages/extra_packages.repos && cd src/extra_packages && vcs import --input extra_packages.repos || :;
Cloning into 'src/Micro-XRCE-DDS-Client'...
Cloning into 'src/ament_cmake'...
Cloning into 'src/ament_lint'...
Cloning into 'src/rmw_microxrcedds'...
Cloning into 'src/ament_package'...
Cloning into 'src/micro-CDR'...
Cloning into 'src/googletest'...
Cloning into 'src/rcl'...
Cloning into 'src/ament_cmake_ros'...
Cloning into 'src/rclc'...
Cloning into 'src/ament_index'...
Starting >>> ament_package
Starting >>> ament_lint
Starting >>> gtest_vendor
Starting >>> ament_cppcheck
Starting >>> ament_pycodestyle
--- stderr: gtest_vendor
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< gtest_vendor [0.67s]
Starting >>> gmock_vendor
--- stderr: gmock_vendor
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< gmock_vendor [0.17s]
--- stderr: ament_lint
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_lint [0.99s]
Starting >>> ament_flake8
--- stderr: ament_pycodestyle
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_pycodestyle [0.99s]
--- stderr: ament_cppcheck
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_cppcheck [1.02s]
Starting >>> ament_pyflakes
--- stderr: ament_package
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_package [1.08s]
Starting >>> ament_cmake_core
--- stderr: ament_flake8
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_flake8 [0.74s]
Starting >>> ament_pep257
Starting >>> ament_mypy
--- stderr: ament_pyflakes
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_pyflakes [0.73s]
--- stderr: ament_cmake_core
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_core [0.96s]
Starting >>> ament_cmake_libraries
Starting >>> ament_cmake_export_libraries
Starting >>> ament_cmake_python
Starting >>> ament_cmake_include_directories
Starting >>> ament_cmake_export_definitions
Starting >>> ament_cmake_export_include_directories
--- stderr: ament_pep257
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_pep257 [0.78s]
Starting >>> ament_copyright
Finished <<< ament_mypy [0.82s]
--- stderr: ament_mypy
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Starting >>> ament_cmake_export_link_flags
--- stderr: ament_cmake_export_definitions
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_export_definitions [0.96s]
Starting >>> ament_cmake_version
--- stderr: ament_cmake_libraries
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_libraries [1.06s]
--- stderr: ament_cmake_export_libraries
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_export_libraries [1.07s]
Starting >>> ament_cmake_export_dependencies
Starting >>> ament_cmake_export_interfaces
--- stderr: ament_cmake_include_directories
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_include_directories [1.09s]
Starting >>> ament_cmake_export_targets
--- stderr: ament_cmake_export_include_directories
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_export_include_directories [1.12s]
--- stderr: ament_cmake_python
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_python [1.16s]
Starting >>> ament_cmake_test
Starting >>> ament_cmake_target_dependencies
--- stderr: ament_copyright
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_copyright [0.88s]
Starting >>> ament_lint_cmake
Cloning into 'src/rcutils'...
Finished <<< ament_cmake_export_link_flags [1.34s]
Starting >>> ament_cpplint
--- stderr: ament_cmake_export_link_flags
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
--- stderr: ament_lint_cmake
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_lint_cmake [0.84s]
Starting >>> ament_uncrustify
--- stderr: ament_cmake_version
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_version [1.30s]
Starting >>> ament_xmllint
--- stderr: ament_cmake_export_interfaces
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_export_interfaces [1.47s]
Starting >>> ament_clang_format
--- stderr: ament_cmake_export_dependencies
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_export_dependencies [1.52s]
Starting >>> ament_clang_tidy
--- stderr: ament_cmake_export_targets
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_export_targets [1.48s]
--- stderr: ament_cmake_target_dependencies
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_target_dependencies [1.47s]
--- stderr: ament_cpplint
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_cpplint [0.91s]
Starting >>> ament_pclint
Starting >>> domain_coordinator
Starting >>> ament_index_python
Finished <<< ament_uncrustify [1.33s]
--- stderr: ament_uncrustify
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
--- stderr: ament_cmake_test
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_test [2.48s]
Starting >>> ament_cmake_lint_cmake
Starting >>> ament_cmake_gtest
--- stderr: ament_xmllint
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_xmllint [1.40s]
Starting >>> ament_lint_auto
--- stderr: domain_coordinator
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< domain_coordinator [1.29s]
Starting >>> ament_cmake_pytest
--- stderr: ament_clang_format
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_clang_format [1.42s]
--- stderr: ament_index_python
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_index_python [1.34s]
Starting >>> ament_cmake_google_benchmark
Starting >>> ament_cmake_nose
--- stderr: ament_clang_tidy
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_clang_tidy [1.48s]
--- stderr: ament_pclint
/Users/an/.espressif/python_env/idf4.4_py3.9_env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< ament_pclint [1.42s]
--- stderr: ament_cmake_gtest
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_gtest [0.91s]
Starting >>> ament_cmake_gen_version_h
Starting >>> ament_cmake_gmock
--- stderr: ament_cmake_lint_cmake
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_lint_cmake [0.96s]
Starting >>> ament_cmake_copyright
--- stderr: ament_lint_auto
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_lint_auto [0.94s]
Finished <<< ament_cmake_pytest [0.87s]
--- stderr: ament_cmake_pytest
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_nose [0.82s]
--- stderr: ament_cmake_nose
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
--- stderr: ament_cmake_gmock
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_gmock [0.73s]
--- stderr: ament_cmake_copyright
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_copyright [0.72s]
Starting >>> ament_cmake_cppcheck
Starting >>> ament_cmake_cpplint
Starting >>> ament_cmake_flake8
Starting >>> ament_cmake_pep257
Starting >>> ament_cmake_uncrustify
Starting >>> ament_cmake_xmllint
--- stderr: ament_cmake_google_benchmark
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_google_benchmark [1.67s]
Starting >>> ament_cmake_clang_format
Finished <<< ament_cmake_gen_version_h [1.29s]
Starting >>> ament_cmake
--- stderr: ament_cmake_cpplint
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_cpplint [1.02s]
Starting >>> ament_cmake_clang_tidy
--- stderr: ament_cmake_cppcheck
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_cppcheck [1.11s]
Starting >>> ament_cmake_mypy
--- stderr: ament_cmake_flake8
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_flake8 [1.12s]
Starting >>> ament_cmake_pclint
Finished <<< ament_cmake_uncrustify [1.14s]
--- stderr: ament_cmake_uncrustify
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
--- stderr: ament_cmake_pep257
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_pep257 [1.17s]
Starting >>> ament_cmake_pycodestyle
--- stderr: ament_cmake_xmllint
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_xmllint [1.17s]
Starting >>> ament_lint_common
Starting >>> ament_cmake_pyflakes
Finished <<< ament_cmake_clang_format [1.15s]
--- stderr: ament_cmake_clang_format
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
--- stderr: ament_cmake
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake [1.10s]
Starting >>> ament_cmake_auto
--- stderr: ament_cmake_clang_tidy
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_clang_tidy [0.97s]
--- stderr: ament_cmake_mypy
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_mypy [1.04s]
--- stderr: ament_cmake_pclint
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_pclint [1.04s]
--- stderr: ament_cmake_pycodestyle
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_pycodestyle [1.01s]
--- stderr: ament_cmake_pyflakes
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_pyflakes [1.00s]
--- stderr: ament_lint_common
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_lint_common [1.08s]
Starting >>> ament_cmake_ros
Starting >>> ament_index_cpp
--- stderr: ament_cmake_auto
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_auto [1.00s]
Cloning into 'src/micro_ros_msgs'...
--- stderr: ament_cmake_ros
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER

---
Finished <<< ament_cmake_ros [1.02s]
--- stderr: ament_index_cpp
Undefined symbols for architecture arm64:
  "std::logic_error::what() const", referenced from:
      vtable for ament_index_cpp::PackageNotFoundError in get_package_prefix.cpp.o
  "std::__1::__basic_string_common<true>::__throw_length_error() const", referenced from:
      std::__1::_MetaBase<__is_cpp17_forward_iterator<char*>::value>::_EnableIfImpl<void> std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init<char*>(char*, char*) in get_resource.cpp.o
  "std::__1::locale::has_facet(std::__1::locale::id&) const", referenced from:
      bool std::__1::has_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in get_resource.cpp.o
      bool std::__1::has_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in has_resource.cpp.o
  "std::__1::locale::use_facet(std::__1::locale::id&) const", referenced from:
      std::__1::codecvt<char, char, __mbstate_t> const& std::__1::use_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in get_resource.cpp.o
      std::__1::codecvt<char, char, __mbstate_t> const& std::__1::use_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in has_resource.cpp.o
  "std::logic_error::logic_error(char const*)", referenced from:
      std::length_error::length_error(char const*) in get_resource.cpp.o
      std::length_error::length_error(char const*) in get_resources.cpp.o
      std::length_error::length_error(char const*) in get_search_paths.cpp.o
  "std::logic_error::logic_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      std::out_of_range::out_of_range(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
  "std::length_error::~length_error()", referenced from:
      std::__1::__throw_length_error(char const*) in get_resource.cpp.o
      std::__1::__throw_length_error(char const*) in get_resources.cpp.o
      std::__1::__throw_length_error(char const*) in get_search_paths.cpp.o
  "std::out_of_range::~out_of_range()", referenced from:
      ament_index_cpp::PackageNotFoundError::PackageNotFoundError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::PackageNotFoundError::~PackageNotFoundError() in get_package_prefix.cpp.o
  "std::runtime_error::runtime_error(char const*)", referenced from:
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      ament_index_cpp::get_search_paths() in get_search_paths.cpp.o
      ament_index_cpp::has_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in has_resource.cpp.o
  "std::runtime_error::~runtime_error()", referenced from:

REMOVED HERE A CHUNK OF LOGS DUE TO GITHUB LENGTH LIMIT
      ...
  "___gxx_personality_v0", referenced from:
      ament_index_cpp::PackageNotFoundError::PackageNotFoundError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::format_package_not_found_error_message(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::get_package_prefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_package_prefix.cpp.o
      std::__1::__list_imp<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__end_as_link() const in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(std::__1::allocator<char> const&) in get_package_prefix.cpp.o
      std::__1::allocator<char>::deallocate(char*, unsigned long) in get_package_prefix.cpp.o
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libament_index_cpp.dylib] Error 1
make[2]: *** [CMakeFiles/ament_index_cpp.dir/all] Error 2
make[1]: *** [all] Error 2
---
Failed   <<< ament_index_cpp [1.68s, exited with code 2]
Cloning into 'src/rosidl_typesupport'...

Summary: 59 packages finished [12.0s]
  1 package failed: ament_index_cpp
  59 packages had stderr output: ament_clang_format ament_clang_tidy ament_cmake ament_cmake_auto ament_cmake_clang_format ament_cmake_clang_tidy ament_cmake_copyright ament_cmake_core ament_cmake_cppcheck ament_cmake_cpplint ament_cmake_export_definitions ament_cmake_export_dependencies ament_cmake_export_include_directories ament_cmake_export_interfaces ament_cmake_export_libraries ament_cmake_export_link_flags ament_cmake_export_targets ament_cmake_flake8 ament_cmake_gmock ament_cmake_google_benchmark ament_cmake_gtest ament_cmake_include_directories ament_cmake_libraries ament_cmake_lint_cmake ament_cmake_mypy ament_cmake_nose ament_cmake_pclint ament_cmake_pep257 ament_cmake_pycodestyle ament_cmake_pyflakes ament_cmake_pytest ament_cmake_python ament_cmake_ros ament_cmake_target_dependencies ament_cmake_test ament_cmake_uncrustify ament_cmake_version ament_cmake_xmllint ament_copyright ament_cppcheck ament_cpplint ament_flake8 ament_index_cpp ament_index_python ament_lint ament_lint_auto ament_lint_cmake ament_lint_common ament_mypy ament_package ament_pclint ament_pep257 ament_pycodestyle ament_pyflakes ament_uncrustify ament_xmllint domain_coordinator gmock_vendor gtest_vendor
make: *** [/private/tmp/micro_ros_espidf_component/micro_ros_dev/install] Error 2
make: *** Waiting for unfinished jobs....
Cloning into 'src/rosidl_typesupport_microxrcedds'...
Cloning into 'src/rosidl'...
Cloning into 'src/rmw'...
Cloning into 'src/rcl_interfaces'...
Cloning into 'src/rosidl_defaults'...
Cloning into 'src/unique_identifier_msgs'...
Cloning into 'src/common_interfaces'...
Cloning into 'src/example_interfaces'...
Cloning into 'src/test_interface_files'...
Cloning into 'src/rmw_implementation'...
Cloning into 'src/rcl_logging'...
Cloning into 'src/ros2_tracing'...
warning: redirecting to https://gitlab.com/ros-tracing/ros2_tracing.git/
Cloning into 'src/micro_ros_utilities'...
touch: src/rcl_logging/rcl_logging_log4cxx/COLCON_IGNORE: No such file or directory
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 jsmn json libsodium log lwip main mbedtls mdns micro_ros_espidf_component mqtt newlib nghttp nvs_flash openssl openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /Users/an/esp/esp-idf/components/app_trace /Users/an/esp/esp-idf/components/app_update /Users/an/esp/esp-idf/components/asio /Users/an/esp/esp-idf/components/bootloader /Users/an/esp/esp-idf/components/bootloader_support /Users/an/esp/esp-idf/components/bt /Users/an/esp/esp-idf/components/cbor /Users/an/esp/esp-idf/components/cmock /Users/an/esp/esp-idf/components/coap /Users/an/esp/esp-idf/components/console /Users/an/esp/esp-idf/components/cxx /Users/an/esp/esp-idf/components/driver /Users/an/esp/esp-idf/components/efuse /Users/an/esp/esp-idf/components/esp-tls /Users/an/esp/esp-idf/components/esp32 /Users/an/esp/esp-idf/components/esp_adc_cal /Users/an/esp/esp-idf/components/esp_common /Users/an/esp/esp-idf/components/esp_eth /Users/an/esp/esp-idf/components/esp_event /Users/an/esp/esp-idf/components/esp_gdbstub /Users/an/esp/esp-idf/components/esp_hid /Users/an/esp/esp-idf/components/esp_http_client /Users/an/esp/esp-idf/components/esp_http_server /Users/an/esp/esp-idf/components/esp_https_ota /Users/an/esp/esp-idf/components/esp_https_server /Users/an/esp/esp-idf/components/esp_hw_support /Users/an/esp/esp-idf/components/esp_ipc /Users/an/esp/esp-idf/components/esp_lcd /Users/an/esp/esp-idf/components/esp_local_ctrl /Users/an/esp/esp-idf/components/esp_netif /Users/an/esp/esp-idf/components/esp_phy /Users/an/esp/esp-idf/components/esp_pm /Users/an/esp/esp-idf/components/esp_ringbuf /Users/an/esp/esp-idf/components/esp_rom /Users/an/esp/esp-idf/components/esp_serial_slave_link /Users/an/esp/esp-idf/components/esp_system /Users/an/esp/esp-idf/components/esp_timer /Users/an/esp/esp-idf/components/esp_websocket_client /Users/an/esp/esp-idf/components/esp_wifi /Users/an/esp/esp-idf/components/espcoredump /Users/an/esp/esp-idf/components/esptool_py /Users/an/esp/esp-idf/components/expat /Users/an/esp/esp-idf/components/fatfs /Users/an/esp/esp-idf/components/freemodbus /Users/an/esp/esp-idf/components/freertos /Users/an/esp/esp-idf/components/hal /Users/an/esp/esp-idf/components/heap /Users/an/esp/esp-idf/components/idf_test /Users/an/esp/esp-idf/components/ieee802154 /Users/an/esp/esp-idf/components/jsmn /Users/an/esp/esp-idf/components/json /Users/an/esp/esp-idf/components/libsodium /Users/an/esp/esp-idf/components/log /Users/an/esp/esp-idf/components/lwip /tmp/micro_ros_espidf_component/examples/int32_publisher/main /Users/an/esp/esp-idf/components/mbedtls /Users/an/esp/esp-idf/components/mdns /tmp/micro_ros_espidf_component /Users/an/esp/esp-idf/components/mqtt /Users/an/esp/esp-idf/components/newlib /Users/an/esp/esp-idf/components/nghttp /Users/an/esp/esp-idf/components/nvs_flash /Users/an/esp/esp-idf/components/openssl /Users/an/esp/esp-idf/components/openthread /Users/an/esp/esp-idf/components/partition_table /Users/an/esp/esp-idf/components/perfmon /Users/an/esp/esp-idf/components/protobuf-c /Users/an/esp/esp-idf/components/protocomm /Users/an/esp/esp-idf/components/pthread /Users/an/esp/esp-idf/components/sdmmc /Users/an/esp/esp-idf/components/soc /Users/an/esp/esp-idf/components/spi_flash /Users/an/esp/esp-idf/components/spiffs /Users/an/esp/esp-idf/components/tcp_transport /Users/an/esp/esp-idf/components/tcpip_adapter /Users/an/esp/esp-idf/components/tinyusb /Users/an/esp/esp-idf/components/ulp /Users/an/esp/esp-idf/components/unity /Users/an/esp/esp-idf/components/usb /Users/an/esp/esp-idf/components/vfs /Users/an/esp/esp-idf/components/wear_levelling /Users/an/esp/esp-idf/components/wifi_provisioning /Users/an/esp/esp-idf/components/wpa_supplicant /Users/an/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/micro_ros_espidf_component/examples/int32_publisher/build
anslex commented 2 years ago

This chunk was removed from main log:

Finished <<< ament_cmake_ros [1.02s]
--- stderr: ament_index_cpp
Undefined symbols for architecture arm64:
  "std::logic_error::what() const", referenced from:
      vtable for ament_index_cpp::PackageNotFoundError in get_package_prefix.cpp.o
  "std::__1::__basic_string_common<true>::__throw_length_error() const", referenced from:
      std::__1::_MetaBase<__is_cpp17_forward_iterator<char*>::value>::_EnableIfImpl<void> std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init<char*>(char*, char*) in get_resource.cpp.o
  "std::__1::locale::has_facet(std::__1::locale::id&) const", referenced from:
      bool std::__1::has_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in get_resource.cpp.o
      bool std::__1::has_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in has_resource.cpp.o
  "std::__1::locale::use_facet(std::__1::locale::id&) const", referenced from:
      std::__1::codecvt<char, char, __mbstate_t> const& std::__1::use_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in get_resource.cpp.o
      std::__1::codecvt<char, char, __mbstate_t> const& std::__1::use_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in has_resource.cpp.o
  "std::logic_error::logic_error(char const*)", referenced from:
      std::length_error::length_error(char const*) in get_resource.cpp.o
      std::length_error::length_error(char const*) in get_resources.cpp.o
      std::length_error::length_error(char const*) in get_search_paths.cpp.o
  "std::logic_error::logic_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      std::out_of_range::out_of_range(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
  "std::length_error::~length_error()", referenced from:
      std::__1::__throw_length_error(char const*) in get_resource.cpp.o
      std::__1::__throw_length_error(char const*) in get_resources.cpp.o
      std::__1::__throw_length_error(char const*) in get_search_paths.cpp.o
  "std::out_of_range::~out_of_range()", referenced from:
      ament_index_cpp::PackageNotFoundError::PackageNotFoundError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::PackageNotFoundError::~PackageNotFoundError() in get_package_prefix.cpp.o
  "std::runtime_error::runtime_error(char const*)", referenced from:
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      ament_index_cpp::get_search_paths() in get_search_paths.cpp.o
      ament_index_cpp::has_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in has_resource.cpp.o
  "std::runtime_error::~runtime_error()", referenced from:
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      ament_index_cpp::get_search_paths() in get_search_paths.cpp.o
      ament_index_cpp::has_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in has_resource.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) in get_packages_with_prefixes.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) in get_resources.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) in get_search_paths.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long, unsigned long)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_resource.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_resources.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in has_resource.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, char const*) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, char const*) in get_package_share_directory.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, char const*) in get_resource.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, char const*) in get_resources.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, char const*) in has_resource.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*, unsigned long)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_share_directory.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_resource.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resource.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_resources.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::resize(unsigned long, char)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::resize(unsigned long) in get_resource.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::resize(unsigned long) in get_search_paths.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::push_back(char)", referenced from:
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in get_resource.cpp.o
      std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) in get_search_paths.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in get_search_paths.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      ament_index_cpp::PackageNotFoundError::PackageNotFoundError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      void std::__1::allocator<std::__1::__list_node<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void*> >::construct<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_search_paths.cpp.o
      ament_index_cpp::has_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in has_resource.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, unsigned long, std::__1::allocator<char> const&)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::substr(unsigned long, unsigned long) const in get_package_prefix.cpp.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()", referenced from:
      ament_index_cpp::PackageNotFoundError::PackageNotFoundError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::format_package_not_found_error_message(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::PackageNotFoundError::~PackageNotFoundError() in get_package_prefix.cpp.o
      ament_index_cpp::get_package_prefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_package_prefix.cpp.o
      void std::__1::allocator_traits<std::__1::allocator<std::__1::__list_node<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void*> > >::destroy<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void, void>(std::__1::allocator<std::__1::__list_node<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void*> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_package_prefix.cpp.o
      ament_index_cpp::get_package_share_directory(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_share_directory.cpp.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_search_paths.cpp.o
      ament_index_cpp::has_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in has_resource.cpp.o
  "std::__1::basic_istream<char, std::__1::char_traits<char> >::sentry::sentry(std::__1::basic_istream<char, std::__1::char_traits<char> >&, bool)", referenced from:
      std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) in get_search_paths.cpp.o
  "std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::basic_ifstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in get_resource.cpp.o
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::~basic_ifstream() in get_resource.cpp.o
      std::__1::basic_iostream<char, std::__1::char_traits<char> >::basic_iostream(std::__1::basic_streambuf<char, std::__1::char_traits<char> >*) in get_resource.cpp.o
      std::__1::basic_iostream<char, std::__1::char_traits<char> >::basic_iostream(std::__1::basic_streambuf<char, std::__1::char_traits<char> >*) in get_search_paths.cpp.o
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::basic_ifstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in has_resource.cpp.o
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::~basic_ifstream() in has_resource.cpp.o
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(std::__1::basic_streambuf<char, std::__1::char_traits<char> >*)", referenced from:
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
  "std::__1::basic_iostream<char, std::__1::char_traits<char> >::~basic_iostream()", referenced from:
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "std::__1::basic_iostream<char, std::__1::char_traits<char> >::~basic_iostream()", referenced from:
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "std::__1::basic_iostream<char, std::__1::char_traits<char> >::~basic_iostream()", referenced from:
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringstream() in get_resource.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_stringstream(unsigned int) in get_resource.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_stringstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in get_search_paths.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringstream() in get_search_paths.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::sync()", referenced from:
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::imbue(std::__1::locale const&)", referenced from:
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::uflow()", referenced from:
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in get_resource.cpp.o
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::setbuf(char*, long)", referenced from:
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::xsgetn(char*, long)", referenced from:
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in get_resource.cpp.o
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::xsputn(char const*, long)", referenced from:
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in get_resource.cpp.o
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::showmanyc()", referenced from:
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in get_resource.cpp.o
      vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      vtable for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::basic_streambuf()", referenced from:
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf() in get_resource.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_stringbuf(unsigned int) in get_resource.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_stringbuf(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in get_search_paths.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf() in has_resource.cpp.o
  "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::~basic_streambuf()", referenced from:
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringbuf() in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf() in get_resource.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringbuf() in get_search_paths.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_stringbuf(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in get_search_paths.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in has_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf() in has_resource.cpp.o
      ...
  "std::__1::locale::locale(std::__1::locale const&)", referenced from:
      std::__1::basic_streambuf<char, std::__1::char_traits<char> >::getloc() const in get_resource.cpp.o
      std::__1::basic_streambuf<char, std::__1::char_traits<char> >::getloc() const in has_resource.cpp.o
  "std::__1::locale::~locale()", referenced from:
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf() in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf() in has_resource.cpp.o
  "std::__1::codecvt<char, char, __mbstate_t>::id", referenced from:
      std::__1::codecvt<char, char, __mbstate_t> const& std::__1::use_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in get_resource.cpp.o
      bool std::__1::has_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in get_resource.cpp.o
      std::__1::codecvt<char, char, __mbstate_t> const& std::__1::use_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in has_resource.cpp.o
      bool std::__1::has_facet<std::__1::codecvt<char, char, __mbstate_t> >(std::__1::locale const&) in has_resource.cpp.o
  "std::__1::ios_base::init(void*)", referenced from:
      std::__1::basic_ios<char, std::__1::char_traits<char> >::init(std::__1::basic_streambuf<char, std::__1::char_traits<char> >*) in get_resource.cpp.o
      std::__1::basic_ios<char, std::__1::char_traits<char> >::init(std::__1::basic_streambuf<char, std::__1::char_traits<char> >*) in get_search_paths.cpp.o
      std::__1::basic_ios<char, std::__1::char_traits<char> >::init(std::__1::basic_streambuf<char, std::__1::char_traits<char> >*) in has_resource.cpp.o
  "std::__1::ios_base::clear(unsigned int)", referenced from:
      std::__1::ios_base::setstate(unsigned int) in get_resource.cpp.o
      std::__1::ios_base::setstate(unsigned int) in get_search_paths.cpp.o
      std::__1::ios_base::setstate(unsigned int) in has_resource.cpp.o
  "std::__1::basic_ios<char, std::__1::char_traits<char> >::~basic_ios()", referenced from:
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::basic_ifstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in get_resource.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringstream() in get_resource.cpp.o
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::~basic_ifstream() in get_resource.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_stringstream(unsigned int) in get_resource.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_stringstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in get_search_paths.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringstream() in get_search_paths.cpp.o
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::basic_ifstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in has_resource.cpp.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      ament_index_cpp::format_package_not_found_error_message(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
  "std::bad_cast::bad_cast()", referenced from:
      std::__1::__throw_bad_cast() in get_resource.cpp.o
      std::__1::__throw_bad_cast() in has_resource.cpp.o
  "std::bad_cast::~bad_cast()", referenced from:
      std::__1::__throw_bad_cast() in get_resource.cpp.o
      std::__1::__throw_bad_cast() in has_resource.cpp.o
  "std::terminate()", referenced from:
      ___clang_call_terminate in get_package_prefix.cpp.o
      ___clang_call_terminate in get_resource.cpp.o
      ___clang_call_terminate in get_resources.cpp.o
      ___clang_call_terminate in get_search_paths.cpp.o
      ___clang_call_terminate in has_resource.cpp.o
  "typeinfo for std::__1::basic_istream<char, std::__1::char_traits<char> >", referenced from:
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_ifstream<char, std::__1::char_traits<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in has_resource.cpp.o
      typeinfo for std::__1::basic_ifstream<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "typeinfo for std::__1::basic_ostream<char, std::__1::char_traits<char> >", referenced from:
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "typeinfo for std::__1::basic_iostream<char, std::__1::char_traits<char> >", referenced from:
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      typeinfo for std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "typeinfo for std::__1::basic_streambuf<char, std::__1::char_traits<char> >", referenced from:
      typeinfo for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      typeinfo for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "typeinfo for std::length_error", referenced from:
      std::__1::__throw_length_error(char const*) in get_resource.cpp.o
      std::__1::__throw_length_error(char const*) in get_resources.cpp.o
      std::__1::__throw_length_error(char const*) in get_search_paths.cpp.o
  "typeinfo for std::out_of_range", referenced from:
      typeinfo for ament_index_cpp::PackageNotFoundError in get_package_prefix.cpp.o
  "typeinfo for std::runtime_error", referenced from:
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      ament_index_cpp::get_search_paths() in get_search_paths.cpp.o
      ament_index_cpp::has_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in has_resource.cpp.o
  "typeinfo for std::bad_cast", referenced from:
      std::__1::__throw_bad_cast() in get_resource.cpp.o
      std::__1::__throw_bad_cast() in has_resource.cpp.o
  "vtable for __cxxabiv1::__si_class_type_info", referenced from:
      typeinfo for ament_index_cpp::PackageNotFoundError in get_package_prefix.cpp.o
      typeinfo for std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_ifstream<char, std::__1::char_traits<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_filebuf<char, std::__1::char_traits<char> > in get_resource.cpp.o
      typeinfo for std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      typeinfo for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      ...
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for std::__1::ios_base", referenced from:
      std::__1::ios_base::ios_base() in get_resource.cpp.o
      std::__1::ios_base::ios_base() in get_search_paths.cpp.o
      std::__1::ios_base::ios_base() in has_resource.cpp.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for std::__1::basic_ios<char, std::__1::char_traits<char> >", referenced from:
      std::__1::basic_ios<char, std::__1::char_traits<char> >::basic_ios() in get_resource.cpp.o
      std::__1::basic_ios<char, std::__1::char_traits<char> >::basic_ios() in get_search_paths.cpp.o
      std::__1::basic_ios<char, std::__1::char_traits<char> >::basic_ios() in has_resource.cpp.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for std::length_error", referenced from:
      std::length_error::length_error(char const*) in get_resource.cpp.o
      std::length_error::length_error(char const*) in get_resources.cpp.o
      std::length_error::length_error(char const*) in get_search_paths.cpp.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for std::out_of_range", referenced from:
      std::out_of_range::out_of_range(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "non-virtual thunk to std::__1::basic_iostream<char, std::__1::char_traits<char> >::~basic_iostream()", referenced from:
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "non-virtual thunk to std::__1::basic_iostream<char, std::__1::char_traits<char> >::~basic_iostream()", referenced from:
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "virtual thunk to std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "virtual thunk to std::__1::basic_istream<char, std::__1::char_traits<char> >::~basic_istream()", referenced from:
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char> >-in-std::__1::basic_ifstream<char, std::__1::char_traits<char> > in has_resource.cpp.o
  "virtual thunk to std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "virtual thunk to std::__1::basic_ostream<char, std::__1::char_traits<char> >::~basic_ostream()", referenced from:
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_ostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "virtual thunk to std::__1::basic_iostream<char, std::__1::char_traits<char> >::~basic_iostream()", referenced from:
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "virtual thunk to std::__1::basic_iostream<char, std::__1::char_traits<char> >::~basic_iostream()", referenced from:
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_resource.cpp.o
      construction vtable for std::__1::basic_iostream<char, std::__1::char_traits<char> >-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > in get_search_paths.cpp.o
  "operator delete[](void*)", referenced from:
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::imbue(std::__1::locale const&) in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::setbuf(char*, long) in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in has_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::imbue(std::__1::locale const&) in has_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::setbuf(char*, long) in has_resource.cpp.o
  "operator delete(void*)", referenced from:
      ament_index_cpp::PackageNotFoundError::~PackageNotFoundError() in get_package_prefix.cpp.o
      void std::__1::__libcpp_operator_delete<void*>(void*) in get_package_prefix.cpp.o
      std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringstream() in get_resource.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_stringbuf() in get_resource.cpp.o
      std::__1::basic_ifstream<char, std::__1::char_traits<char> >::~basic_ifstream() in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in get_resource.cpp.o
      void std::__1::__libcpp_operator_delete<void*>(void*) in get_resource.cpp.o
      ...
  "operator new[](unsigned long)", referenced from:
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::imbue(std::__1::locale const&) in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::setbuf(char*, long) in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::imbue(std::__1::locale const&) in has_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::setbuf(char*, long) in has_resource.cpp.o
  "operator new(unsigned long)", referenced from:
      void* std::__1::__libcpp_operator_new<unsigned long>(unsigned long) in get_resource.cpp.o
      void* std::__1::__libcpp_operator_new<unsigned long>(unsigned long) in get_resources.cpp.o
      void* std::__1::__libcpp_operator_new<unsigned long>(unsigned long) in get_search_paths.cpp.o
  "___cxa_allocate_exception", referenced from:
      ament_index_cpp::get_package_prefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      std::__1::__throw_bad_cast() in get_resource.cpp.o
      std::__1::__throw_length_error(char const*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      std::__1::__throw_length_error(char const*) in get_resources.cpp.o
      ament_index_cpp::get_search_paths() in get_search_paths.cpp.o
      ...
  "___cxa_begin_catch", referenced from:
      ___clang_call_terminate in get_package_prefix.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in get_resource.cpp.o
      ___clang_call_terminate in get_resource.cpp.o
      ___clang_call_terminate in get_resources.cpp.o
      std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) in get_search_paths.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in get_search_paths.cpp.o
      ...
  "___cxa_end_catch", referenced from:
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in get_resource.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in get_resource.cpp.o
      std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) in get_search_paths.cpp.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::overflow(int) in get_search_paths.cpp.o
      std::__1::basic_filebuf<char, std::__1::char_traits<char> >::~basic_filebuf() in has_resource.cpp.o
  "___cxa_free_exception", referenced from:
      ament_index_cpp::get_package_prefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      std::__1::__throw_length_error(char const*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      std::__1::__throw_length_error(char const*) in get_resources.cpp.o
      ament_index_cpp::get_search_paths() in get_search_paths.cpp.o
      std::__1::__throw_length_error(char const*) in get_search_paths.cpp.o
      ...
  "___cxa_rethrow", referenced from:
      std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) in get_search_paths.cpp.o
  "___cxa_throw", referenced from:
      ament_index_cpp::get_package_prefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::get_resource(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in get_resource.cpp.o
      std::__1::__throw_bad_cast() in get_resource.cpp.o
      std::__1::__throw_length_error(char const*) in get_resource.cpp.o
      ament_index_cpp::get_resources(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_resources.cpp.o
      std::__1::__throw_length_error(char const*) in get_resources.cpp.o
      ament_index_cpp::get_search_paths() in get_search_paths.cpp.o
      ...
  "___gxx_personality_v0", referenced from:
      ament_index_cpp::PackageNotFoundError::PackageNotFoundError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::format_package_not_found_error_message(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      ament_index_cpp::get_package_prefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in get_package_prefix.cpp.o
      std::__1::__list_imp<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__end_as_link() const in get_package_prefix.cpp.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(std::__1::allocator<char> const&) in get_package_prefix.cpp.o
      std::__1::allocator<char>::deallocate(char*, unsigned long) in get_package_prefix.cpp.o
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libament_index_cpp.dylib] Error 1
make[2]: *** [CMakeFiles/ament_index_cpp.dir/all] Error 2
make[1]: *** [all] Error 2
---
Failed   <<< ament_index_cpp [1.68s, exited with code 2]
pablogs9 commented 2 years ago

Can you make a reproducible environment just by downloading this package in a folder and running colcon build. In any case, I guess that this is an ament_index_cpp issue, could you move the issue to this repo?

anslex commented 2 years ago

Thank you, the issue persist so it is not relevant to micro_ros_espidf_component Closing it

Have a nice day

anslex commented 2 years ago

I have found that it compiles with these flags (g++ CXX compiler and arm64): colcon build --cmake-args -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_SYSTEM_PROCESSOR=arm64