I m using masm from last two week but when i m executing the .asm examples into the masm32 directory its continuously giving error like
"D:\abhiasm>ml mdir.asm io.obj
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: mdir.asm
mdir.asm(17) : fatal error A1000: cannot open file : \masm32\include\windows.inc"
please help me how can i solve this problem?
"D:\abhiasm>ml mdir.asm io.obj
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: mdir.asm
mdir.asm(17) : fatal error A1000: cannot open file : \masm32\include\windows.inc"
please help me how can i solve this problem?
It means mdir.asm is not on the same drive/partition as masm32 installation. This is by design :twisted:
Easy solution: move the file to C: (or wherever masm32 is)
Hard (If you are willing):
- remove all "\masm32\include" "\masm32\lib" from asm files (just the path part!!) in include/includelib lines
- add /I"C:\masm32\include" to ml command-line and /LIBPATH:"C:\masm32\lib" to link command-line
Easy solution: move the file to C: (or wherever masm32 is)
Hard (If you are willing):
- remove all "\masm32\include" "\masm32\lib" from asm files (just the path part!!) in include/includelib lines
- add /I"C:\masm32\include" to ml command-line and /LIBPATH:"C:\masm32\lib" to link command-line