- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am relatively new in fortran and also new in this forum. Please forgive me if my question does not make any sense to you.
My problem is,
I am trying to retrieve HWM14 model data (model output)by running fortran script (hwm14.f90) for the Horizontal Wind Model version 2014 (HWM14). I got an error at the very beginning and could not get the script running further. Could anyone please help me why I am getting this error and how I fix it. The error is saying 'undefined reference to WinMain@16'. I am not sure what the problem is. I have attached the lines of error message as below.
#####
$ gfortran hwm14.f90
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../libcygwin.a(libcmain.o): In function `main':
/usr/src/debug/cygwin-2.8.0-1/winsup/cygwin/lib/libcmain.c:37: undefined reference to `WinMain@16'
collect2: error: ld returned 1 exit status
###
Thank you in advance for your help on this.
SDipti.
- Tags:
- Virtualization
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page