如何解决“链接:致命错误 LNK1561:必须定义入口点"? [英] How to resolve "LINK : fatal error LNK1561: entry point must be defined"?
本文介绍了如何解决“链接:致命错误 LNK1561:必须定义入口点"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何解决以下链接错误:
How can I resolve the following linking error:
LINK : fatal error LNK1561: entry point must be defined"
我想要做的只是使用 Visual Studio 2008 重新编译 MySQL 存储引擎示例.
What I was trying to do is simply recompiling MySQL Storage engine example with Visual Studio 2008.
推荐答案
不熟悉MySQL 存储引擎示例",所以不知道它是库还是 .exe 等.但是,通常链接器能够推断出基于以下设置的组合正确的入口点:
Not familiar with the 'MySQL Storage engine example' so dont know if its a library or a .exe etc. However, usually the linker is able to infer the correct entry point based on a combination of your settings for:
- 配置属性 -> 链接器 -> 系统 -> 子系统,以及
- 配置属性 -> 常规 -> 配置类型
参见 http://msdn.microsoft.com/en-us/library/f9t8842e.aspx
这篇关于如何解决“链接:致命错误 LNK1561:必须定义入口点"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文