-
Notifications
You must be signed in to change notification settings - Fork 430
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
Couldn't make/build rclcpp local using master branch #779
Comments
If you're using all binaries except AFAIK you're going to have to build all of these from source:
Also you might want to build through |
If you're building from source, you have to build the complete ROS2 workspace as detailed in the install instructions. Trying only to rebuild one package and using the other packages from binaries can easily end in this kind of problems. I'm closing the issue. https://answers.ros.org is maybe a better please for this kind of questions. |
Signed-off-by: Stephen Brawner <brawner@gmail.com>
…#779) Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Bug report
Required Info:
Steps to reproduce issue
git clone https://github.com/ros2/rclcpp.git
cd rclcpp
mkdir build
cd build
cmake ..
wait cmake finish his job...
then, use make
and it prints a ERROR
Expected behavior
I tried to build rclcpp on my machine.but it failed.
make and make install should work fine
but now it didn't
Actual behavior
here is the "make" command prints :
/home/rbq/workspace/ROS2/source_codes_git/rclcpp/rclcpp/src/rclcpp/subscription_base.cpp: In member function ‘rmw_qos_profile_t rclcpp::SubscriptionBase::get_actual_qos() const’:
/home/rbq/workspace/ROS2/source_codes_git/rclcpp/rclcpp/src/rclcpp/subscription_base.cpp:134:35: error: ‘rcl_subscription_get_actual_qos’ was not declared in this scope
const rmw_qos_profile_t * qos = rcl_subscription_get_actual_qos(subscription_handle_.get());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/rbq/workspace/ROS2/source_codes_git/rclcpp/rclcpp/src/rclcpp/subscription_base.cpp:134:35: note: suggested alternative: ‘rcl_subscription_get_options’
const rmw_qos_profile_t * qos = rcl_subscription_get_actual_qos(subscription_handle_.get());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rcl_subscription_get_options
CMakeFiles/rclcpp.dir/build.make:1123: recipe for target 'CMakeFiles/rclcpp.dir/src/rclcpp/subscription_base.cpp.o' failed
make[2]: *** [CMakeFiles/rclcpp.dir/src/rclcpp/subscription_base.cpp.o] Error 1
CMakeFiles/Makefile2:1424: recipe for target 'CMakeFiles/rclcpp.dir/all' failed
make[1]: *** [CMakeFiles/rclcpp.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Additional information
Feature request
Feature description
Implementation considerations
The text was updated successfully, but these errors were encountered: