-
Notifications
You must be signed in to change notification settings - Fork 182
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
Cannot Build #135
Comments
I have never tried to build on windows, good luck and feel free to send a
PR with any fixes.
…On Sat, Nov 11, 2023, 11:19 AM Dashenboy ***@***.***> wrote:
Hello i am trying to build this on windows but keep running to issues with
building, so i am currently building using colcon build --event-handlers
console_cohesion+ and when it builds it runs into this error
Finished <<< vectornav_msgs [9.27s]
Starting >>> vectornav
--- output: vectornav
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- Found ament_cmake: 2.0.2 (C:/dev/ros2_iron/share/ament_cmake/cmake)
-- Found rclcpp: 21.0.1 (C:/dev/ros2_iron/share/rclcpp/cmake)
-- Found rosidl_generator_c: 4.0.0
(C:/dev/ros2_iron/share/rosidl_generator_c/cmake)
-- Found rosidl_generator_cpp: 4.0.0
(C:/dev/ros2_iron/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c:
rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp:
rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 7.1.0
(C:/dev/ros2_iron/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 7.1.1
(C:/dev/ros2_iron/share/rmw_fastrtps_cpp/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Found rclcpp_action: 21.0.1 (C:/dev/ros2_iron/share/rclcpp_action/cmake)
-- Found sensor_msgs: 5.0.0 (C:/dev/ros2_iron/share/sensor_msgs/cmake)
-- Found vectornav_msgs: 3.0.0
(C:/dev/ros2_ws/install/vectornav_msgs/share/vectornav_msgs/cmake)
-- Found tf2_geometry_msgs: 0.31.3
(C:/dev/ros2_iron/share/tf2_geometry_msgs/cmake)
-- Found eigen3_cmake_module: 0.2.2
(C:/dev/ros2_iron/share/eigen3_cmake_module/cmake)
-- Ensuring Eigen3 include directory is part of orocos-kdl CMake target
-- Found ament_lint_auto: 0.14.1
(C:/dev/ros2_iron/share/ament_lint_auto/cmake)
-- Added test 'cppcheck' to perform static code analysis on C / C++ code
-- Configured cppcheck include dirs:
-- Configured cppcheck exclude dirs and/or files:
-- Added test 'cpplint' to check C / C++ code against the Google style
-- Configured cpplint exclude dirs and/or files:
-- Added test 'flake8' to check Python code syntax and style conventions
-- Configured 'flake8' exclude dirs and/or files:
-- Added test 'lint_cmake' to check CMake code style
-- Added test 'pep257' to check Python code against some of the docstring
style conventions in PEP 257
-- Added test 'uncrustify' to check C / C++ code style
-- Configured uncrustify additional arguments:
-- Added test 'xmllint' to check XML markup files
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dev/ros2_ws/build/vectornav
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
vncxx.vcxproj ->
C:\dev\ros2_ws\build\vectornav\vnproglib-1.2.0.0\cpp\Release\vncxx.dll
Building Custom Rule C:/dev/ros2_ws/src/vectornav/vectornav/CMakeLists.txt
vectornav.cc
C:\dev\ros2_ws\src\vectornav\vectornav\src\vectornav.cc(237,7): fatal
error C1017: invalid integer constant expression
[C:\dev\ros2_ws\build\vectornav\vectornav.vcxproj]
Building Custom Rule C:/dev/ros2_ws/src/vectornav/vectornav/CMakeLists.txt
vn_sensor_msgs.cc
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(156,36):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time_<std::allocator>::
*sec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(157,50):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time*<std::allocator>::
*nanosec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(169,36):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time*<std::allocator>::
*sec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(170,46):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time*<std::allocator>::
*nanosec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(182,36):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time*<std::allocator>::
*sec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(183,49):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time*<std::allocator>::
*nanosec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(195,36):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time*<std::allocator>::
*sec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(196,49):
warning C4244: '=': conversion from 'double' to
'builtin_interfaces::msg::Time*<std::allocator>::
*nanosec_type', possible loss of data
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_iron\include\rclcpp\rclcpp/any_subscription_callback.hpp(391,7):
warning C4996:
'rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>::set_deprecated': use
'void(std::shared_ptr)' instead
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj] with [
MessageT=vectornav_msgs::msg::CommonGroup, AllocatorT=std::allocator ]
C:\dev\ros2_iron\include\rclcpp\rclcpp/subscription_factory.hpp(94):
message : see reference to function template instantiation
'rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>
rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>::set<std::Binder<std::Unforced,void
(cdecl VnSensorMsgs::*
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>)
const,VnSensorMsgs ,const std::_Ph<1> &>>(CallbackT)' being compiled
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj] with [
MessageT=vectornav_msgs::msg::CommonGroup, AllocatorT=std::allocator,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>)
const,VnSensorMsgs ,const std::_Ph<1> &> ]
C:\dev\ros2_iron\include\rclcpp\rclcpp/subscription_factory.hpp(94):
message : see reference to function template instantiation
'rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>
rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>::set<std::_Binder<std::_Unforced,void
(__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>)
const,VnSensorMsgs ,const std::_Ph<1> &>>(CallbackT)' being compiled
[C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj] with [
MessageT=vectornav_msgs::msg::CommonGroup, AllocatorT=std::allocator,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>)
const,VnSensorMsgs ,const std::_Ph<1> &> ]
C:\dev\ros2_iron\include\rclcpp\rclcpp/create_subscription.hpp(127):
message : see reference to function template instantiation
'rclcpp::SubscriptionFactory
rclcpp::create_subscription_factory<MessageT,std::_Binder<std::_Unforced,void
(__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>)
const,VnSensorMsgs ,const std::Ph<1>
&>&,std::allocator,rclcpp::Subscription<MessageT,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>,vectornav_msgs::msg::CommonGroup_<std::allocator>>(CallbackT,const
rclcpp::SubscriptionOptionsWithAllocator<std::allocator>
&,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>,std::shared_ptr<rclcpp::topic_statistics::SubscriptionTopicStatistics<vectornav_msgs::msg::CommonGroup_<std::allocator>>>)'
being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj] with
[ MessageT=vectornav_msgs::msg::CommonGroup, AllocatorT=std::allocator,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>)
const,VnSensorMsgs ,const std::Ph<1> &> & ]
C:\dev\ros2_iron\include\rclcpp\rclcpp/create_subscription.hpp(192):
message : see reference to function template instantiation
'std::shared_ptr<rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>>
rclcpp::detail::create_subscription<MessageT,CallbackT,AllocatorT,SubscriptionT,MessageMemoryStrategyT,NodeT,NodeT,vectornav_msgs::msg::CommonGroup_<std::allocator>>(NodeParametersT
&,NodeTopicsT &,const std::string &,const rclcpp::QoS &,CallbackT,const
rclcpp::SubscriptionOptionsWithAllocator<std::allocator>
&,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>)'
being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj] with
[ ROSMessageT=vectornav_msgs::msg::CommonGroup_<std::allocator>,
AllocatorT=std::allocator, MessageT=vectornav_msgs::msg::CommonGroup,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>)
const,VnSensorMsgs ,const std::Ph<1> &> &,
SubscriptionT=rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<vectornav_msgs::msg::CommonGroup_<std::allocator>,std::allocator>>,
MessageMemoryStrategyT=rclcpp::message_memory_strategy::MessageMemoryStrategy<vectornav_msgs::msg::CommonGroup_<std::allocator>,std::allocator>,
NodeT=rclcpp::Node, NodeParametersT=rclcpp::Node, NodeTopicsT=rclcpp::Node
] C:\dev\ros2_iron\include\rclcpp\rclcpp\node_impl.hpp(105): message : see
reference to function template instantiation
'std::shared_ptr<rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup_<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>>
rclcpp::create_subscription<MessageT,std::_Binder<std::_Unforced,void
(__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>)
const,VnSensorMsgs ,const std::Ph<1>
&>&,std::allocator,rclcpp::Subscription<MessageT,AllocatorT,vectornav_msgs::msg::CommonGroup<std::allocator>,ROSMessageT,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>,rclcpp::Node>(NodeT
&,const std::string &,const rclcpp::QoS &,CallbackT,const
rclcpp::SubscriptionOptionsWithAllocator<std::allocator>
&,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>)'
being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj] with
[ ROSMessageT=vectornav_msgs::msg::CommonGroup_<std::allocator>,
AllocatorT=std::allocator, MessageT=vectornav_msgs::msg::CommonGroup,
NodeT=rclcpp::Node, CallbackT=std::_Binder<std::_Unforced,void (__cdecl
VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>)
const,VnSensorMsgs ,const std::Ph<1> &> & ]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(86): message :
see reference to function template instantiation
'std::shared_ptr<rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>>
rclcpp::Node::create_subscription<vectornav_msgs::msg::CommonGroup,std::_Binder<std::_Unforced,void
(__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>)
const,VnSensorMsgs ,const std::Ph<1>
&>&,std::allocator,rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,AllocatorT,vectornav_msgs::msg::CommonGroup<std::allocator>,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>
&,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>)'
being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj] with
[ ROSMessageT=vectornav_msgs::msg::CommonGroup_<std::allocator>,
AllocatorT=std::allocator, CallbackT=std::_Binder<std::_Unforced,void
(__cdecl VnSensorMsgs::
)(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>)
const,VnSensorMsgs *,const std::_Ph<1> &> & ] vn_sensor_msgs.vcxproj ->
C:\dev\ros2_ws\build\vectornav\Release\vn_sensor_msgs.exe*
Failed <<< vectornav [20.9s, exited with code 1]
Summary: 1 package finished [30.5s]
1 package failed: vectornav
1 package had stderr output: vectornav_msgs
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)
any idea why?
—
Reply to this email directly, view it on GitHub
<#135>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHVF7NXDAXEJV6O6SQNTTYD6QRHAVCNFSM6AAAAAA7HLKOV2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DSMBSGQ4DENA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello i am trying to build this on windows but keep running to issues with building, so i am currently building using colcon build --event-handlers console_cohesion+ and when it builds it runs into this error
Finished <<< vectornav_msgs [9.27s]
Starting >>> vectornav
--- output: vectornav
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- Found ament_cmake: 2.0.2 (C:/dev/ros2_iron/share/ament_cmake/cmake)
-- Found rclcpp: 21.0.1 (C:/dev/ros2_iron/share/rclcpp/cmake)
-- Found rosidl_generator_c: 4.0.0 (C:/dev/ros2_iron/share/rosidl_generator_c/cmake)
-- Found rosidl_generator_cpp: 4.0.0 (C:/dev/ros2_iron/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 7.1.0 (C:/dev/ros2_iron/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 7.1.1 (C:/dev/ros2_iron/share/rmw_fastrtps_cpp/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Found rclcpp_action: 21.0.1 (C:/dev/ros2_iron/share/rclcpp_action/cmake)
-- Found sensor_msgs: 5.0.0 (C:/dev/ros2_iron/share/sensor_msgs/cmake)
-- Found vectornav_msgs: 3.0.0 (C:/dev/ros2_ws/install/vectornav_msgs/share/vectornav_msgs/cmake)
-- Found tf2_geometry_msgs: 0.31.3 (C:/dev/ros2_iron/share/tf2_geometry_msgs/cmake)
-- Found eigen3_cmake_module: 0.2.2 (C:/dev/ros2_iron/share/eigen3_cmake_module/cmake)
-- Ensuring Eigen3 include directory is part of orocos-kdl CMake target
-- Found ament_lint_auto: 0.14.1 (C:/dev/ros2_iron/share/ament_lint_auto/cmake)
-- Added test 'cppcheck' to perform static code analysis on C / C++ code
-- Configured cppcheck include dirs:
-- Configured cppcheck exclude dirs and/or files:
-- Added test 'cpplint' to check C / C++ code against the Google style
-- Configured cpplint exclude dirs and/or files:
-- Added test 'flake8' to check Python code syntax and style conventions
-- Configured 'flake8' exclude dirs and/or files:
-- Added test 'lint_cmake' to check CMake code style
-- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257
-- Added test 'uncrustify' to check C / C++ code style
-- Configured uncrustify additional arguments:
-- Added test 'xmllint' to check XML markup files
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dev/ros2_ws/build/vectornav
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
vncxx.vcxproj -> C:\dev\ros2_ws\build\vectornav\vnproglib-1.2.0.0\cpp\Release\vncxx.dll
Building Custom Rule C:/dev/ros2_ws/src/vectornav/vectornav/CMakeLists.txt
vectornav.cc
C:\dev\ros2_ws\src\vectornav\vectornav\src\vectornav.cc(237,7): fatal error C1017: invalid integer constant expression [C:\dev\ros2_ws\build\vectornav\vectornav.vcxproj]
Building Custom Rule C:/dev/ros2_ws/src/vectornav/vectornav/CMakeLists.txt
vn_sensor_msgs.cc
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(156,36): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time_<std::allocator>::sec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(157,50): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time<std::allocator>::nanosec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(169,36): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time<std::allocator>::sec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(170,46): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time<std::allocator>::nanosec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(182,36): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time<std::allocator>::sec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(183,49): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time<std::allocator>::nanosec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(195,36): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time<std::allocator>::sec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(196,49): warning C4244: '=': conversion from 'double' to 'builtin_interfaces::msg::Time<std::allocator>::nanosec_type', possible loss of data [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
C:\dev\ros2_iron\include\rclcpp\rclcpp/any_subscription_callback.hpp(391,7): warning C4996: 'rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>::set_deprecated': use 'void(std::shared_ptr)' instead [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
with
[
MessageT=vectornav_msgs::msg::CommonGroup,
AllocatorT=std::allocator
]
C:\dev\ros2_iron\include\rclcpp\rclcpp/subscription_factory.hpp(94): message : see reference to function template instantiation 'rclcpp::AnySubscriptionCallback<MessageT,AllocatorT> rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>::set<std::Binder<std::Unforced,void (cdecl VnSensorMsgs::* )(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>) const,VnSensorMsgs ,const std::_Ph<1> &>>(CallbackT)' being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
with
[
MessageT=vectornav_msgs::msg::CommonGroup,
AllocatorT=std::allocator,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>) const,VnSensorMsgs ,const std::_Ph<1> &>
]
C:\dev\ros2_iron\include\rclcpp\rclcpp/subscription_factory.hpp(94): message : see reference to function template instantiation 'rclcpp::AnySubscriptionCallback<MessageT,AllocatorT> rclcpp::AnySubscriptionCallback<MessageT,AllocatorT>::set<std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>) const,VnSensorMsgs ,const std::_Ph<1> &>>(CallbackT)' being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
with
[
MessageT=vectornav_msgs::msg::CommonGroup,
AllocatorT=std::allocator,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>) const,VnSensorMsgs ,const std::_Ph<1> &>
]
C:\dev\ros2_iron\include\rclcpp\rclcpp/create_subscription.hpp(127): message : see reference to function template instantiation 'rclcpp::SubscriptionFactory rclcpp::create_subscription_factory<MessageT,std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup<std::allocator>>) const,VnSensorMsgs ,const std::Ph<1> &>&,std::allocator,rclcpp::Subscription<MessageT,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>,vectornav_msgs::msg::CommonGroup_<std::allocator>>(CallbackT,const rclcpp::SubscriptionOptionsWithAllocator<std::allocator> &,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>,std::shared_ptr<rclcpp::topic_statistics::SubscriptionTopicStatistics<vectornav_msgs::msg::CommonGroup_<std::allocator>>>)' being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
with
[
MessageT=vectornav_msgs::msg::CommonGroup,
AllocatorT=std::allocator,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>) const,VnSensorMsgs ,const std::Ph<1> &> &
]
C:\dev\ros2_iron\include\rclcpp\rclcpp/create_subscription.hpp(192): message : see reference to function template instantiation 'std::shared_ptr<rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>> rclcpp::detail::create_subscription<MessageT,CallbackT,AllocatorT,SubscriptionT,MessageMemoryStrategyT,NodeT,NodeT,vectornav_msgs::msg::CommonGroup_<std::allocator>>(NodeParametersT &,NodeTopicsT &,const std::string &,const rclcpp::QoS &,CallbackT,const rclcpp::SubscriptionOptionsWithAllocator<std::allocator> &,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>)' being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
with
[
ROSMessageT=vectornav_msgs::msg::CommonGroup_<std::allocator>,
AllocatorT=std::allocator,
MessageT=vectornav_msgs::msg::CommonGroup,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>) const,VnSensorMsgs ,const std::Ph<1> &> &,
SubscriptionT=rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<vectornav_msgs::msg::CommonGroup_<std::allocator>,std::allocator>>,
MessageMemoryStrategyT=rclcpp::message_memory_strategy::MessageMemoryStrategy<vectornav_msgs::msg::CommonGroup_<std::allocator>,std::allocator>,
NodeT=rclcpp::Node,
NodeParametersT=rclcpp::Node,
NodeTopicsT=rclcpp::Node
]
C:\dev\ros2_iron\include\rclcpp\rclcpp\node_impl.hpp(105): message : see reference to function template instantiation 'std::shared_ptr<rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup_<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>> rclcpp::create_subscription<MessageT,std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>) const,VnSensorMsgs ,const std::Ph<1> &>&,std::allocator,rclcpp::Subscription<MessageT,AllocatorT,vectornav_msgs::msg::CommonGroup<std::allocator>,ROSMessageT,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>,rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>,rclcpp::Node>(NodeT &,const std::string &,const rclcpp::QoS &,CallbackT,const rclcpp::SubscriptionOptionsWithAllocator<std::allocator> &,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT,AllocatorT>>)' being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
with
[
ROSMessageT=vectornav_msgs::msg::CommonGroup_<std::allocator>,
AllocatorT=std::allocator,
MessageT=vectornav_msgs::msg::CommonGroup,
NodeT=rclcpp::Node,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>) const,VnSensorMsgs ,const std::Ph<1> &> &
]
C:\dev\ros2_ws\src\vectornav\vectornav\src\vn_sensor_msgs.cc(86): message : see reference to function template instantiation 'std::shared_ptr<rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,std::allocator,vectornav_msgs::msg::CommonGroup<std::allocator>,vectornav_msgs::msg::CommonGroup_<std::allocator>,rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>> rclcpp::Node::create_subscription<vectornav_msgs::msg::CommonGroup,std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>) const,VnSensorMsgs ,const std::Ph<1> &>&,std::allocator,rclcpp::Subscription<vectornav_msgs::msg::CommonGroup,AllocatorT,vectornav_msgs::msg::CommonGroup<std::allocator>,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> &,std::shared_ptr<rclcpp::message_memory_strategy::MessageMemoryStrategy<ROSMessageT,AllocatorT>>)' being compiled [C:\dev\ros2_ws\build\vectornav\vn_sensor_msgs.vcxproj]
with
[
ROSMessageT=vectornav_msgs::msg::CommonGroup_<std::allocator>,
AllocatorT=std::allocator,
CallbackT=std::_Binder<std::_Unforced,void (__cdecl VnSensorMsgs:: )(std::shared_ptr<vectornav_msgs::msg::CommonGroup_<std::allocator>>) const,VnSensorMsgs *,const std::_Ph<1> &> &
]
vn_sensor_msgs.vcxproj -> C:\dev\ros2_ws\build\vectornav\Release\vn_sensor_msgs.exe
Failed <<< vectornav [20.9s, exited with code 1]
Summary: 1 package finished [30.5s]
1 package failed: vectornav
1 package had stderr output: vectornav_msgs
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)
any idea why?
The text was updated successfully, but these errors were encountered: