fatal error LNK1113: invalid machine type
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: fatal error LNK1113: invalid machine type

  1. #1
    Join Date
    Nov 2006

    Unhappy 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--------------------
    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.

    Mess With The Best & Die Like The Rest

  2. #2
    Join Date
    Feb 2002

    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.


  3. #3
    Join Date
    Oct 2006

    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.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here

    Get your free MS compiler here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)