I am using ros2 humble, with the linorobot2_hardware galactic branch
in the linorobot2_hardware/firmware
pio run --target upload -e teensy41
gives an error
CMake Error at /home/layer/ros2_humble/ros2-linux/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c-extras.cmake:5 (find_package):
Could not find a configuration file for package "fastcdr" that is
compatible with requested version "".
The following configuration files were considered but not accepted:
Is there issues with the linorobot2_hardware galactic branch wanting an older version of fastcdr?
I tried to install a newer version of fastcdr but still got the error.
Here is the full output.
Lots of warnings but I think the fastcdr issue is the error causing the fail.
I am new to compiling with CMake.
~/linorobot2_hardware/firmware$ pio run --target upload -e teensy41
Processing teensy41 (board: teensy41; platform: teensy; framework: arduino)
Library Manager: Installing git+https://github.com/micro-ROS/micro_ros_platformio
git version 2.34.1
Cloning into '/home/layer/.platformio/.cache/tmp/pkg-installing-709aa9a0'...
remote: Enumerating objects: 67, done.
remote: Counting objects: 100% (67/67), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 67 (delta 10), reused 48 (delta 5), pack-reused 0
Receiving objects: 100% (67/67), 125.47 KiB | 373.00 KiB/s, done.
Resolving deltas: 100% (10/10), done.
Library Manager: micro_ros_platformio@0.0.1+sha.22cf9b6 has been installed!
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy41.html
PLATFORM: Teensy (4.17.0) > Teensy 4.1
HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash
DEBUG: Current (jlink) External (jlink)
PACKAGES:
framework-arduinoteensy @ 1.157.220801 (1.57)
tool-teensy @ 1.157.0 (1.57)
toolchain-gccarmnoneeabi @ 1.50401.190816 (5.4.1)
Converting firmware.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Installing catkin-pkg with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install catkin-pkg
Collecting catkin-pkg
Using cached catkin_pkg-0.5.2-py3-none-any.whl (76 kB)
Collecting docutils
Using cached docutils-0.19-py3-none-any.whl (570 kB)
Requirement already satisfied: setuptools in /home/layer/.platformio/penv/lib/python3.10/site-packages (from catkin-pkg) (67.1.0)
Collecting python-dateutil
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pyparsing
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, pyparsing, docutils, python-dateutil, catkin-pkg
Successfully installed catkin-pkg-0.5.2 docutils-0.19 pyparsing-3.0.9 python-dateutil-2.8.2 six-1.16.0
Installing lark-parser with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install lark-parser
Collecting lark-parser
Using cached lark_parser-0.12.0-py2.py3-none-any.whl (103 kB)
Installing collected packages: lark-parser
Successfully installed lark-parser-0.12.0
Installing empy with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install empy
Collecting empy
Using cached empy-3.3.4.tar.gz (62 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: empy
Building wheel for empy (setup.py): started
Building wheel for empy (setup.py): finished with status 'done'
Created wheel for empy: filename=empy-3.3.4-py3-none-any.whl size=29338 sha256=038b7a161e1d9afeb9269bdf5d5977519ff56837ba5183ee32e3d24f27736e57
Stored in directory: /home/layer/.cache/pip/wheels/e1/e4/1c/d5dfe71bdbf561652eb836b137dabf120043a3086217f0f062
Successfully built empy
Installing collected packages: empy
Successfully installed empy-3.3.4
Installing colcon-common-extensions with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install colcon-common-extensions
Collecting colcon-common-extensions
Using cached colcon_common_extensions-0.3.0-py3-none-any.whl (6.5 kB)
Collecting colcon-core
Using cached colcon_core-0.12.1-py3-none-any.whl (126 kB)
Collecting colcon-recursive-crawl
Using cached colcon_recursive_crawl-0.2.1-py3-none-any.whl (3.9 kB)
Collecting colcon-cd
Using cached colcon_cd-0.1.1-py3-none-any.whl (3.6 kB)
Collecting colcon-package-information
Using cached colcon_package_information-0.3.3-py3-none-any.whl (15 kB)
Collecting colcon-zsh
Using cached colcon_zsh-0.4.0-py3-none-any.whl (6.5 kB)
Collecting colcon-cmake
Using cached colcon_cmake-0.2.27-py3-none-any.whl (25 kB)
Collecting colcon-output
Downloading colcon_output-0.2.13-py3-none-any.whl (14 kB)
Collecting colcon-devtools
Using cached colcon_devtools-0.2.3-py3-none-any.whl (7.5 kB)
Collecting colcon-parallel-executor
Using cached colcon_parallel_executor-0.2.4-py3-none-any.whl (5.5 kB)
Collecting colcon-python-setup-py
Using cached colcon_python_setup_py-0.2.8-py3-none-any.whl (11 kB)
Collecting colcon-ros
Using cached colcon_ros-0.3.23-py3-none-any.whl (25 kB)
Collecting colcon-library-path
Using cached colcon_library_path-0.2.1-py3-none-any.whl (4.9 kB)
Collecting colcon-defaults
Using cached colcon_defaults-0.2.8-py3-none-any.whl (10.0 kB)
Collecting colcon-notification
Using cached colcon_notification-0.2.15-py3-none-any.whl (63 kB)
Collecting colcon-bash
Using cached colcon_bash-0.4.2-py3-none-any.whl (10 kB)
Collecting colcon-argcomplete
Using cached colcon_argcomplete-0.3.3-py3-none-any.whl (6.9 kB)
Collecting colcon-test-result
Using cached colcon_test_result-0.3.8-py3-none-any.whl (8.5 kB)
Collecting colcon-metadata
Using cached colcon_metadata-0.2.5-py3-none-any.whl (19 kB)
Collecting colcon-package-selection
Using cached colcon_package_selection-0.2.10-py3-none-any.whl (16 kB)
Collecting colcon-powershell
Using cached colcon_powershell-0.3.7-py3-none-any.whl (10 kB)
Collecting argcomplete
Using cached argcomplete-2.0.0-py2.py3-none-any.whl (37 kB)
Collecting pytest-repeat
Using cached pytest_repeat-0.9.1-py2.py3-none-any.whl (4.3 kB)
Requirement already satisfied: setuptools>=30.3.0 in /home/layer/.platformio/penv/lib/python3.10/site-packages (from colcon-core->colcon-common-extensions) (67.1.0)
Requirement already satisfied: EmPy in /home/layer/.platformio/penv/lib/python3.10/site-packages (from colcon-core->colcon-common-extensions) (3.3.4)
Collecting pytest-rerunfailures
Downloading pytest_rerunfailures-11.1.1-py3-none-any.whl (12 kB)
Collecting pytest
Using cached pytest-7.2.1-py3-none-any.whl (317 kB)
Collecting distlib
Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting pytest-cov
Using cached pytest_cov-4.0.0-py3-none-any.whl (21 kB)
Collecting PyYAML
Using cached PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (733 kB)
Collecting notify2
Using cached notify2-0.3.1-py2.py3-none-any.whl (8.0 kB)
Requirement already satisfied: catkin-pkg>=0.4.14 in /home/layer/.platformio/penv/lib/python3.10/site-packages (from colcon-ros->colcon-common-extensions) (0.5.2)
Collecting colcon-pkg-config
Using cached colcon_pkg_config-0.1.0-py3-none-any.whl (4.5 kB)
Requirement already satisfied: pyparsing in /home/layer/.platformio/penv/lib/python3.10/site-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (3.0.9)
Requirement already satisfied: python-dateutil in /home/layer/.platformio/penv/lib/python3.10/site-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (2.8.2)
Requirement already satisfied: docutils in /home/layer/.platformio/penv/lib/python3.10/site-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (0.19)
Collecting pluggy<2.0,>=0.12
Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting exceptiongroup>=1.0.0rc8
Using cached exceptiongroup-1.1.0-py3-none-any.whl (14 kB)
Requirement already satisfied: packaging in /home/layer/.platformio/penv/lib/python3.10/site-packages (from pytest->colcon-core->colcon-common-extensions) (23.0)
Collecting iniconfig
Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting tomli>=1.0.0
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting attrs>=19.2.0
Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Collecting coverage[toml]>=5.2.1
Using cached coverage-7.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (227 kB)
Requirement already satisfied: six>=1.5 in /home/layer/.platformio/penv/lib/python3.10/site-packages (from python-dateutil->catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (1.16.0)
Installing collected packages: notify2, distlib, tomli, PyYAML, pluggy, iniconfig, exceptiongroup, coverage, attrs, argcomplete, pytest, pytest-rerunfailures, pytest-repeat, pytest-cov, colcon-core, colcon-zsh, colcon-test-result, colcon-recursive-crawl, colcon-python-setup-py, colcon-powershell, colcon-pkg-config, colcon-parallel-executor, colcon-package-selection, colcon-package-information, colcon-output, colcon-notification, colcon-metadata, colcon-library-path, colcon-devtools, colcon-defaults, colcon-bash, colcon-argcomplete, colcon-cmake, colcon-cd, colcon-ros, colcon-common-extensions
Successfully installed PyYAML-6.0 argcomplete-2.0.0 attrs-22.2.0 colcon-argcomplete-0.3.3 colcon-bash-0.4.2 colcon-cd-0.1.1 colcon-cmake-0.2.27 colcon-common-extensions-0.3.0 colcon-core-0.12.1 colcon-defaults-0.2.8 colcon-devtools-0.2.3 colcon-library-path-0.2.1 colcon-metadata-0.2.5 colcon-notification-0.2.15 colcon-output-0.2.13 colcon-package-information-0.3.3 colcon-package-selection-0.2.10 colcon-parallel-executor-0.2.4 colcon-pkg-config-0.1.0 colcon-powershell-0.3.7 colcon-python-setup-py-0.2.8 colcon-recursive-crawl-0.2.1 colcon-ros-0.3.23 colcon-test-result-0.3.8 colcon-zsh-0.4.0 coverage-7.1.0 distlib-0.3.6 exceptiongroup-1.1.0 iniconfig-2.0.0 notify2-0.3.1 pluggy-1.0.0 pytest-7.2.1 pytest-cov-4.0.0 pytest-repeat-0.9.1 pytest-rerunfailures-11.1.1 tomli-2.0.1
Installing importlib-resources with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install importlib-resources
Collecting importlib-resources
Downloading importlib_resources-5.11.1-py3-none-any.whl (35 kB)
Installing collected packages: importlib-resources
Successfully installed importlib-resources-5.11.1
Installing pyyaml with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install pyyaml
Requirement already satisfied: pyyaml in /home/layer/.platformio/penv/lib/python3.10/site-packages (6.0)
Installing pytz with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install pytz
Collecting pytz
Using cached pytz-2022.7.1-py2.py3-none-any.whl (499 kB)
Installing collected packages: pytz
Successfully installed pytz-2022.7.1
Installing markupsafe==2.0.1 with pip at PlatformIO environment
/home/layer/.platformio/penv/bin/python -m pip install markupsafe==2.0.1
Collecting markupsafe==2.0.1
Using cached MarkupSafe-2.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26 kB)
Installing collected packages: markupsafe
Successfully installed markupsafe-2.0.1
Configuring teensy41 with transport serial
Downloading micro-ROS dev dependencies
Downloaded ament_cmake
Downloaded ament_lint
Downloaded ament_package
Downloaded googletest
Downloaded ament_cmake_ros
Downloaded ament_index
Building micro-ROS dev dependencies
Downloading micro-ROS library
Extra packages folder not found, skipping...
Building micro-ROS library
Build mcu micro-ROS environment failed:
[3.758s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
'rosidl_runtime_c' is in: /home/layer/ros2_humble/ros2-linux
'rcl_lifecycle' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_typesupport_c' is in: /home/layer/ros2_humble/ros2-linux
'visualization_msgs' is in: /home/layer/ros2_humble/ros2-linux
'action_msgs' is in: /home/layer/ros2_humble/ros2-linux
'rmw_implementation' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_cli' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_parser' is in: /home/layer/ros2_humble/ros2-linux
'rcl' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_default_generators' is in: /home/layer/ros2_humble/ros2-linux
'rcutils' is in: /home/layer/ros2_humble/ros2-linux
'geometry_msgs' is in: /home/layer/ros2_humble/ros2-linux
'rcl_action' is in: /home/layer/ros2_humble/ros2-linux
'rcl_logging_interface' is in: /home/layer/ros2_humble/ros2-linux
'rmw' is in: /home/layer/ros2_humble/ros2-linux
'std_msgs' is in: /home/layer/ros2_humble/ros2-linux
'builtin_interfaces' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_cmake' is in: /home/layer/ros2_humble/ros2-linux
'test_interface_files' is in: /home/layer/ros2_humble/ros2-linux
'composition_interfaces' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_default_runtime' is in: /home/layer/ros2_humble/ros2-linux
'tracetools' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_generator_c' is in: /home/layer/ros2_humble/ros2-linux
'nav_msgs' is in: /home/layer/ros2_humble/ros2-linux
'rcl_interfaces' is in: /home/layer/ros2_humble/ros2-linux
'rmw_implementation_cmake' is in: /home/layer/ros2_humble/ros2-linux
'std_srvs' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_typesupport_introspection_c' is in: /home/layer/ros2_humble/ros2-linux
'sensor_msgs_py' is in: /home/layer/ros2_humble/ros2-linux
'sensor_msgs' is in: /home/layer/ros2_humble/ros2-linux
'rosidl_typesupport_interface' is in: /home/layer/ros2_humble/ros2-linux
'unique_identifier_msgs' is in: /home/layer/ros2_humble/ros2-linux
'lifecycle_msgs' is in: /home/layer/ros2_humble/ros2-linux
'rosgraph_msgs' is in: /home/layer/ros2_humble/ros2-linux
'statistics_msgs' is in: /home/layer/ros2_humble/ros2-linux
'test_msgs' is in: /home/layer/ros2_humble/ros2-linux
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.
If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding action_msgs builtin_interfaces composition_interfaces geometry_msgs lifecycle_msgs nav_msgs rcl rcl_action rcl_interfaces rcl_lifecycle rcl_logging_interface rcutils rmw rmw_implementation rmw_implementation_cmake rosgraph_msgs rosidl_cli rosidl_cmake rosidl_default_generators rosidl_default_runtime rosidl_generator_c rosidl_parser rosidl_runtime_c rosidl_typesupport_c rosidl_typesupport_interface rosidl_typesupport_introspection_c sensor_msgs sensor_msgs_py statistics_msgs std_msgs std_srvs test_interface_files test_msgs tracetools unique_identifier_msgs visualization_msgs
This may be promoted to an error in a future release of colcon-override-check.
--- stderr: rosidl_typesupport_interface
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_POSITION_INDEPENDENT_CODE
THIRDPARTY
--- stderr: microcdr
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
THIRDPARTY
--- stderr: rosidl_cli
/home/layer/.platformio/penv/lib/python3.10/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: rmw_implementation_cmake
CMake Warning:
Manually-specified variables were not used by the project:
--- stderr: rcutils
CMake Warning:
Manually-specified variables were not used by the project:
ENABLE_TESTING
THIRDPARTY
In file included from /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:35:0:
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h: In function 'rcutils_convert_uint64_t_into_c_str':
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:48: warning: unused parameter 'number' [-Wunused-parameter]
rcutils_convert_uint64_t_into_c_str(uint64_t number, char * buffer, size_t buffer_size)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:63: warning: unused parameter 'buffer' [-Wunused-parameter]
rcutils_convert_uint64_t_into_c_str(uint64_t number, char * buffer, size_t buffer_size)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
rcutils_convert_uint64_t_into_c_str(uint64_t number, char buffer, size_t buffer_size)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h: In function '__rcutils_format_error_string':
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:142:28: warning: unused parameter 'error_string' [-Wunused-parameter]
rcutils_error_string_t error_string,
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:143:33: warning: unused parameter 'error_state' [-Wunused-parameter]
const rcutils_error_state_t error_state)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c: In function 'rcutils_get_error_string':
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:240:38: warning: initializer-string for array of chars is too long
return (rcutils_error_string_t) {"error not set"}; // NOLINT(readability/braces)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:240:38: note: (near initialization for '(anonymous).str')
In file included from /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:35:0:
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c: At top level:
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:91:1: warning: 'rcutils_reverse_str' defined but not used [-Wunused-function]
rcutils_reverse_str(char string_in, size_t string_len)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:1: warning: 'rcutils_convert_uint64_t_into_c_str' defined but not used [-Wunused-function]
rcutils_convert_uint64_t_into_c_str(uint64_t number, char buffer, size_t buffer_size)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c: In function 'rcutils_get_env_var_zero_or_one':
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c:130:35: warning: unused parameter 'zero_semantic' [-Wunused-parameter]
const char name, const char zero_semantic,
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c:131:16: warning: unused parameter 'one_semantic' [-Wunused-parameter]
const char one_semantic)
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:52:4: warning: #warning is a GCC extension
warning no monotonic clock function available
^
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:52:4: warning: #warning no monotonic clock function available [-Wcpp]
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c: In function 'rcutils_system_time_now':
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:74:3: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
clock_gettime(CLOCK_REALTIME, ×pec_now);
^
--- stderr: microxrcedds_client
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
THIRDPARTY
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/Micro-XRCE-DDS-Client/src/c/util/time.c: In function 'uxr_nanos':
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/Micro-XRCE-DDS-Client/src/c/util/time.c:60:5: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
clock_gettime(CLOCK_REALTIME, &ts);
^
--- stderr: tracetools
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: rosidl_adapter
CMake Warning:
Manually-specified variables were not used by the project:
--- stderr: rosidl_runtime_c
CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
Package 'rcutils' exports library 'dl' which couldn't be found
Call Stack (most recent call first):
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)
CMakeLists.txt:15 (find_package)
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: rcl_logging_interface
CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
Package 'rcutils' exports library 'dl' which couldn't be found
Call Stack (most recent call first):
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)
CMakeLists.txt:19 (find_package)
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: tracetools_trace
/home/layer/.platformio/penv/lib/python3.10/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: rosidl_parser
CMake Warning:
Manually-specified variables were not used by the project:
--- stderr: rmw
CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
Package 'rcutils' exports library 'dl' which couldn't be found
Call Stack (most recent call first):
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)
CMakeLists.txt:21 (find_package)
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: tracetools_launch
/home/layer/.platformio/penv/lib/python3.10/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: tracetools_read
/home/layer/.platformio/penv/lib/python3.10/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: rosidl_typesupport_introspection_c
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: rosidl_typesupport_microxrcedds_c
CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
Package 'rcutils' exports library 'dl' which couldn't be found
Call Stack (most recent call first):
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include)
CMakeLists.txt:22 (find_package)
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: rosidl_generator_c
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: tracetools_test
/home/layer/.platformio/penv/lib/python3.10/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: ros2trace
/home/layer/.platformio/penv/lib/python3.10/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: rosidl_typesupport_introspection_tests
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_SHARED_LIBS
THIRDPARTY
--- stderr: micro_ros_utilities
CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
Package 'rcutils' exports library 'dl' which couldn't be found
Call Stack (most recent call first):
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include)
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/rosidl_typesupport_introspection_cConfig.cmake:41 (include)
CMakeLists.txt:18 (find_package)
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/micro_ros_utilities/src/type_utilities.c: In function 'print_type_info':
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/micro_ros_utilities/src/type_utilities.c:96:31: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'uint32_t {aka const long unsigned int}' [-Wformat=]
buffer, sizeof(buffer), "%sIntrospection for %s/%s - %u members, %zu B\n",
^
--- stderr: rosidl_typesupport_c
CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
Package 'rcutils' exports library 'dl' which couldn't be found
Call Stack (most recent call first):
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)
CMakeLists.txt:33 (find_package)
CMake Warning:
Manually-specified variables were not used by the project:
THIRDPARTY
--- stderr: rosidl_default_runtime
CMake Warning:
Manually-specified variables were not used by the project:
CMake Error at /home/layer/ros2_humble/ros2-linux/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c-extras.cmake:5 (find_package):
Could not find a configuration file for package "fastcdr" that is
compatible with requested version "".
The following configuration files were considered but not accepted:
still having problems with the compile for teensy41 in the platformio, arduino ide
arm64/rpi, and microros.
Think less an issue and more a topic for linorobot google groups,
so closing
I am using ros2 humble, with the linorobot2_hardware galactic branch in the linorobot2_hardware/firmware pio run --target upload -e teensy41 gives an error CMake Error at /home/layer/ros2_humble/ros2-linux/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c-extras.cmake:5 (find_package): Could not find a configuration file for package "fastcdr" that is compatible with requested version "".
The following configuration files were considered but not accepted:
Is there issues with the linorobot2_hardware galactic branch wanting an older version of fastcdr?
I tried to install a newer version of fastcdr but still got the error. Here is the full output. Lots of warnings but I think the fastcdr issue is the error causing the fail. I am new to compiling with CMake.
~/linorobot2_hardware/firmware$ pio run --target upload -e teensy41 Processing teensy41 (board: teensy41; platform: teensy; framework: arduino)
Library Manager: Installing git+https://github.com/micro-ROS/micro_ros_platformio git version 2.34.1 Cloning into '/home/layer/.platformio/.cache/tmp/pkg-installing-709aa9a0'... remote: Enumerating objects: 67, done. remote: Counting objects: 100% (67/67), done. remote: Compressing objects: 100% (51/51), done. remote: Total 67 (delta 10), reused 48 (delta 5), pack-reused 0 Receiving objects: 100% (67/67), 125.47 KiB | 373.00 KiB/s, done. Resolving deltas: 100% (10/10), done. Library Manager: micro_ros_platformio@0.0.1+sha.22cf9b6 has been installed! Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy41.html PLATFORM: Teensy (4.17.0) > Teensy 4.1 HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash DEBUG: Current (jlink) External (jlink) PACKAGES:If you understand the risks and want to override a package anyways, add the following to the command line: --allow-overriding action_msgs builtin_interfaces composition_interfaces geometry_msgs lifecycle_msgs nav_msgs rcl rcl_action rcl_interfaces rcl_lifecycle rcl_logging_interface rcutils rmw rmw_implementation rmw_implementation_cmake rosgraph_msgs rosidl_cli rosidl_cmake rosidl_default_generators rosidl_default_runtime rosidl_generator_c rosidl_parser rosidl_runtime_c rosidl_typesupport_c rosidl_typesupport_interface rosidl_typesupport_introspection_c sensor_msgs sensor_msgs_py statistics_msgs std_msgs std_srvs test_interface_files test_msgs tracetools unique_identifier_msgs visualization_msgs
This may be promoted to an error in a future release of colcon-override-check. --- stderr: rosidl_typesupport_interface CMake Warning: Manually-specified variables were not used by the project:
--- stderr: microcdr CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_cli /home/layer/.platformio/penv/lib/python3.10/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: rmw_implementation_cmake CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rcutils CMake Warning: Manually-specified variables were not used by the project:
In file included from /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:35:0: /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h: In function 'rcutils_convert_uint64_t_into_c_str': /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:48: warning: unused parameter 'number' [-Wunused-parameter] rcutils_convert_uint64_t_into_c_str(uint64_t number, char * buffer, size_t buffer_size) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:63: warning: unused parameter 'buffer' [-Wunused-parameter] rcutils_convert_uint64_t_into_c_str(uint64_t number, char * buffer, size_t buffer_size) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] rcutils_convert_uint64_t_into_c_str(uint64_t number, char buffer, size_t buffer_size) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h: In function '__rcutils_format_error_string': /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:142:28: warning: unused parameter 'error_string' [-Wunused-parameter] rcutils_error_string_t error_string, ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:143:33: warning: unused parameter 'error_state' [-Wunused-parameter] const rcutils_error_state_t error_state) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c: In function 'rcutils_get_error_string': /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:240:38: warning: initializer-string for array of chars is too long return (rcutils_error_string_t) {"error not set"}; // NOLINT(readability/braces) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:240:38: note: (near initialization for '(anonymous).str') In file included from /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c:35:0: /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/error_handling.c: At top level: /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:91:1: warning: 'rcutils_reverse_str' defined but not used [-Wunused-function] rcutils_reverse_str(char string_in, size_t string_len) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/./error_handling_helpers.h:109:1: warning: 'rcutils_convert_uint64_t_into_c_str' defined but not used [-Wunused-function] rcutils_convert_uint64_t_into_c_str(uint64_t number, char buffer, size_t buffer_size) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c: In function 'rcutils_get_env_var_zero_or_one': /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c:130:35: warning: unused parameter 'zero_semantic' [-Wunused-parameter] const char name, const char zero_semantic, ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/logging.c:131:16: warning: unused parameter 'one_semantic' [-Wunused-parameter] const char one_semantic) ^ /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:52:4: warning: #warning is a GCC extension
warning no monotonic clock function available
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:52:4: warning: #warning no monotonic clock function available [-Wcpp] /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c: In function 'rcutils_system_time_now': /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/rcutils/src/time_unix.c:74:3: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] clock_gettime(CLOCK_REALTIME, ×pec_now); ^
--- stderr: microxrcedds_client CMake Warning: Manually-specified variables were not used by the project:
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/Micro-XRCE-DDS-Client/src/c/util/time.c: In function 'uxr_nanos': /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/Micro-XRCE-DDS-Client/src/c/util/time.c:60:5: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] clock_gettime(CLOCK_REALTIME, &ts); ^
--- stderr: tracetools CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_adapter CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_runtime_c CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:15 (find_package)
CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rcl_logging_interface CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:19 (find_package)
CMake Warning: Manually-specified variables were not used by the project:
--- stderr: tracetools_trace /home/layer/.platformio/penv/lib/python3.10/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: rosidl_parser CMake Warning: Manually-specified variables were not used by the project:
--- stderr: test_interface_files CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rcl_logging_noop CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcl_logging_interface/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcl_logging_interface/cmake/rcl_logging_interfaceConfig.cmake:41 (include) CMakeLists.txt:15 (find_package)
CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_cmake CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rmw CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:21 (find_package)
CMake Warning: Manually-specified variables were not used by the project:
--- stderr: tracetools_launch /home/layer/.platformio/penv/lib/python3.10/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: tracetools_read /home/layer/.platformio/penv/lib/python3.10/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: rosidl_typesupport_introspection_c CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_typesupport_microxrcedds_c CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) CMakeLists.txt:22 (find_package)
CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_generator_c CMake Warning: Manually-specified variables were not used by the project:
--- stderr: tracetools_test /home/layer/.platformio/penv/lib/python3.10/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: ros2trace /home/layer/.platformio/penv/lib/python3.10/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: rosidl_typesupport_introspection_tests CMake Warning: Manually-specified variables were not used by the project:
--- stderr: micro_ros_utilities CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/rosidl_typesupport_introspection_cConfig.cmake:41 (include) CMakeLists.txt:18 (find_package)
CMake Warning: Manually-specified variables were not used by the project:
/home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/micro_ros_utilities/src/type_utilities.c: In function 'print_type_info': /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/src/micro_ros_utilities/src/type_utilities.c:96:31: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'uint32_t {aka const long unsigned int}' [-Wformat=] buffer, sizeof(buffer), "%sIntrospection for %s/%s - %u members, %zu B\n", ^
--- stderr: rosidl_typesupport_c CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:33 (find_package)
CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_default_runtime CMake Warning: Manually-specified variables were not used by the project:
--- stderr: rosidl_default_generators CMake Warning: Manually-specified variables were not used by the project:
--- stderr: builtin_interfaces CMake Warning at /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/rosidl_typesupport_introspection_cConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:13 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generators-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generatorsConfig.cmake:41 (include) CMakeLists.txt:14 (find_package)
CMake Error at /home/layer/ros2_humble/ros2-linux/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c-extras.cmake:5 (find_package): Could not find a configuration file for package "fastcdr" that is compatible with requested version "".
The following configuration files were considered but not accepted:
Call Stack (most recent call first): /home/layer/ros2_humble/ros2-linux/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_cConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:13 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generators-extras.cmake:21 (find_package) /home/layer/linorobot2_hardware/firmware/.pio/libdeps/teensy41/micro_ros_platformio/build/mcu/install/share/rosidl_default_generators/cmake/rosidl_default_generatorsConfig.cmake:41 (include) CMakeLists.txt:14 (find_package)
Failed <<< builtin_interfaces [8.50s, exited with code 1]
=========================================== [FAILED] Took 423.20 seconds ===========================================
Environment Status Duration
teensy41 FAILED 00:07:03.197 ======================================= 1 failed, 0 succeeded in 00:07:03.197 =======================================