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

'Unicode support requires compiling with /utf-8' compiling with msvc #42965

Open
Karma5s opened this issue Dec 27, 2024 · 3 comments
Open

'Unicode support requires compiling with /utf-8' compiling with msvc #42965

Karma5s opened this issue Dec 27, 2024 · 3 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@Karma5s
Copy link

Karma5s commented Dec 27, 2024

vcpkg_installed\x64-windows\x64-windows\include\fmt\base.h(458,28): error C2338: static_assert failed: 'Unicode support requires compiling with /utf-8'
when compiling with MSVC following this tutorial
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-msbuild?pivots=shell-powershell

Originally posted by @Karma5s in #40944 (comment)

@JonLiu1993 JonLiu1993 added the requires:repro The issue is not currently repro-able label Dec 30, 2024
@JonLiu1993
Copy link
Member

@Karma5s, could you provide detailed steps to reproduce? I can successfully build fmt with MSVC following this tutorial
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-msbuild?pivots=shell-powershell

Image

@JackBoosY
Copy link
Contributor

Please provide fmt configure logs and build logs.

@RainesArt
Copy link

You can try Adding Command Line /utf-8 seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

4 participants