Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 681 Bytes

linker-tools-error-lnk1158.md

File metadata and controls

15 lines (12 loc) · 681 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Linker Tools Error LNK1158
Linker Tools Error LNK1158
11/04/2016
LNK1158
LNK1158
45febf16-d9e1-42db-af91-532e2717fd6a

Linker Tools Error LNK1158

cannot run 'filename'

The given executable file called by LINK is not in the directory that contains LINK nor in a directory specified in the PATH environment variable.

For example, you will get this error if you try to use the PGOPTIMIZE parameter to the /LTCG linker option on a machine with a 32-bit operating system.