|How to build a Fortran project ??? [message #1708041]
||Fri, 11 September 2015 16:35
| Julien Colin
Registered: September 2015
Sorry, I am not a expert. I don't find my answer on this forum and Internet or maybe I don't understand these answers.
I developed a Fortran program on Windows through an old IDE: Compact Visual Fortran.
I am now a Mac user and I want to develop and run my program thanks to Eclipse. But I haven't succeed yet.
I used this tutorial for installation:
- I updated my Java Virtual Machine (1.8)
- I installed Gfortran
- I didn't understand how to install or use the make program (GNU make). I don't know which file to download (make-4.1.tar.bz2 or .bz2.sig or .gz or .gz.sig) and I don't know what to do after downloading. However, Xcode Command Line Tools are installed on my Mac.
- I installed Eclipse for Parallel Application Developpers 4.5.0.
My program is split into three files:
*Modules.f90* which contains:
End Module Modul
*Subroutines.f90* which contains:
End Subroutine Sub1
End Subroutine Sub2
End Subroutine SubN
*Main_program.f90* which contains:
When I click on the button "Build 'Debug' for project 'name_of_my_project'", a problem occurs:
'Build Project' has encountered a problem. An internal error occurred during: "Build Project".
Could not find a file to match the module name: Modul
For sure, my program works: I can build the project and run my program when I copy all the content of Modules.f90 and Subroutines.f90 into Main_program.f90.
To my mind, Eclipse doesn't link together the source files of the program and I don't now how to do it.
I have looked for a solution for two weeks...
Could anyone help me by explaining how to do step by step?
Sorry: maybe my question is stupid.
Thanks a lot for your answers.
Powered by FUDForum
. Page generated in 0.03523 seconds