[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [photran] Using and Install photran, MinGW and g95
|
CARRIE Laurent schrieb:
Thanks for your help, Hani
I tried yours step but in step 7 :
7. Choose (e.g.) "g95 make Makefile" and click the "Run" button. In
the Navigator/Fortran Projects frame you should see the "Makefile"
file in your project section.(After the first run of "g95 make
Makefile" it will appear in the root section of the External tools
submenu or toolbar icon for easy invocation)
I haven't any makefile in my Navigator/Fortran Projects.
You will see the Makefile only if you selected one of your (source)
files prior to invoke 'g95 make Makefile'. Otherwise the Makefile will
be made but stored somewhere else.
But , I have these messages :
Severity and Description Path Resource Location Creation Time Id
Error launching 'cygpath' command essai5 Unknown 1171528273671 15
Severity and Description Path Resource Location Creation Time Id
Invalid project path: Duplicate path entries. essai5 pathentry
1171528273982 16
Oops. I have no idea. Do you have Mingw _and_ Cygwin installed? Or did
you install Cygwin in the past and uninstalled it later? If yes and you
want to use MinGW primarily, alter your PATH environment variable. Make
sure that the "/bin" subdirectory beneath your MinGW installation comes
before Cygwin's "/bin" subdirectory in your PATH environment variable
(i.e. "PATH=%PATH%;C:\MINGW\BIN;C:\CYGWIN\BIN"). Please look at
<http://www.mingw.org/mingwfaq.shtml#faq-usingwithcygwin> for details.
Or if you uninstalled Cygwin in the past make sure that you remove all
remnant Cygwin environment variables.
I guess, that cmd.exe tried to invoke Cygwin-Perl and have problems
maybe. Another workaround could be to alter the content of the
"Argument" field of the "External Tools" dialog box in 'g95 make
Makefile' entry to:
/C "cd ${container_loc} && d:\msys\1.0\bin\perl d:\msys\1.0\bin\mkmf -t
d:\msys\1.0\bin\mkmf.g95 -p ${container_name}"
(full qualified Perl path).
Hope this helps.
Best regards,
Hani