NODEFAULTLIB
来源:互联网 发布:软件测试知识点汇总 编辑:程序博客网 时间:2024/06/07 01:48
/NODEFAULTLIB (Ignore Libraries)
Home | Overview | How Do I | Linker Options
Syntax
/NODEFAULTLIB[:library]
This option tells the linker to remove one or more default libraries from the list of libraries it searches when resolving external references.
Command Line
Project Settings
Description
/NODEFAULTLIB:library
Ignore Libraries
This option removes the specified library or libraries from the list of libraries it searches when resolving external references.
/NODEFAULTLIB
Ignore All Default Libraries
This option removes all default libraries from the list of libraries it searches when resolving external references.
To find this option in the development environment, click Settings on the Project menu. Then click the Link tab, and click Input in the Category box.
The linker resolves references to external definitions by searching first in libraries specified in the Object/Library Modules text box in the Project Settings dialog box (or on the command line), then in default libraries specified with the /DEFAULTLIB option, and then in default libraries named in .OBJ files.
To specify multiple libraries, type a comma (,) between the library names.
The Ignore Libraries (/NODEFAULTLIB:library) option overrides /DEFAULTLIB:library when the same library name is specified in both.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
C Run-Time Library (without iostream) Characteristics Option Defined LIBC.LIB Single threaded, static link /ML LIBCMT.LIB Multithreaded, static link /MT _MT MSVCRT.LIB Multithreaded, dynamic link (import library for MSVCRT.DLL) /MD _MT, _DLL
Standard C++ Library Characteristics Option Defined LIBCP.LIB Single threaded, static link /ML LIBCPMT.LIB Multithreaded, static link /MT _MT MSVCPRT.LIB Multithreaded, dynamic link (import library for MSVCRT.DLL) /MD _MT, _DLL
编译的时候常会出现c或C++符号冲突的情况,可以在vc6->Project Setting->link->input里面把对应不需要的lib填充到Ignore Libraries列表里面
- NODEFAULTLIB
- LIBCMT.lib / NODEFAULTLIB 连接错误LNK2005 的解决办法
- Warning LNK4098 : defaultlib "library" conflicts with use of other libs; use /NODEFAULTLIB:library
- Warning LNK4098 : defaultlib "library" conflicts with use of other libs; use /NODEFAULTLIB:library
- LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
- defaultlib "library" conflicts with use of other libs; use /NODEFAULTLIB:library
- 默认库“library”与其他库的使用冲突;请使用 /NODEFAULTLIB:library LNK4098 的解决办法
- LINK : warning LNK4098: 默认库“LIBCMTD”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
- LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
- Qt+VS 编译器:默认库“library”与其他库的使用冲突;使用 /NODEFAULTLIB:library
- LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
- LINK : warning LNK4098: 默认库“LIBCMTD”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
- (zt)VC连接运行时库资料汇编,LNK4098,NODEFAULTLIB:lib
- LINK : warning LNK4098: 默认库“LIBCMTD”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
- LINK : warning LNK4098: 默认库“LIBCMTD”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
- 默认库“library”与其他库的使用冲突;请使用 /NODEFAULTLIB:library LNK4098 的解决办法
- LINK : warning LNK4098: 默认库“LIBCMTD”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
- warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
- 关于王垠《完全用Linux工作》
- GIS界首个超级QQ群——“GIS人@E家”,欢迎GIS朋友们加入!
- 以支持多种浏览器的方式创建 XMLHttpRequest 对象
- 常用java date 方法集合
- 更新错误问题
- NODEFAULTLIB
- INF文件说明
- 关于组件大小的一点经验
- sql字符串替换
- Oracle用Start with...Connect By子句递归查
- showModalDialog 使用详解
- Java TCP 文件传输问题
- 面向对象之自动生成助记码
- ASP.net实现验证码技术(2)