Skip to content
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

Cannot build project after updating visual studio 2022 with version 17.10.1 #3989

Closed
hoai-Dev01 opened this issue Jun 3, 2024 · 4 comments
Closed

Comments

@hoai-Dev01
Copy link

hoai-Dev01 commented Jun 3, 2024

After I updated visual studio 2022 to version 17.10.1, the project had an error with fmt
The specific error is: static_assert failed: 'Unicode support requires compiling with /utf-8'.
Can someone please help me fix this bug?

@uraymeiviar
Copy link

i got the same issue, what is the solution?

@vitaut
Copy link
Contributor

vitaut commented Jul 29, 2024

The solution is either build with /utf-8 (recommended) or disable Unicode support via the FMT_UNICODE CMake option / macro.

@SanderBouwhuis
Copy link

SanderBouwhuis commented Sep 6, 2024

I have the same problem. I certainly can't disable Unicode support.
How do we 'build with /utf-8'? Is it a solution setting, or a project setting, or a compiler setting, or a linker setting?

@vitaut
Copy link
Contributor

vitaut commented Sep 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants