clang-15: error: no such file or directory: '/std:c++17' #437
Answered
by
ShenMian
sleepybeard
asked this question in
Q&A
-
请教下各位大佬,build引擎的时候报了这个错误,该怎么解决呢? |
Beta Was this translation helpful? Give feedback.
Answered by
ShenMian
Mar 10, 2023
Replies: 1 comment
-
JoltPhysics 中的 CMakeListst.txt 看上去是通过操作系统来判断可能的编译器类型, 所以在 Windows 下使用 clang 编译依然会转递给编译器 MSVC 的参数. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sleepybeard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Piccolo/engine/3rdparty/JoltPhysics/Build/CMakeLists.txt
Line 29 in 65379de
JoltPhysics 中的 CMakeListst.txt 看上去是通过操作系统来判断可能的编译器类型, 所以在 Windows 下使用 clang 编译依然会转递给编译器 MSVC 的参数.
可以尝试用 MSVC 进行编译, 或对相应的 CMakeLists.txt 文件进行修改.