Closed andrewjong closed 3 years ago
Hey, thanks for the report. These kind of problems can happen due to differences in the standard library or compiler flags - apparently on Ubuntu 16.04/18.04/20.04 the <string>
header is included by another already included header, which is why everything compiles just fine for me.
Can you tell me your Linux distribution and compiler version (gcc --version
)?
Adding set(CMAKE_CXX_STANDARD 11)
should also not be necessary.
I'm still curious about your system details, but I just pushed a fix in #137, so I'll close this issue.
Thanks a lot! I'm on Manjaro Linux. Glad I'm not going crazy.
GCC 10.2.0.
Cloned
rosmon
androsfmt
under mysrc/
. Addedset(CMAKE_CXX_STANDARD 11)
.I get this during
catkin build
.Simply adding
#include <string>
inbytes_parser.h
made these errors disappear. How come this issue appeared?