vs重新配置个arm64编译器后,报错 No CMAKE_C_COMPILER could be found.
fatal error LNK1112: module machine type ‘x86’ conflicts with target machine type ‘ARM64’
vs配置问题,要把x64与arm64的版本对齐,要安装:
MSVC最新
C++/CLI支持,多勾选些就行
验证arm64程序
VC\Tools\MSVC\14.38.33130\bin\Hostx64\arm64> .\dumpbin.exe /HEADERS C:\devel\test\Temp3\ARM64\Debug\Temp3.exe
是否输出 AA64 machine (ARM64)