-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calculix-ccx ucrt error (comma instead of dot) #22630
Comments
ccx output mingw64 (OK):
ccx output ucrt64 (NOK):
So the whole program has a problem with the decimal symbol, not just the stored results. @lazka, @Biswa96, @MehdiChinoune I am currently using mingw64 environment but I wanted to switch to recommended ucrt64, but this error is stopping me. Please help me solve this problem, I have no idea why this is happening. |
I can not reproduce the issue with ucrt64 environment. Could you check if the sample code from this URL also reproduces the issue? https://learn.microsoft.com/en-us/cpp/c-runtime-library/set-output-format |
I tested the example on 2 computers now and this error occurs, due to the fact that the example contains only 1 element, the cube is displayed correctly (the graphic above contained over 100 elements), however the output file .frd from the ucrt64 version has commas instead of dots.
|
It looks like something to do with your locale default numeric format settings. Try change it to en_US and see if It fixed the issue for you. |
I created a virtual machine (virtualbox Windows 10) to make sure the machine is clean, after changing the decimal separator in the main windows settings from However, the mingw64 version does not require such a change, is it possible to achieve this in a different way, globally (so that regardless of the windows settings there will always be |
Yes, I could set locale to |
Great, thank you very much |
Description / Steps to reproduce the issue
Run this input, and see input.frd
$ ccx -i input
input.inp:
Expected behavior
Good results (mingw64 and clang 64) from ccx:
Actual behavior
Results (ucrt64) from ccx:
Verification
Windows Version
MINGW64_NT-10.0-26100
MINGW environments affected
Are you willing to submit a PR?
no
The text was updated successfully, but these errors were encountered: