News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

fatal error LNK1113: invalid machine type

Started by anta40, January 21, 2018, 02:28:04 AM

Previous topic - Next topic

anta40

I'm using a 64-bit Windows 10
My MASM32 installation is the stock one, 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:

hutch--

Long ago I have seen this before.Try running the batch file that builds the import libraries. MAKELIBS.BAT in the MASM32 directory.

anta40

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