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.