cross compile ROS2 on raspberry pi3
Hello guys, I'm trying to cross compile ROS2 for a Raspberry pi 3, my platform is Ubuntu on x86. I use this tutorial link text , when I did the last step ''Trigger a build'', it shows the error blow:
Starting >>> sqlite3_vendor
--- stderr: tinyxml2_vendor
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find TinyXML2 (missing: TINYXML2_LIBRARY TINYXML2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindTinyXML2.cmake:24 (find_package_handle_standard_args)
CMakeLists.txt:6 (find_package)
---
Failed <<< tinyxml2_vendor [ Exited with code 1 ]
Finished <<< ament_pep257 [1.44s]
[5.297s] ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> exception=RuntimeError('cannot reuse already awaited coroutine',)>
RuntimeError: cannot reuse already awaited coroutine
[5.297s] ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<_fd2callback() done, defined at /usr/lib/python3/dist-packages/colcon_core/subprocess.py:220> exception=RuntimeError('cannot reuse already awaited coroutine',)>
RuntimeError: cannot reuse already awaited coroutine
Aborted <<< gmock_vendor
Aborted <<< fastrtps
Aborted <<< sqlite3_vendor
Aborted <<< osrf_pycommon
Aborted <<< ament_cmake_core
Aborted <<< ament_pep8
Summary: 9 packages finished [5.56s]
1 package failed: tinyxml2_vendor
6 packages aborted: ament_cmake_core ament_pep8 fastrtps gmock_vendor osrf_pycommon sqlite3_vendor
1 package had stderr output: tinyxml2_vendor
181 packages not processed
I checked and this package libtinyxml2-devpackage
is already installed.
DO you have any idea about how to solve this issue ? Thank you a lot!