If I comment out this line in build-ros2.sh:
- source /opt/ros/foxy/setup.bash
the result is:
$ ./build-ros2.sh
CPU set to aarch64le
CPUVARDIR set to aarch64le
Starting >>> domain_coordinator
Starting >>> rosidl_cli
Starting >>> rosidl_typesupport_interface
Starting >>> fastrtps_cmake_module
Starting >>> python_cmake_module
Starting >>> rpyutils
Starting >>> rti_connext_dds_cmake_module
Starting >>> rmw_implementation_cmake
--- stderr: rosidl_typesupport_interface
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.
Could not find a package configuration file provided by "ament_cmake" with
any of the following names:
ament_cmakeConfig.cmake
ament_cmake-config.cmake
Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set
"ament_cmake_DIR" to a directory containing one of the above files. If
"ament_cmake" provides a separate development package or SDK, be sure it
has been installed.
---
Failed <<< rosidl_typesupport_interface [2.20s, exited with code 1]
--- stderr: fastrtps_cmake_module
CMake Error at /opt/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"/home/kevin/qnx710/host/linux/x86_64/usr/bin/qcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/kevin/ros2_galactic/build/aarch64le/fastrtps_cmake_module/CMakeFiles/CMakeTmp
Run Build Command(s):/home/kevin/qnx710/host/linux/x86_64/usr/bin/make cmTC_11a6c/fast && /home/kevin/qnx710/host/linux/x86_64/usr/bin/make -f CMakeFiles/cmTC_11a6c.dir/build.make CMakeFiles/cmTC_11a6c.dir/build
make[1]: Entering directory '/home/kevin/ros2_galactic/build/aarch64le/fastrtps_cmake_module/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_11a6c.dir/testCCompiler.c.o
/home/kevin/qnx710/host/linux/x86_64/usr/bin/qcc -Vgcc_ntoaarch64le -Wl,-rpath-link,/home/kevin/qnx710/target/qnx7/aarch64le/usr/lib:/home/kevin/ros2_galactic/install/aarch64le/lib -DOPENCV_NOSTL_TRANSITIONAL -D_QNX_SOURCE -o CMakeFiles/cmTC_11a6c.dir/testCCompiler.c.o -c /home/kevin/ros2_galactic/build/aarch64le/fastrtps_cmake_module/CMakeFiles/CMakeTmp/testCCompiler.c
license check failed
CMakeFiles/cmTC_11a6c.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_11a6c.dir/testCCompiler.c.o' failed
make[1]: *** [CMakeFiles/cmTC_11a6c.dir/testCCompiler.c.o] Error 1
make[1]: Leaving directory '/home/kevin/ros2_galactic/build/aarch64le/fastrtps_cmake_module/CMakeFiles/CMakeTmp'
Makefile:140: recipe for target 'cmTC_11a6c/fast' failed
make: *** [cmTC_11a6c/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:17 (project)
---
Failed <<< fastrtps_cmake_module [2.33s, exited with code 1]
--- stderr: python_cmake_module
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.
Could not find a package configuration file provided by "ament_cmake" with
any of the following names:
ament_cmakeConfig.cmake
ament_cmake-config.cmake
Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set
"ament_cmake_DIR" to a directory containing one of the above files. If
"ament_cmake" provides a separate development package or SDK, be sure it
has been installed.
---
Failed <<< python_cmake_module [2.40s, exited with code 1]
Aborted <<< rmw_implementation_cmake [1.94s]
Aborted <<< domain_coordinator [3.06s]
Aborted <<< rosidl_cli [2.87s]
Aborted <<< rpyutils [2.27s]
Aborted <<< rti_connext_dds_cmake_module [2.08s]
Summary: 0 packages finished [20.7s]
3 packages failed: fastrtps_cmake_module python_cmake_module rosidl_typesupport_interface
5 packages aborted: domain_coordinator rmw_implementation_cmake rosidl_cli rpyutils rti_connext_dds_cmake_module
5 packages had stderr output: fastrtps_cmake_module python_cmake_module rmw_implementation_cmake rosidl_typesupport_interface rti_connext_dds_cmake_module
221 packages not process
|