1、问题:
'nasm' 不是内部或外部命令,也不是可运行的程序
原因:
没有安装nasm
解决:
假如VS2008安装在D:盘,把nasm.exe(作为加载汇编代码用的)拷贝到:D:\Program Files\Microsoft Visual Studio\VC98\Bin就好了。
2、问题:
nasm: error: more than one input file specified
原因:
你的源代码的路径中有空格,如下所示:C:\Documents and Settings\Admin\桌面\Projects\src
编译时,nasm.exe把空格前的字符串作为路径,从而导致了错误。
解决:去掉空格或换个路径。