Open pdl0x0lbq opened 1 year ago
You can disable building atomic_64bits.c
file here: https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/blob/3819f6819cee1ff01c3da58ecbc8bfcbf4b0a2a5/microros_static_library_ide/library_generation/colcon.meta#L26C19-L26C40
You can disable building
atomic_64bits.c
file here: https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/blob/3819f6819cee1ff01c3da58ecbc8bfcbf4b0a2a5/microros_static_library_ide/library_generation/colcon.meta#L26C19-L26C40
thank you very much
You can disable building
atomic_64bits.c
file here: https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/blob/3819f6819cee1ff01c3da58ecbc8bfcbf4b0a2a5/microros_static_library_ide/library_generation/colcon.meta#L26C19-L26C40
Another error occurred
/opt/st/stm32cubeide_1.13.1/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.linux64_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/ros/CLionProjects/csmr/micro_ros_stm32cubemx_utils/microros_static_library_ide/libmicroros/libmicroros.a(librcl-time.c.obj): in function
rcl_get_ros_time':
time.c:(.text.rcl_get_ros_time+0xa): undefined reference to __atomic_load_8'
That is the point that you need to have 64 bits atomics in your platform to use micro-ROS. If your native platform does not implement them nor is able to build the provided ones, you need to provide an implementation of __atomic_load_8
Hi,
How to resolve this error