[ros-users] [Discourse.ros.org] [Next Generation ROS] Ament …

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Arunava Nag via ros-users
Dato:  
Til: ros-users
CC: Arunava Nag
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Ament Build -test failed


I resolved this by removing the opensplice_cmake_module from /opt path. The `AMENT_CURRENT_PREFIX` was messing up a lot, otherwise. Don't know though if that is the right way to do it.

[quote="arunava_nag, post:17, topic:3398"]
Warning: OSPL_URI was already set to [[file:///home/rosi/ros2_ws/install/share/opensplice_cmake_module/config/ros_ospl.xml]]. This will not override it to the default [[file:///opt/ros/ardent/share/opensplice_cmake_module/config/ros_ospl.xml]]. Please make sure this is the config that you want.
[/quote]


Still struggling with this though:

[quote="arunava_nag, post:15, topic:3398"]
/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'
[/quote]





---
[Visit Topic](https://discourse.ros.org/t/ament-build-test-failed/3398/18) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>