ROS on Windows: passing std::string to rosbag::open returns garbage
Hi all, I followed the chocolatey procedure to install ros on windows, I am compiling with visual studio 2019. The code is quite simple:
std::string filename = "log.bag";
rosbag::Bag bag(filename);
The second lines throws the following exception: Error opening file: Ó¨Ê}┌
Could it be that the stl is different than the one in visual studio 2019? Thanks for your help!
I can confirm this, though I don't get weird characters:
results in
Edit: I'm compiling with
catkin_make
which is using the MSVC compiler, but I didn't build in Visual Studio.