XenonRecomp icon indicating copy to clipboard operation
XenonRecomp copied to clipboard

use of undeclared identifier '_mm_cvttsd_si64'; did you mean '_mm_cvttsd_si32'?

Open ShadowLuigi opened this issue 9 months ago • 6 comments

Currently attempting to compile the .cpp files that were spat out by XenonRecomp, haven't done much else with them yet to get things in a proper-ish state. But I keep getting this error in Visual Studio when attempting to build solution.

ShadowLuigi avatar Mar 09 '25 06:03 ShadowLuigi

have this issue with destroy all humans: path of the furon. the only fix i could come up with (ill be it to run into a slew of other issues) was the replace _mm_cvttsd_si64 in every file its in with _mm_cvttsd_si32 but then it complains about things that aren't implemented

masterspike52 avatar Mar 09 '25 19:03 masterspike52

Did try doing that myself and had the same result.

ShadowLuigi avatar Mar 09 '25 23:03 ShadowLuigi

Did try doing that myself and had the same result.

if your using visual studio you can open the folder with the cpp files and do file > find and replace and then make sure you're replacing in files and make sure its searching the whole folder otherwise you need to read where the error is coming from, it should say the directory before the error including the line and column

masterspike52 avatar Mar 11 '25 01:03 masterspike52

I did go about replacing all the instances, though I had the same problem you had.

ShadowLuigi avatar Mar 11 '25 02:03 ShadowLuigi

https://github.com/hedge-dev/XenonRecomp/pull/22 may fix it up as it replaces the identifiers with simde equivalents. I haven't been able to test it yet.

JohnsterID avatar Mar 12 '25 08:03 JohnsterID

I did test that, though I haven't fully tested to see what happens when going to compile.

ShadowLuigi avatar Mar 13 '25 08:03 ShadowLuigi