Hi, I am using ros2-eloquent-debug in windows, using visual studio 2015,
and I am building image_common package from https://github.com/ros-perception/image_common , and when I run list_transport project of image_common package, it failed when running list_transports.exe
So, I debug and find the reason is from pluginlib package from https://github.com/ros/pluginlib ,there is a syntax error about std::regex re(regex); in split.hpp from C:\dev\ros2-eloquent-debug\include\pluginlib\impl\split.hpp 45 line, and the parameter regex of std::regex re(regex) will become "\\" in windows system, because C:\dev\ros2-eloquent-debug\include\pluginlib\impl\filesystem_helper.hpp already define #define CLASS_LOADER_IMPL_OS_DIRSEP '\\'
so std::regex re("\\") will fail when running project. It is running error, I already test in vs2015, vs2017, vs2019, they all run error std::regex re("\\")
Because give me some advice, thanks,
jack
Hi, I am using ros2-eloquent-debug in windows, using visual studio 2015,
and I am building
image_commonpackage from https://github.com/ros-perception/image_common , and when I runlist_transportproject ofimage_commonpackage, it failed when runninglist_transports.exeSo, I debug and find the reason is from
pluginlibpackage from https://github.com/ros/pluginlib ,there is a syntax error aboutstd::regex re(regex);in split.hpp fromC:\dev\ros2-eloquent-debug\include\pluginlib\impl\split.hpp45 line, and the parameterregex of std::regex re(regex)will become"\\"in windows system, becauseC:\dev\ros2-eloquent-debug\include\pluginlib\impl\filesystem_helper.hppalready define#define CLASS_LOADER_IMPL_OS_DIRSEP '\\'so
std::regex re("\\")will fail when running project. It is running error, I already test in vs2015, vs2017, vs2019, they all run errorstd::regex re("\\")Because give me some advice, thanks,
jack