1

我正在尝试使用 Visual Studion 2010 学习 x64 程序集。

我正在关注这个视频教程:x64 Assembly and C++ Tutorial 1: Getting into x64 ASM from C++

正如它所说,我安装了 Visual Studio 2010、Windows 7 SDK 3.5(ISO 安装)并编辑了配置。

但是当我编译代码时,出现以下错误:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\masm.targets(49,5): error MSB3721: The command "ml64.exe /c /nologo /Zi /Fo"x64\Debug\asm.obj" /W3 /errorReport:prompt  /Taasm.asm" exited with code 1.

这是什么问题,我该如何解决?

4

1 回答 1

0

Look at the assembler output above that line, or build the .asm file by itself.

You should see warnings generated by the assembler eg. "somefile.asm(564): warning A6004: procedure argument or local not referenced :"

Deal with those warnings. The "exited with code 1" is not very explanatory.

于 2014-06-20T02:38:20.253 回答