Author Topic: fatal error LNK1113: invalid machine type  (Read 791 times)

anta40

  • Member
  • ***
  • Posts: 303
fatal error LNK1113: invalid machine type
« on: January 21, 2018, 02:28:04 AM »
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--

  • Administrator
  • Member
  • ******
  • Posts: 5899
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: fatal error LNK1113: invalid machine type
« Reply #1 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

anta40

  • Member
  • ***
  • Posts: 303
Re: fatal error LNK1113: invalid machine type
« Reply #2 on: January 21, 2018, 08:34:42 PM »
Try running the batch file that builds the import libraries. MAKELIBS.BAT in the MASM32 directory.

Danke :t