assembly - Using MASM with VS2013 failed (error MSB3721 / exit code 1) -
i tried compile assembly code via visual studio 2013 (update 2) , received following error:
c:\program files (x86)\msbuild\microsoft.cpp\v4.0\v120\buildcustomizations\masm.targets(50,5): error msb3721: der befehl "ml.exe /c /nologo /zi /fo"debug\inffas32.obj" /w3 /errorreport:prompt /ta"......\3rdparty\zlib-1.2.8\contrib\masmx86\inffas32.asm"" wurde mit code 1 beendet.
(a german vs2013 version, indeed, should no problem question believe)
in fact try compile zlib 1.2.8 masm contributions via vs2013. created empty project, did build customization masm, added 2 files (inffas32.asm , match686.asm) zlib package. changed project create static lib , set sub-system windows. received error message above.
if try compile compile file manually in vs2013 shell command line working well.
the above procedure worked in vs2012 - now, in vs2013 not compiled anymore (even if open vs2012 project).
did miss something, or bug in masm customization build?
i found solution problem on own might others, too:
compiling code produces a5000 warning because of .fpo directive in assembly code. warning force ml.exe exit warning level higher 1.
if reduce warning level 1 or 0 warning not appear , working.
if know how disable "treat warning error" let me know. project setting of feature not working me. anyway no warning, no error , .fpo controls emission of debug records. so, pure code fine believe (commenting line out fine, too).
@hans passant: diagnostic output not help. did took @ before tipp, time , having @ problem! :)
Comments
Post a Comment