Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LINK : fatal error LNK1561: entry point must by defined

Status
Not open for further replies.

Piotr13

Programmer
Sep 7, 2003
3
IE
LINK : fatal error LNK1561: entry point must by defined
NMAKE : fatal error U1077: ' c:\fsc\pcoblol32\link' : return code '0x68'
stop

To sort this probelm Please do the following:

1. Before compilation choose Main from compilation options.
2. choose object from comilation option and map it to your working directory (the same directory you have your soruce file.

This should sort the prblem
 
I think this is the answer, it has been given before. When you compile a program under the OPTION at compile time you must select MAIN so that the compiler knows the program is the main(starting) module at link time. This must be done even if there is only one module/program. Then the LINKER sees the entry point and knows where the program starts executing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top