Closed mergify[bot] closed 4 months ago
I was having compile errors when running make:
/home/will/Desktop/micro-ros-project/micro_ros_raspberrypi_pico_sdk/pico_uart_transport.c:11:19: error: unknown type name 'clockid_t' 11 | int clock_gettime(clockid_t unused, struct timespec *tp) | ^~~~~~~~~ make[2]: *** [CMakeFiles/micro-ros-project.dir/build.make:90: CMakeFiles/micro-ros-project.dir/micro_ros_raspberrypi_pico_sdk/pico_uart_transport.c.obj] Error 1
I found that I needed to add #include <time.h> in pico_uart_transport.c.
#include <time.h>
pico_uart_transport.c
I am compiling on a Raspberry Pi 5 running Ubuntu 24.04 LTS with ROS2 Jazzy.
I was having compile errors when running make:
I found that I needed to add
#include <time.h>
inpico_uart_transport.c
.I am compiling on a Raspberry Pi 5 running Ubuntu 24.04 LTS with ROS2 Jazzy.
This is an automatic backport of pull request #1195 done by Mergify.