clang-15: error: no such file or directory: '/std:c++17' #437
Answered
by
ShenMian
CNSleepybear
asked this question in
Q&A
Replies: 1 comment
|
JoltPhysics 中的 CMakeListst.txt 看上去是通过操作系统来判断可能的编译器类型, 所以在 Windows 下使用 clang 编译依然会转递给编译器 MSVC 的参数. |
0 replies
Answer selected by
CNSleepybear
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 文件进行修改.