LINK : fatal error LNK1561: entry point must be defined in empty project

Viewed 7879

I have created a Visual C++ empty project with Visual Studio 2017 15.3.4 Community edition selecting Visual C++ -> General -> Empty project from wizard. I wanted to create a C++ library (static or dynamic).

But when I compile it I get this message:

LINK : fatal error LNK1561: entry point must be defined

I have right clicked on Project, select Properties, Linker and advanced and Entry Point option is empty.

What do I have to put there?

Is there another better option to create a C++ library?

2 Answers
Related