I just installed masm32 on windows, all went weel, but any .asm that includes a file from \masm32 won't work.
C:\masmprojects>ml /c /Zd /coff file.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: file.asm
file.asm(5) : fatal error A1000: cannot open file : \masm32\includes\masm32rt.inc
file.asm
;inkb - dedndave
;--------------------------------------------------------------------------
include \masm32\includes\masm32rt.inc
.data
AscChar db ?,13,10,0
WordCounter db ?
;--------------------------------------------------------------------------
.code
start proc
mov WordCounter, 0
print chr$('Huo Codec - Copyright (c) 2012'),13,10
echo test
startLoop:
add WordCounter, 1
call crt__getch
add al , 2
mov AscChar, al
invoke StdOut , offset AscChar
;print offset AscChar
;print str$(offset AscChar)
invoke locate, WordCounter, 1
cmp al, 5
;cmp AscChar, 'q'
;jz endLoop
;je endLoop
jne startLoop
;jmp startLoop
;INVOKE crt__getch
;.IF (eax == 0) || (eax == 0E0h)
; INVOKE crt__getch
;.ENDIF
endLoop:
start endp
end start
I think something isn't configured correctly but I have no idea what it might be.