Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 899 Bytes

linker-tools-error-lnk1245.md

File metadata and controls

19 lines (14 loc) · 899 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Linker Tools Error LNK1245
Linker Tools Error LNK1245
11/04/2016
LNK1245
LNK1245
179c8165-ffbb-44cd-9f24-5250f29577cc

Linker Tools Error LNK1245

invalid subsystem 'subsystem' specified; /SUBSYSTEM must be WINDOWS, WINDOWSCE, or CONSOLE

/clr was used to compile the object and one of the following conditions was true:

  • A custom entry point was defined (/ENTRY), such that, the linker could not infer a subsystem.

  • A value was passed to the /SUBSYSTEM linker option that is not valid for /clr objects.

For both situations, the resolution is to specify a valid value to the /SUBSYSTEM linker option.