Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 997 Bytes

linker-tools-warning-lnk4105.md

File metadata and controls

23 lines (17 loc) · 997 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Linker Tools Warning LNK4105
Linker Tools Warning LNK4105
11/04/2016
LNK4105
LNK4105
6c7bebf4-4ea6-4533-a6ed-e563d43abbd7

Linker Tools Warning LNK4105

no argument specified with option 'option'; ignoring option

This warning occurs only when the /LIBPATH option is set. If no directory is specified with this option, then the linker ignores the option and generates this warning message.

If you do not need to override the existing environmental library settings, remove the /LIBPATH option from the linker command line. If you want to use an alternate search path for libraries, specify the alternate path following the /LIBPATH option.

Example

link /libpath:c:\filepath\lib bar.obj

would direct the linker to search for the required libraries in c:\filepath\lib before searching in the default locations.