-
Notifications
You must be signed in to change notification settings - Fork 102
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
windwos ros2-eloquent-debug std::regex re(regex) running error #170
Labels
Comments
ROS 2 Eloquent officially only supports Visual Studio 2019 (see https://index.ros.org/doc/ros2/Releases/Release-Eloquent-Elusor/).
|
Reopening - I missed that you are describing a runtime error in the regex and that you see the same problem with VS 2019. |
I try run the same project list_transports.exe in ros2-dashing-debug of
windows, finally, it also run error.
And also I debug, find problem is same, because of std::regex re("\\"),
My team have a project, and the project has the same problem like running list_transports.exe, will appear running error because of std::regex re("\\").
If you have some solution, please give me some advice
Thanks
, jack
Dirk Thomas <[email protected]> 于2019年12月5日周四 上午12:39写道:
… Reopening - I missed that you are describing a runtime error in the regex
and that you see the same problem with VS 2019.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#170?email_source=notifications&email_token=AKSXUHNSOZATNKONP2UT5JTQW7MLTA5CNFSM4JVI7SB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5UQYI#issuecomment-561727585>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSXUHJLFQWFQ6GCKR2SBE3QW7MLTANCNFSM4JVI7SBQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 runlist_transport
project ofimage_common
package, it failed when runninglist_transports.exe
So, I debug and find the reason is from
pluginlib
package 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.hpp
45 line, and the parameterregex of std::regex re(regex)
will become"\\"
in windows system, becauseC:\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 errorstd::regex re("\\")
Because give me some advice, thanks,
jack
The text was updated successfully, but these errors were encountered: