Open traversaro opened 2 weeks ago
2024-04-30T19:39:27.9675135Z ]
2024-04-30T19:39:27.9680118Z %SRC_DIR%\ros-humble-nav2-waypoint-follower\src\work\plugins\input_at_waypoint.cpp(72): message : see reference to function template instantiation 'std::shared_ptr<rclcpp::Subscription<std_msgs::msg::Empty,std::allocator<void>,std_msgs::msg::Empty_<std::allocator<void>>,std_msgs::msg::Empty_<std::allocator<void>>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>> rclcpp_lifecycle::LifecycleNode::create_subscription<std_msgs::msg::Empty,std::_Binder<std::_Unforced,void (__cdecl nav2_waypoint_follower::InputAtWaypoint::* )(std::shared_ptr<std_msgs::msg::Empty_<std::allocator<void>>>),nav2_waypoint_follower::InputAtWaypoint *,const std::_Ph<1> &>,std::allocator<void>,rclcpp::Subscription<std_msgs::msg::Empty,AllocatorT,std_msgs::msg::Empty_<std::allocator<void>>,ROSMessageT,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>(const std::string &,const rclcpp::QoS &,CallbackT &&,const rclcpp::SubscriptionOptionsWithAllocator<std::allocator<void>> &,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>)' being compiled [%SRC_DIR%\build\input_at_waypoint.vcxproj]
2024-04-30T19:39:27.9685277Z with
2024-04-30T19:39:27.9685472Z [
2024-04-30T19:39:27.9685781Z ROSMessageT=std_msgs::msg::Empty_<std::allocator<void>>,
2024-04-30T19:39:27.9686211Z AllocatorT=std::allocator<void>,
2024-04-30T19:39:27.9687217Z CallbackT=std::_Binder<std::_Unforced,void (__cdecl nav2_waypoint_follower::InputAtWaypoint::* )(std::shared_ptr<std_msgs::msg::Empty_<std::allocator<void>>>),nav2_waypoint_follower::InputAtWaypoint *,const std::_Ph<1> &>
2024-04-30T19:39:27.9688168Z ]
2024-04-30T19:39:27.9688369Z Auto build dll exports
2024-04-30T19:39:27.9689645Z Creating library C:/Users/runneradmin/micromamba/envs/testpr_env/conda-bld/ros-0_1714494666021/work/build/Release/input_at_waypoint.lib and object C:/Users/runneradmin/micromamba/envs/testpr_env/conda-bld/ros-0_1714494666021/work/build/Release/input_at_waypoint.exp
2024-04-30T19:39:27.9691277Z input_at_waypoint.vcxproj -> %SRC_DIR%\build\Release\input_at_waypoint.dll
2024-04-30T19:39:27.9692297Z Building Custom Rule C:/Users/runneradmin/micromamba/envs/testpr_env/conda-bld/ros-0_1714494666021/work/ros-humble-nav2-waypoint-follower/src/work/CMakeLists.txt
2024-04-30T19:39:27.9693392Z Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
2024-04-30T19:39:27.9693925Z photo_at_waypoint.cpp
2024-04-30T19:39:27.9695139Z %SRC_DIR%\ros-humble-nav2-waypoint-follower\src\work\include\nav2_waypoint_follower/plugins/photo_at_waypoint.hpp(35,10): fatal error C1083: Cannot open include file: 'opencv4/opencv2/core.hpp': No such file or directory [%SRC_DIR%\build\photo_at_waypoint.vcxproj]
I removed too much of the patch.
I removed too much of the patch.
Patch proposed upstream in https://github.com/open-navigation/navigation2/pull/4287 .
There are still some issues with the patch @traversaro
It now fails with
2024-05-03T04:23:50.6918446Z Could NOT find CSparse (missing: CSPARSE_INCLUDE_DIR)
2024-05-03T04:23:50.6918881Z Call Stack (most recent call first):
2024-05-03T04:23:50.6920132Z C:/Users/runneradmin/micromamba/envs/testpr_env/conda-bld/ros-0_1714698402507/_build_env/Library/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
2024-05-03T04:23:50.6921325Z CMake/FindCSparse.cmake:24 (find_package_handle_standard_args)
2024-05-03T04:23:50.6921779Z CMakeLists.txt:79 (find_package)
for slam-toolbox
@traversaro - there are a few other packages somewhere where I have patched this; do you need slam-toolbox or can we get away with just the nav2 packages?
@traversaro - there are a few other packages somewhere where I have patched this; do you need slam-toolbox or can we get away with just the nav2 packages?
I do not have an hard requirement at the moment, I just added nav2-bringup as it is installed in nav2 tutorials: https://navigation.ros.org/development_guides/build_docs/index.html .
Ok, the CMake issue is fixed by https://github.com/SteveMacenski/slam_toolbox/pull/699, but slam_toolbox on windows requires a bit of work for the reasons described in https://github.com/RoboStack/ros-humble/issues/133#issuecomment-2094302630 . I do not plan to work on this, so either we can close this or just build the packages that build fine (not sure which are, I guess at the moment nav2-bringup
requires slam-toolbox
).
Failure:
I guess that the patch has a conflict with https://github.com/open-navigation/navigation2/pull/4051 , probably most of the patch is not needed anymore.