The MASM Forum

General => The Campus => Topic started by: sys64738 on December 19, 2013, 05:50:34 AM

Title: Error A1017 missing filename
Post by: sys64738 on December 19, 2013, 05:50:34 AM
I sure don't understand this. I was using MASM32 on my Windows XP and it worked fine. I switched to Windows 7 and suddenly I get this error:


A1017:missing source filename


I was using Visual Studio 2008/2010 and it uses this commandline:


ml.exe /c  /nologo /Fo"Debug\AddressTest.obj" /I "d:\Programme\" /W3 /Zi /errorReport:prompt  /Ta.\AddressTest.asm


It was using MASM 9.x so I switched to a command prompt and tried to invoke MASM32 6.x there, but no matter what I try I always get this error. I tried variations with and without "/Ta" and adding spaces or removing them, but nothing works suddenly. :(

According to a an MSDN Article http://msdn.microsoft.com/en-us/library/e2a8yw1t.aspx this should happen if the extension is not "asm" which doesn't apply anyway.

So I hope somebody has an answer to this strange problem.
Title: Re: Error A1017 missing filename
Post by: jj2007 on December 19, 2013, 06:18:11 AM
EDIT: qWord has found the cause :t

Your source is on d:? \Masm32 too?

VS is probably on C:, and with the usual \Masm32\etc paths, that may create problems. Try using \Masm32\qEditor.exe with your source.
Title: Re: Error A1017 missing filename
Post by: qWord on December 19, 2013, 06:23:06 AM
The problem is probably the last backslash in "d:\Programme\".
Title: Re: Error A1017 missing filename
Post by: sys64738 on December 19, 2013, 08:56:56 AM
Thanks! That include path was indeed the problem. I had a suspicion, but somehow I never got around to test it without it. :)