我试图将路径C:\masm32
添加到Include Paths
中的Project -> Properties -> Microsoft Macro Assembler -> General -> Include Paths
。然后,汇编器使用以下命令编译我的项目:
ml.exe /c /nologo /Zi /Fo"Debug\test.obj" /l "C:\masm32" /W3 /errorReport:prompt /Tatest.asm"
[确实包含了我的库路径,但是在我的代码中,它不断告诉我仅在\include\kernel32.inc
的那部分有错误
我的包括:
...
includelib \lib\kernel32.lib ;These two .lib files seem to have
includelib \lib\masm32.lib ;no error even if i remove the .inc files
include \include\kernel32.inc ;It only reports error for .inc files
include \include\masm32rt.inc ;cannot open file: \include\kernel32.inc
...
这与include \include\...
使用的关键字相同吗?