使用VS2022提示Jolt错误
#336
|
Describe the bug | Bug描述 Steps to reproduce | 如何复现
Additional context | 补充信息 |
Answered by
Ol6rin
Aug 31, 2022
Replies: 2 comments
0 replies
Answer selected by
Ol6rin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




使用VS直接打开文件夹的方式其实也是利用了CMake,只是用的是VS中的内置CMake。如果不做任何配置,默认使用的Generator是Ninja。Windows上目前我们没有支持使用Ninja作为Generator的情况。
如果需要使用VS内置CMake编译,可以通过Project->CMake Settings for Piccolo中的高级设置
更改CMake generator为Visual Studio 17 2022 Win64,生成VS2022的工程编译。
另外,通过这种方式配置的工程直接调试启动会因为配置文件的相对路径问题找不到资源运行失败。可以手动运行顶层bin目录下的exe然后附加到进程调试。
WIndows下的最佳开发体验我们依然推荐先运行命令行通过外部CMake生成工程之后再用VS打开工程开发。