Roman Kagan Roman Kagan - 4 years ago 170
C Question

How to resolve "LINK : fatal error LNK1561: entry point must be defined"?

Guys/gals: 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.

Answer Source

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:

  • Configuration Properties -> Linker -> System -> SubSystem, and
  • Configuration Properties -> General -> Configuration type


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download