eclipse-ecal / rmw_ecal

ROS2 middleware based on eCAL
Apache License 2.0
62 stars 14 forks source link

Compiler error on ROS 2 Foxy while building rmw_ecal package #53

Open karthiknit1 opened 2 years ago

karthiknit1 commented 2 years ago

Hello,

I am trying to build this package on windows with VS2019 and ROS 2 Foxy installed. While running colcon build, I am getting following error.

D:\Downloads\rmw_packages\rmw_ecal\rmw_ecal_shared_cpp\include\rmw_ecal_shared_cpp/ros_array_iterator.hpp(371,1): error C2440: 'reinterpret_cast': cannot convert from '__int64' to 'eCAL::rmw::RosArray::iterator::difference_type' (compiling source file D:\Downloads\rmw_packages\rmw_ecal\rmw_ecal_shared_cpp\src\get_service_names_and_types.cpp) [D:\Downloads\rmw_packages\build\rmw_ecal_shared_cpp\rmw_ecal_shared_cpp.vcxproj]

Any help is appreciated.

Thanks, Karthik Reddy

FlorianReimold commented 2 years ago

I have never tried the rmw on Windows, even though I think it should work. So maybe there is a bug... Can you try it out on Linux and see if it compiles?