Closed ChivenZhang closed 4 months ago
It looks like you're using a preview version of MSVC and it has a problem in the header files that ship with it.
I don't support preview versions of MSVC but you can work around this by not making the warnings fatal by setting the cmake option ENABLE_ALL_WARNINGS=NO
(or by not using a preview version of MSVC).
I test sample project on another computer, It compiled successfully with same configuration in vs2022.
This is config from vs2022
This is my another computer's info
I have asked my colleague for help, he said my original one not support simd instructions according to compilation error info.
It looks like you're using a preview version of MSVC and it has a problem in the header files that ship with it.
I don't support preview versions of MSVC but you can work around this by not making the warnings fatal by setting the cmake option
ENABLE_ALL_WARNINGS=NO
(or by not using a preview version of MSVC).
ok, I resolved it. Thanks.
I put the source code on my computer and it compiled failed in the end. This is my cpu info![image](https://github.com/jrouwe/JoltPhysics/assets/48938612/07026efd-d7b4-47b6-9ce8-fbfcd7fa0e95)
This is my compile environment![image](https://github.com/jrouwe/JoltPhysics/assets/48938612/5fb92a0e-859a-4230-9fb4-89829099ca83)
This is the compiler (msvc 2022)'s report![image](https://github.com/jrouwe/JoltPhysics/assets/48938612/dbafb7d9-5963-4cea-81d5-86b5907d062a)