You receive a "fatal error LNK1181" error message when you build a Managed C++ application (815645)
The information in this article applies to:
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
- Microsoft Linker (LINK.EXE)
- Microsoft Visual C++ 2005 Express Edition
SYMPTOMSThis article describes linker error LNK1181. When
you build a Managed C++ application, you may receive the following error
message: fatal error LNK1181: cannot open input file filename CAUSEThis error occurs because the linker cannot find the
file name or the file path that is specified in the project properties. However, the
file path that is mentioned in the project properties is correct because the
linker does not handle the space character in the file path.RESOLUTIONTo resolve this error, use the path without space
characters, or use quotation marks around the path in project properties.
STATUS This
behavior is by design.REFERENCESFor additional information about possible causes for this
error message, see the following Microsoft Developer Network (MSDN) Web site for the similar LNK1104 linker error message:
Modification Type: | Major | Last Reviewed: | 1/10/2006 |
---|
Keywords: | kbprb kbLangCPP kbCompiler KB815645 kbAudDeveloper |
---|
|