hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.41k stars 2.19k forks source link

Windows ARM64 release build failed in 1.18 #19575

Closed hrydgard closed 2 weeks ago

hrydgard commented 2 weeks ago

Discovered this after tagging, will fix in 1.18.1.

Lots of weird errors like this:

ARM64\Release\adler32.obj : fatal error LNK1112: module machine type 'x86' conflicts with target ma chine type 'ARM64' [D:\Temp\BuildTemp\1.18_WindowsARM64_BUILD\ppsspp\ext\zlib\zlib.vcxproj]

hrydgard commented 2 weeks ago

Fixed it locally by following the advice in https://developercommunity.visualstudio.com/t/MicrosoftVCToolsVersionv143defaulttx/10041951#T-N10498831 , that is, in C:\Program Files\Microsoft Visual Studio\2022{edition}\VC\Auxiliary\Build (where {edition} is Community for most people), delete the files with .143 in the filename. (or move them away).

Really ridiculous issue on the MSVC side, hope not too many people run into this.