Unicode support requires compiling with /utf-8' #14
andres-lee
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
``[9/34] Compile C++ build/msvc/debug/obj/gameplay/fluidflow-1.obj
FAILED: build/msvc/debug/obj/gameplay/fluidflow-1.obj
cl /nologo /showIncludes -c clibs/gameplay/src/core/fluidflow.cpp /Fobuild/msvc/debug/obj/gameplay/fluidflow-1.obj /EHsc /Zc:__cplusplus /Od /W3 /permissive- /MDd /FS /Zi /Fdbuild/msvc/debug/obj/gameplay/ /Iclibs/gameplay/src /I3rd/ant/3rd/luaecs/ /I3rd/ant/3rd/bee.lua/ /I3rd/ant/clibs/ecs/ /Ibuild/msvc/debug/lua54 /std:c++20
F:\work\sources\vaststars\3rd\ant\3rd\bee.lua\3rd\fmt\fmt\base.h(458): error C2338: static_assert failed: 'Unicode support requires compiling with /utf-8'
[19/34] Copy 3rd/ant/3rd/ltask/service/root.lua 3rd/ant/engine/firmware/ltask_root.lua
. : 无法加载文件 C:\Users\andres\Documents\WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本。有关详细信息,请
参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 3
[21/34] Compile C++ build/msvc/debug/obj/gameplay/world.obj
FAILED: `build/msvc/debug/obj/gameplay/world.obj``
有这个报错的同学,需要在项目根目录下的make.lua里加上msvc flags "/utf-8" (参考引擎目录)
Beta Was this translation helpful? Give feedback.
All reactions