locale::facet::_S_create_c_locale name not valid #281
Comments
|
I haven't encountered this error before, maybe it has something to do with using a locale to format the output, like here: PotreeConverter/PotreeConverter/src/main.cpp Line 270 in bfffefb which is the very first line that's executed in the main method. ^^ If that's not it, maybe check other occurences of locale. Let me know if you find something. |
|
OK, thanks for the quick answer! I will check it and I will let you know if I have any solution. |
|
So, after checking out various posts on similar issues I tried putting this in my .profile: and now it works :) |
|
in my case, I could not make it work with the previous 2 commands changing both LC_ALL and LANGUAGE I had to edit the file /etc/locale.gen
and finally run the command "sudo locale-gen" |
|
EDIT: PLEASE IGNORE, THIS WAS MEANT FOR GQ. I get The exception comes from Then I tried to compile a new simple program to check the command: It also throws the same exception. I do not know anything about locales but I searched a bit and I suspect that instead of "en_US", one should use one of the lines of the file It does not contain "en_US" but "en_US.UTF8". The following program runs without problems: So maybe one should change EDIT: PLEASE IGNORE, THIS WAS MEANT FOR GQ. |
|
I think this issue was closed too soon, changing the locale is a workaround and not a fix. I got the same issue when running from
|
thanks you soo much... this worked for me |
Hi there!
I am trying to make PotreeConverter work on MacOS 10.12.
I have managed to compile it (with gcc6) but when I try to run it I get the following error:
Any ideas how to fix this problem?
The text was updated successfully, but these errors were encountered: