fatal error LNK1113: invalid machine type
I'm doing an interfase for a card reader with a SDK, I have set the path to where the *.h are, when I compile the proyect doesn't reports any problem, but when I try to run the project display this error.
--------------------Configuration: UART - Win32 Debug--------------------
Linking...
C:\_HOME\ARCHIVOS RECIBIDOS\PP795\PP795 SDK\795PI411\LIB\libapi.a : fatal error LNK1113: invalid machine type
Error executing link.exe.
UART.exe - 1 error(s), 0 warning(s)
What can be the reason for this error and how can it be solved.
THANKS.
Re: fatal error LNK1113: invalid machine type
LNK1113 You're not running the program, it must have failed to compile if Visual Studio is trying to link it.
Viggy
Re: fatal error LNK1113: invalid machine type
Is this SDK made for Windows? In my mind lib files with a as the extension are usually for linux or some other OS.