The MASM Forum

General => The Workshop => Topic started by: anta40 on January 21, 2018, 02:28:04 AM

Title: fatal error LNK1113: invalid machine type
Post by: anta40 on January 21, 2018, 02:28:04 AM
I'm using a 64-bit Windows 10
My MASM32 installation is the stock one (http://website.assemblercode.com/masm32/masm32v11r.zip), I don't modify any of the provided exes (ml.exe, link.exe, lib.exe etc etc).

When I tried to compile the splash example (C:\masm32\examples\exampl01\splash), I got this:
Quote
\MASM32\LIB\gdi32.lib : fatal error LNK1113: invalid machine type
_
Link error

Building some other examples, like qikpad (C:\masm32\examples\exampl01\qikpad) will also yield the same error.
Anyone notice this?  :redface:
Title: Re: fatal error LNK1113: invalid machine type
Post by: hutch-- on January 21, 2018, 02:33:15 AM
Long ago I have seen this before.Try running the batch file that builds the import libraries. MAKELIBS.BAT in the MASM32 directory.
Title: Re: fatal error LNK1113: invalid machine type
Post by: anta40 on January 21, 2018, 08:34:42 PM
Quote from: hutch-- on January 21, 2018, 02:33:15 AM
Try running the batch file that builds the import libraries. MAKELIBS.BAT in the MASM32 directory.

Danke :t