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

推荐订阅源

S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
Y
Y Combinator Blog
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Check Point Blog
M
MIT News - Artificial intelligence
Last Week in AI
Last Week in AI
V
V2EX
腾讯CDC
F
Fortinet All Blogs
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss

博客园 - 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)    收藏  举报