Skip to content
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

building error #1

Open
ghost opened this issue Jul 6, 2022 · 0 comments
Open

building error #1

ghost opened this issue Jul 6, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 6, 2022

I have encountered a building error while trying to build the module for the first time.
the error is as following:

failed to run custom build command for r2r_rcl v0.2.0
Caused by:
process didn't exit successfully: /home/robee/src/opcua_ros2_bridge/target/release/build/r2r_rcl-60e68ff13baae21f/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=AMENT_PREFIX_PATH
cargo:rerun-if-env-changed=CMAKE_INCLUDE_DIRS
cargo:rerun-if-env-changed=CMAKE_LIBRARIES
cargo:rerun-if-env-changed=CMAKE_RECURSIVE_DEPENDENCIES
adding clang arg: -I/opt/ros/humble/include
adding clang arg: -I/opt/ros/humble/include/action_msgs
adding clang arg: -I/opt/ros/humble/include/ament_index_cpp
adding clang arg: -I/opt/ros/humble/include/builtin_interfaces
adding clang arg: -I/opt/ros/humble/include/libyaml_vendor
adding clang arg: -I/opt/ros/humble/include/rcl
adding clang arg: -I/opt/ros/humble/include/rcl_action
adding clang arg: -I/opt/ros/humble/include/rcl_interfaces
adding clang arg: -I/opt/ros/humble/include/rcl_logging_interface
adding clang arg: -I/opt/ros/humble/include/rcl_yaml_param_parser
adding clang arg: -I/opt/ros/humble/include/rcpputils
adding clang arg: -I/opt/ros/humble/include/rcutils
adding clang arg: -I/opt/ros/humble/include/rmw
adding clang arg: -I/opt/ros/humble/include/rmw_dds_common
adding clang arg: -I/opt/ros/humble/include/rmw_fastrtps_cpp
adding clang arg: -I/opt/ros/humble/include/rmw_fastrtps_shared_cpp
adding clang arg: -I/opt/ros/humble/include/rosidl_runtime_c
adding clang arg: -I/opt/ros/humble/include/rosidl_runtime_cpp
adding clang arg: -I/opt/ros/humble/include/rosidl_typesupport_c
adding clang arg: -I/opt/ros/humble/include/rosidl_typesupport_cpp
adding clang arg: -I/opt/ros/humble/include/rosidl_typesupport_fastrtps_c
adding clang arg: -I/opt/ros/humble/include/rosidl_typesupport_fastrtps_cpp
adding clang arg: -I/opt/ros/humble/include/rosidl_typesupport_interface
adding clang arg: -I/opt/ros/humble/include/rosidl_typesupport_introspection_c
adding clang arg: -I/opt/ros/humble/include/rosidl_typesupport_introspection_cpp
adding clang arg: -I/opt/ros/humble/include/std_msgs
adding clang arg: -I/opt/ros/humble/include/tracetools
adding clang arg: -I/opt/ros/humble/include/unique_identifier_msgs
cargo:rustc-link-search=native=/opt/ros/humble/lib
cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu
cargo:rustc-link-lib=dylib=rcl
cargo:rustc-link-lib=dylib=rcl_logging_spdlog
cargo:rustc-link-lib=dylib=rcl_yaml_param_parser
cargo:rustc-link-lib=dylib=rcutils
cargo:rustc-link-lib=dylib=rmw
cargo:rustc-link-lib=dylib=rosidl_typesupport_c
cargo:rustc-link-lib=dylib=rosidl_runtime_c

stderr
/opt/ros/humble/include/rcutils/rcutils/allocator.h:25:10: fatal error: 'stdbool.h' file not found
/opt/ros/humble/include/rcutils/rcutils/allocator.h:25:10: fatal error: 'stdbool.h' file not found, err: true
thread 'main' panicked at 'Unable to generate bindings: ()', /home/robee/.cargo/registry/src/github.com-1ecc6299db9ec823/r2r_rcl-0.2.0/build.rs:73:10
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
gmake[2]: *** [CMakeFiles/cargo_target.dir/build.make:70: CMakeFiles/cargo_target] Error 101
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/cargo_target.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Failed <<< opcua_ros2_bridge [3.78s, exited with code 2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants