[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] how to compile fortran eclipse?

Hi Márcia,

I use both linux and windows. Unfortunately more windows than linux due to collaboration needs.
I vaguely remember having the problems you are having. I had them in the beginning but not anymore for a long time.
As mentioned already you may not have the make.exe in the MinGW/bin directory due to some installation problems.

Unless you are really needing the MinGW, here's an alternative that is working for me:
Under windows, and assuming you have eclipse installed, I just 1) Installed Photran like here ( http://wiki.eclipse.org/PTP/photran/documentation/photran7installation#Additional_Instructions_for_Windows_Users ) and followed the instructions for installing CygWin as described.

Never too much remembering that, after installing cygwin, do not forget to edit you path environment variable. You wouldn't be the first or the last forgeting this detail, that triggers the error you described as well.

Never tried MinGW.
I can say you, the above installation works for me under both Windows XP 32 bit and Windows7 64 bit with no problem.

João


On Wed, May 2, 2012 at 1:25 PM, Michel DEVEL <michel.devel@xxxxxxxx> wrote:
Le 02/05/2012 16:26, Márcia Henke a écrit :

"
Cannot run program "make": Launching failed

Error: Program "make" is not found in PATH

PATH=[C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~2\COMMON~1\ULEADS~1\MPEG;C:\Program Files\Intel\WiFi\bin\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\MinGW\bin;C:\MinGW\include;C:\MinGW\lib]

**** Build Finished ****
"

Hello,

As you have probably understood since you installed MinGW, the fortran compiler and make utility are not part of eclipse.
It seems that your installation of MinGW does not include "make.exe" in C:\MinGW\bin. How did you install MinGW ?
I do not know whether MinGW 32 bits and eclipse 64 bits can work together. Is that your case?
Alternatively you can install the fortran compiler + debugger + make, very easily from one of the versions found on http://www.equation.com/servlet/equation.cmd?fa=fortran (very up to date + 32 and 64 bits versions !)
--
Sincerely yours,

Michel DEVEL

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran