惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
云风的 BLOG
云风的 BLOG
Microsoft Security Blog
Microsoft Security Blog
博客园 - 司徒正美
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
小众软件
小众软件
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
MyScale Blog
MyScale Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
A
About on SuperTechFans
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
B
Blog RSS Feed
G
Google Developers Blog
量子位
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 三生石上(FineUI控件)

博客园 - Gravitonium

AttributesError:XXXXX has no module named 'xfeatures2d' Install pyCuda on windows7 Install pytorch on windows7 Install face_recognition anaconda to install cv2 Install dlib on windows for python2.7 Solution for Python Extention matplotlib.pyplot loading Error Reactivate this account after 8-year-suspension RealPlayer10GOLD for FC5 installation problem Date comparison in SQL clauses How to sort out monitor "Sync out of range" problem for Linux Box Java programming problem in linux box: Exception in thread "main" java.lang.NoClassDefFoundError Solution to MySQL Connection Problem Example of a Web client invoke WebService using ASP Demonstration of Database programming using ADO.net with C# under console mode 彻底清除3721上网助手 How to remove rigistry entry from the list of services PERL之模式匹配 Access数据库执行insert语句产生的问题
VS.net 2003 “Linker Tools Error LNK2001” 解决方案
Gravitonium · 2005-07-07 · via 博客园 - Gravitonium

在 VS.net 2003 中如果遇到类似 “Linker Tools Error LNK2001”的编译出错信息 解决方案:

1. 使用 /NOENTRY 链接。在“解决方案资源管理器”中,右键单击项目节点,单击“属性”。在“属性页”对话框中,依次单击“链接器”、“命令行”,然后将此开关添加到“附加选项”字段。
2. 链接 msvcrt.lib。在“属性页”对话框中,依次单击“链接器”、“输入”,然后将 msvcrt.lib 添加到“其他依存项”属性中。
3. 删除 nochkclr.obj。在“输入”页(与上一步中使用的页面相同)中,从其他依存项属性中删除 nochkclr.obj
4. 链接 CRT。在“输入”页(与上一步中使用的页面相同)中,将 __DllMainCRTStartup@12 添加到“强制符号引用”属性中。

如果您要使用命令提示,请通过以下操作指定上述项目设置:

LINK /NOENTRY msvcrt.lib /NODEFAULTLIB:nochkclr.obj /INCLUDE:__DllMainCRTStartup@12

posted on 2005-07-07 21:05  Gravitonium  阅读(857)  评论(0)    收藏  举报