View previous topic :: View next topic |
Author |
Message |
mlc3
Joined: 11 Nov 2011 Posts: 1
|
Posted: Fri Nov 11, 2011 6:22 pm Post subject: No main, WinMain or LibMain function |
|
|
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?  |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8254 Location: Salford, UK
|
Posted: Sat Nov 12, 2011 8:32 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
|