Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error LNK1561: entry point must be defined

I am working with Visual Studio 2012.

My Solution has 3 projects

projectA

projectB

projectC

and the Hierarchy is like

projectC depends on projectB which in turn depend on projectA. There is a main function in projectC and no main in projectB and projectA. The errors that i am getting are:

error LNK1561: entry point must be defined      projectA
error LNK1561: entry point must be defined      projectB

I have tried changing in the Configuration Properties -> Linker -> System -> SubSystem to Console (/SUBSYSTEM:CONSOLE) But the problem still persists

Help me out of this.

like image 539
Euler Avatar asked Jun 21 '13 05:06

Euler


1 Answers

set Properties -> Linker -> System -> SubSystem to "Windows (/SUBSYSTEM:WINDOWS)"

like image 175
user2852297 Avatar answered Sep 20 '22 01:09

user2852297