Hello, I am trying to build and compile a Fortran 77 program in Visual Studio 2013, using Intel Fortran.
The program consists of a main .for file, and many .for and .f subroutines. To run it, I create a new Fortran console project, and load all the .for and .f files. Then, when I try to build, I get the following error:
Error 1 error LNK2019: unresolved external symbol _MAIN__ referenced in function _main libifcoremdd.lib(for_main.obj)
Error 2 fatal error LNK1120: 1 unresolved externals Debug\test.exe
What am I doing wrong?