We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在mac arm64上,使用如下命令可正常编译出arm64和x64;
cmake -DCMAKE_OSX_ARCHITECTURES=arm64 .. cmake -DCMAKE_OSX_ARCHITECTURES= x86_64 ..
但是在Windows arm64设备上,编译均报错
# 编译arm64 cmake -A ARM64 ..
报错如下:
Assembling C:\arch\auto_action\tmp\src\co\context\context_x64.asm... C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations\masm.targets(70,5): error MSB3721: 命令“echo MASM not supported on this platform [C:\arch\auto_action\tmp\bu ild_arm64\src\co.vcxproj] C:\arch\auto_action\tmp\src\log\StackWalker.cpp(1003,1): error C1189: #error: "Platform not supported!" [C:\arch\auto_action\tmp\build_arm64\src\co.vcxproj]
编译x64时
cmake -A x64 ..
报错:
C:\arch\auto_action\tmp\src\co\hook_win.cc(1411,5): error C2664: “void co::detour_attach(PVOID *,PVOID,PCHAR)”: 无法将参数 3 从“const char [26]”转换为“PCHAR” [C:\arch\auto_action\tmp\build_x64\src\co.vcxproj] C:\arch\auto_action\tmp\src\co\hook_win.cc(1411,5):
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
在mac arm64上,使用如下命令可正常编译出arm64和x64;
但是在Windows arm64设备上,编译均报错
# 编译arm64 cmake -A ARM64 ..
报错如下:
编译x64时
报错:
The text was updated successfully, but these errors were encountered: