-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will not build past ros_micro_agent #137
Comments
What is your system configuration? I make a clean install in a ubuntu 22.04 container and does not have such issue. Please follow the wiki and try out basic micro-ros example. https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki |
System configuration: CyberGeek compact PC So are you saying that I should run everything in a Docker? |
The system configuration should be fine. You should be able build without docker. Please comment out linorobot2_ws env from .bashrc. And follow the wiki to run basic micro-ROS example. https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki |
Here is the CMakeOutput.log I will try to #linorobot2_ws env in the .bashrc file and run the basic micro-ROS example https://github.com/hippo5329/micro_ros_arduino_examples_platformio/wiki Thank you Very much for your help!!! |
After going thru the basic micro-ROS example. allen@allen:~/uros_ws$ colcon build --symlink-install
Cloning into 'xrceagent'... CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message): Targets Defined: eProsima_atomic Targets not yet defined: fastrtps Call Stack (most recent call first): gmake[2]: *** [CMakeFiles/micro_ros_agent.dir/build.make:94: micro_ros_agent-prefix/src/micro_ros_agent-stamp/micro_ros_agent-configure] Error 1
|
It is WSL2! WSL2 might be the problem. You may try docker. |
If you will mount the mini PC on the robot, you should install ubuntu server. WSL2 might have more issues. |
=== ./uros/micro-ROS-Agent (git) ===
Cloning into '.'...
=== ./uros/micro_ros_msgs (git) ===
Cloning into '.'...
#All required rosdeps installed successfully
Building micro-ROS Agent
Starting >>> micro_ros_msgs
Finished <<< micro_ros_msgs [8.04s]
Starting >>> micro_ros_agent
[Processing: micro_ros_agent]
[Processing: micro_ros_agent]
--- stderr: micro_ros_agent
Cloning into 'xrceagent'...
HEAD is now at 57d0862 Release v2.4.2
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to
find_package_handle_standard_args
(tinyxml2)does not match the name of the calling package (TinyXML2). This can lead
to problems in calling code that expects
find_package
result variables(e.g.,
_FOUND
) to follow a certain pattern.Call Stack (most recent call first):
cmake/modules/FindTinyXML2.cmake:40 (find_package_handle_standard_args)
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:51 (find_package)
CMakeLists.txt:153 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: eProsima_atomic
Targets not yet defined: fastrtps
Call Stack (most recent call first):
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:60 (include)
CMakeLists.txt:37 (find_package)
gmake[2]: *** [CMakeFiles/micro_ros_agent.dir/build.make:94: micro_ros_agent-prefix/src/micro_ros_agent-stamp/micro_ros_agent-configure] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/micro_ros_agent.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
Failed <<< micro_ros_agent [1min 21s, exited with code 2]
Summary: 1 package finished [1min 30s]
1 package failed: micro_ros_agent
1 package had stderr output: micro_ros_agent
[ros2run]: Process exited with failure 2
The text was updated successfully, but these errors were encountered: