Linker Tools Error LNK1581

corrupted object or old compiler (bad Pcode entry point)

Your object file contained a bad entry point. The object file is probably corrupt.

See Corrupt Object File for more information.