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

messy code output in Visual Studio 2022 while building #38693

Closed
NeoxyCN opened this issue May 11, 2024 · 4 comments
Closed

messy code output in Visual Studio 2022 while building #38693

NeoxyCN opened this issue May 11, 2024 · 4 comments
Assignees
Labels
category:question This issue is a question

Comments

@NeoxyCN
Copy link

NeoxyCN commented May 11, 2024

Describe the bug
the output in vs2022 is messy code

Environment

  • OS: Windows
  • Compiler: MSVC

Failure logs

1>"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg\vcpkg.exe" install  --x-wait-for-lock --triplet "x64-windows" --vcpkg-root "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg\\" "--x-manifest-root=D:\source\Project\\" "--x-install-root=D:\source\Project\vcpkg_installed\x64-windows\\"
1>姝e湪妫€娴嬩笁鍏冪粍 x64-windows 鐨勭紪璇戝櫒鍝堝笇...
1>-- 姝e湪灏?%HTTP(S)_PROXY% 鐜鍙橀噺鑷姩璁剧疆涓衡€?27.0.0.1:7897鈥濄€?灏嗙敓鎴愬苟瀹夎浠ヤ笅鍖?
1>    glew:x64-windows -> 2.2.0#3 -- C:\Users\Username\AppData\Local\vcpkg\registries\git-trees\cfd894e57985fdb9c772bbf28a4aa261759bb6ac
1>    glfw3:x64-windows -> 3.3.8#3 -- C:\Users\Username\AppData\Local\vcpkg\registries\git-trees\c21a08a861a502b0e10c4a82de391a60bba6a4e6
1>102 us 鍚庝粠 C:\Users\Username\AppData\Local\vcpkg\archives 杩樺師浜?0 涓寘銆備娇鐢?--debug 浜嗚В鏇村璇︾粏淇℃伅銆?姝e湪瀹夎 1/2 涓?glew:x64-windows...
1>姝e湪鐢熸垚 glew:x64-windows...
1>-- 姝d粠浠ヤ笅浣嶇疆瀹夎绔彛: C:\Users\Username\AppData\Local\vcpkg\registries\git-trees\cfd894e57985fdb9c772bbf28a4aa261759bb6ac

Additional context
the output of vcpkg in vs2022 is in GBK, but the output setting is UTF-8

@JonLiu1993 JonLiu1993 self-assigned this May 11, 2024
@JonLiu1993 JonLiu1993 added the category:question This issue is a question label May 11, 2024
@JonLiu1993
Copy link
Member

JonLiu1993 commented May 11, 2024

@NeoxyCN, This is related to your VS settings, not the vcpkg port problem. Have you installed the language pack? Or you can reinstall a port and test whether it has the same output format.

@NeoxyCN
Copy link
Author

NeoxyCN commented May 11, 2024

@NeoxyCN, This is related to your VS settings, not the vcpkg port problem. Have you installed the language pack? Or you can reinstall a port and test whether it has the same output format.

Yes, simplified chinese and english, now using windows and visual studio 2022 in simplified chinese

@JonLiu1993
Copy link
Member

You can try using the English package. Under normal circumstances, some characters in Chinese VS may have parsing errors.

@NeoxyCN
Copy link
Author

NeoxyCN commented May 14, 2024

You can try using the English package. Under normal circumstances, some characters in Chinese VS may have parsing errors.

okay, thanks

@NeoxyCN NeoxyCN closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants