shiiion / Ishiiruka

GNU General Public License v2.0
47 stars 6 forks source link

"Invalid or incomplete multibyte or wide character" when compiling on Ubuntu #20

Open toasterofbread opened 3 years ago

toasterofbread commented 3 years ago
/home/user/Downloads/Ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp: In function ‘bool prime::{anonymous}::is_string_ridley(prime::Region, u32)’:
/home/user/Downloads/Ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:26:46: error: converting to execution character set: Invalid or incomplete multibyte or wide character
   26 | #define RIDLEY_STR(r) (r == Region::NTSC_J ? L"���^���h���[" : L"Meta Ridley")

...

make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:3040: Source/Core/Core/CMakeFiles/core.dir/PrimeHack/Mods/FpsControls.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1569: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

When compiling the project following the global build steps on Ubuntu 20.04.2, this error occurs and halts the process. Full log here