Linker Tools Error LNK1221

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Linker Tools Error LNK1221.

a subsystem can't be inferred and must be defined

The linker does not have enough information to infer which subsystem you want to target.

To fix this error, use /SUBSYSTEM.

Show: