mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
来源:互联网 发布:新手淘宝客 编辑:程序博客网 时间:2024/05/01 09:00
To solve it, do the following steps:
1. Open project property pages by Alt+F7
2. Navigate to Configuration properties->Linker->Input section.
3. Add msvcrtd.lib; mfcs80ud.lib to theIgnore specific library.
4. Add mfcs80ud.lib msvcrtd.lib to theAdditional dependencies.
Now we will tell you how to find out these two disorder libraries. In the project property pages, navigate to configuration properties->linker->command line, add /verbose:libto the additional option. Rebuild your project, and look carefully to the output window, you will find that is mfcs80ud.lib generated the link error, look before mfcs80ud.lib, you will find there is only one CRT library before it, so ignore these 2 libraries in the Ignore specific library, then add them in the additional dependencies with right order. Rebuild again, it should works.
PS.visual studio2005下dll为80,2010下100.上面讲的是在Visual Studio 2005下的情况,VS2010下雷同。
- mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
- mfcs100d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
- mfcs100d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
- error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
- error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
- uafxcw.lib(dllmodul.obj) : error LNK2005: DllMain already defined in
- nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined
- mfcs100ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dllmain.obj) 中定义
- uafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in main.obj
- mfcs90d.lib(xxx.obj) : error LNK2005: DllMain@12 already defined in MSVCRTD.lib(xxx.obj)
- LNK2005: _DllMain@12 already defined in LIBCMTD.lib(dllmain.obj)
- nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in解决办法
- mfcs42.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRT
- 碰到这样的错误error LNK2005: _DllMain@12 already defined in LIBCMTD.lib(dllmain.obj)
- error LNK2005: _DllMain@12 already defined in LIBCMTD.lib(dllmain.obj) 解决方案
- 调试: 编译错误, mfcs42.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRT.lib(dllmai
- nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined问题解决
- nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined问题解决
- Linux网络协议栈(二) -- 套接字缓存(socket buffer)
- 动态代理
- wget下载整个网站
- Oracle 查询历史数据
- 分布式缓存系统 Memcached
- mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)
- EAN-13 条码生成
- 关于return false的介绍
- [Android] Accelerometer 值
- 学习记忆数据库的约束
- achartengine资料下载地址
- Linux gdb调试器用法全面解析
- 数字信号处理--7.4--数字滤波器
- Linux网络协议栈(三) -- 网络设备(1)