>building in Visual Studios
Compiling with Intel(R) Visual Fortran Compiler 22.214.171.124 [IA-32]..
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Referenced in libifcoremt.lib(for_diags_intel.obj)
Referenced in libifcoremt.lib(for_stop.obj)
Referenced in libifcoremt.lib(for_exit.obj)
Referenced in libifcoremt.lib(for_nt_open_proc.obj)
ifqwin.lib(qwkentry.obj) : error LNK2005: _WinMain@16 already defined in ib507p2.obj
>_WinMain@16 not in link messages before this error. What is happening?
>How can I fix this?
There's clearly a lot more to the error messages than you've excerpted here. But I will guess that you are trying to build an application that defines a WinMain entry point - that is, a "Windowing" application - but you've specified that it is a QuickWin application or have pulled in the QuickWin library. These two aren't compatible.
QuickWin works only for "traditional" Fortran programs with a Fortran main program. You can't mix it with a WinMain entry point.