简体   繁体   English

如何解决“LINK:致命错误LNK1561:必须定义入口点”?

[英]How to resolve “LINK : fatal error LNK1561: entry point must be defined”?

How can I resolve the following linking error: 如何解决以下链接错误:

LINK : fatal error LNK1561: entry point must be defined"

What I was trying to do is simply recompiling MySQL Storage engine example with Visual Studio 2008. 我试图做的只是用Visual Studio 2008重新编译MySQL存储引擎示例。

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: 不熟悉“MySQL存储引擎示例”,因此不知道它是库还是.exe等。但是,通常链接器能够根据您的设置组合推断出正确的入口点:

  • Configuration Properties -> Linker -> System -> SubSystem, and 配置属性 - >链接器 - >系统 - >子系统,和
  • Configuration Properties -> General -> Configuration type 配置属性 - >常规 - >配置类型

See http://msdn.microsoft.com/en-us/library/f9t8842e.aspx 请参阅http://msdn.microsoft.com/en-us/library/f9t8842e.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “致命错误LNK1561:必须定义入口点” - “fatal error LNK1561: entry point must be defined” 错误LNK1561:必须定义入口点 - Error LNK1561: entry point must be defined Visual Studio Express 2012简单C程序致命错误LNK1561:必须定义入口点 - visual studio express 2012 simple c program fatal error LNK1561: entry point must be defined SDL2:LNK1561:必须定义入口点 - SDL2: LNK1561: entry point must be defined Visual Studio(2015)C项目依赖项-必须定义LNK1561入口点 - Visual Studio (2015) C Project dependency - LNK1561 entry point must be defined 如何解决致命错误 LNK1000:IncrBuildImage 期间的内部错误? - How to resolve fatal error LNK1000: Internal error during IncrBuildImage? 链接:致命错误 LNK1146:未使用选项“/MT”指定参数 - LINK : fatal error LNK1146: no argument specified with option '/MT' Cython:链接:致命错误LNK1181:无法打开输入文件 - Cython: LINK : fatal error LNK1181: cannot open input file 链接…链接:致命错误LNK1181:无法打开输入文件'libgsl.a' - Linking… LINK : fatal error LNK1181: cannot open input file 'libgsl.a' 链接:致命错误LNK1181:无法打开输入文件'libclamav.lib' - LINK : fatal error LNK1181: cannot open input file 'libclamav.lib'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM