Select the product you need help with
You receive a "fatal error LNK1181" error message when you build a Managed C++ applicationArticle ID: 815645 - View products that this article applies to. 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. MORE INFORMATIONLNK1181 occurs when the .lib or .obj files that are specified during
linking, are not found in the current directory, any of the directories
that are specified by the LIBPATH linker option, or any of the
directories that are specified in the LIB environment variable. The error may occur in the following scenarios:
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: http://msdn2.microsoft.com/en-us/library/Aa234415(VS.60).aspx
(http://msdn2.microsoft.com/en-us/library/Aa234415(VS.60).aspx)
Properties | Article Translations
|


Back to the top








