Silverfrost Forums

Welcome to our forums

No main, WinMain or LibMain function

11 Nov 2011 5:22 #9211

I keep getting the following message output when I try and compile some codes:

*** No main, WinMain or LibMain function *** Compilation abandoned Compilation failed.

Any help please? 😄

12 Nov 2011 7:32 #9212

If you are creating an executable and writing in Fortran then you will need a section of code that begins with a PROGRAM statement or a PROGRAM statement is implied and provided by the compiler.

If you are creating a library the the linker will need to know this.

Please login to reply.