Open iqedgarmg opened 2 years ago
Hm, it is interesting that you are running into that problem, since we compile this nightly on Windows 10 x64 architecture with Visual Studio 2019. You can see the results in https://ci.ros2.org/view/nightly/job/nightly_win_rel/ .
I guess one possibility is that we have our system set to English/ASCII, and you are using a different character set. What character set do you have your Windows machine set to?
Thanks @clalancette for your quick response!.
Maybe that could be the problem, this is the output of my computer when i run the command "[System.Text.Encoding]::Default":
IsSingleByte : True
BodyName : iso-8859-1
EncodingName : Western European (Windows)
HeaderName : Windows-1252
WebName : Windows-1252
WindowsCodePage : 1252
IsBrowserDisplay : True
IsBrowserSave : True
IsMailNewsDisplay : True
IsMailNewsSave : True
EncoderFallback : System.Text.InternalEncoderBestFitFallback
DecoderFallback : System.Text.InternalDecoderBestFitFallback
IsReadOnly : True
CodePage : 1252
As far as I understand, CP-1252 is extended ASCII right?, English is also my system default language.
I tried the compilation in a different Windows 10 machine but the problem still persists.
Thanks in advance for your help and response!
Hi everyone!, thanks a lot for this amazing project!
I have an Issue while compiling this package for ros2 foxy with colcon, where the following error appears:
By looking into the get_resources.cpp file, I found that the following code is executed when a different architecture than win32 is used:
As the errors says, the problem is that the compiler can't convert the string from char to wchar. By looking some related issues, I added this additional functions to the main file:
and then, I developed the required conversions to make the compilation works:
In order to skip de error. Nevertheless, despite the package can compile with no problems I am getting an execution error when I create a ros2 node instance. I am not sure if this error is caused by the previous modification, or if I am making a mistake when I try to compile the package. I have a Windows 10 machine with a /x64 architecture, and Visual Studio Community 2019.
Thanks in advance for your response!