I have a brief question here about how to setup Eclipse for Fortran.
I have already downloaded "Photran" (the Fortran tool for Eclipse) and installed it. The problem I'm having is that every time I try to run a program I get a message that says "Launch failed. Binary not found." Then, I found out you have to "build" the file first, so when I tried to do that, I got a message in the console that says the following:
**** Build of configuration Debug for project Fortran2 ****
make all
/bin/sh: gfortran: command not found
Building file: ../Src/helloworld.f90
make: *** [Src/helloworld.o] Error 127
Invoking: GNU Fortran Compiler
gfortran -funderscoring -I/usr/locl/bin -O0 -g -Wall -c -fmessage-length=0 -o "Src/helloworld.o" "../Src/helloworld.f90"
**** Build Finished ****
Does anybody have any pointers on how to get this working?
This did the trick for me. Photran/Eclipse is now running with gfortran without complaints.