Compiling two Fortran programs using Eclipse, duplicate symbol `_main`

124 Views Asked by At

I am newbie in Fortran in eclipse. I am trying to create many Fortran source files inside one Fortran source folder (see pic1, ex1.fo8 and ex2.fo8 are my source files in the source folder 'tut'). When I am compiling ex2.f08, I am getting error as shown in pic2.

How to resolve this without making a separate project for each source file?

enter image description here

0

There are 0 best solutions below