Closed altineller closed 2 years ago
Hello @altineller,
Are you working in main
branch or in rosrider
branch?
In any case, remove the whole microros/install
folder and make make clean && make
again.
it is at the 'main' branch.
I have tried both removing the folder and repeating instructions at readme.md, but i still get a similar error:
tarting >>> std_srvs
--- stderr: unique_identifier_msgs
CMake Error at /home/can/ros2_microros/src/micro_ros_tivac_launchpad_app/microros/install/micro_ros_src/install/share/rosidl_typesupport_c/cmake/get_used_typesupports.cmake:35 (message):
No 'rosidl_typesupport_cpp' found
Call Stack (most recent call first):
/opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/rosidl_typesupport_cpp-extras.cmake:8 (get_used_typesupports)
/opt/ros/foxy/share/rosidl_typesupport_cpp/cmake/rosidl_typesupport_cppConfig.cmake:41 (include)
/home/can/ros2_microros/src/micro_ros_tivac_launchpad_app/microros/install/micro_ros_src/install/share/rosidl_default_generators/cmake/rosidl_default_generators-extras.cmake:21 (find_package)
/home/can/ros2_microros/src/micro_ros_tivac_launchpad_app/microros/install/micro_ros_src/install/share/rosidl_default_generators/cmake/rosidl_default_generatorsConfig.cmake:41 (include)
CMakeLists.txt:15 (find_package)
Failed <<< unique_identifier_msgs [0.75s, exited with code 1] Aborted <<< builtin_interfaces [0.75s] Aborted <<< lifecycle_msgs [0.73s] Aborted <<< micro_ros_msgs [0.74s] Aborted <<< std_srvs [0.73s]
Summary: 24 packages finished [9.70s]
1 package failed: unique_identifier_msgs
4 packages aborted: builtin_interfaces lifecycle_msgs micro_ros_msgs std_srvs
8 packages had stderr output: builtin_interfaces lifecycle_msgs micro_ros_msgs microxrcedds_client rcutils rmw std_srvs unique_identifier_msgs
33 packages not processed
arm-none-eabi-gcc -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -MD -std=c99 -Wall -pedantic -DPART_TM4C123GH6PM -c -g -D DEBUG -O0 -DTARGET_IS_TM4C123_RB1 -DUART_BUFFERED -Itivaware_c_series/examples/boards/ek-tm4c123gxl/ -Itivaware_c_series -Imicroros/install/include -Isrc -Dgcc -o gcc/microros.o src/microros.c
In file included from src/microros.c:2:
src/./microros_usbcdc_transport.h:8:10: fatal error: rmw_microros/custom_transport.h: No such file or directory
8 | #include <rmw_microros/custom_transport.h>
| ^~~~~~~~~
compilation terminated.
make: *** [tivaware_c_series/makedefs:175: gcc/microros.o] Error 1
Let me take a look
@altineller do you have sourced your ROS 2 installation? In order to build micro-ROS is better to not have it sourced.
Make sure that you are not doing source /opt/ros/foxy/setup.bash
and this command is not in your .bashrc
I have tried foxy both sourced and not sourced, and same results. I fired a foxy lxd image and repeated procedure, still fail.
I checked out the rosrider branch and it builds.
Hello,
After the latest commit, the make procedure fails.
Best Regards, Can