[ros-users] [Discourse.ros.org] [Next Generation ROS] Ament Build -test failed
Arunava Nag
ros.discourse at gmail.com
Thu Feb 1 10:14:56 UTC 2018
Has any one come across this during building the src.
` src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install`
error thrown:
/home/rosi/ros2_ws/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_logging.cpp:27:22: error: rmw_log_severity_t was not declared in this scope
rmw_set_log_severity(rmw_log_severity_t severity)
^
/home/rosi/ros2_ws/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_logging.cpp:28:1: error: expected , or ; before { token
{
^
[ 58%] Building CXX object CMakeFiles/rmw_fastrtps_cpp.dir/src/rmw_publish.cpp.o
/home/rosi/ros2_ws/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_logging.cpp:54:1: error: expected } at end of input
} // extern "C"
^
[ 61%] Building CXX object CMakeFiles/rmw_fastrtps_cpp.dir/src/rmw_publisher.cpp.o
CMakeFiles/rmw_fastrtps_cpp.dir/build.make:302: recipe for target 'CMakeFiles/rmw_fastrtps_cpp.dir/src/rmw_logging.cpp.o' failed
make[2]: *** [CMakeFiles/rmw_fastrtps_cpp.dir/src/rmw_logging.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rmw_fastrtps_cpp.dir/all' failed
make[1]: *** [CMakeFiles/rmw_fastrtps_cpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
<== Command '. /home/rosi/ros2_ws/build/rmw_fastrtps_cpp/cmake__build.sh && /usr/bin/make -j8 -l8' failed in '/home/rosi/ros2_ws/build/rmw_fastrtps_cpp' with exit code '2'
<== Command '. /home/rosi/ros2_ws/build/rmw_fastrtps_cpp/cmake__build.sh && /usr/bin/make -j8 -l8' failed in '/home/rosi/ros2_ws/build/rmw_fastrtps_cpp' with exit code '2'
---
[Visit Topic](https://discourse.ros.org/t/ament-build-test-failed/3398/15) or reply to this email to respond.
More information about the ros-users
mailing list