-
报错如下 c++.exe: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
mingw32-make[2]: *** [engine\3rdparty\JoltPhysics\Build\CMakeFiles\Jolt.dir\build.make:76: engine/3rdparty/JoltPhysics/Build/CMakeFiles/Jolt.dir/__/Jolt/AABBTree/AABBTreeBuilder.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:585: engine/3rdparty/JoltPhysics/Build/CMakeFiles/Jolt.dir/all] Error 2
mingw32-make: *** [Makefile:135: all] Error 2 bat文件 @echo off
cmake -S . -B build -G "MinGW Makefiles"
cmake --build build --config Release
pause yysy可以这么做吗,感觉是JoltPhysics的cmake的问题,但我不知道要怎么修改,我是不是应该直接拿MSVC来编译... |
Beta Was this translation helpful? Give feedback.
Answered by
fl0a1e
Nov 17, 2023
Replies: 1 comment
-
ok, MSVC下编译通过了 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fl0a1e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok, MSVC下编译通过了