Dear all,
I'm using Microsoft Visual Studio 2010 (MVS 2010) for compiling and debugging FORTRAN projects. I'm currently working on a project that was developed by a collaborator.
The project is composed of several Fortran (.f90) files containing the main program and sub-routines. It also make use of external modules (with the key-word "Use") which are given in the form of .mod and .o files (thus, already compiled). However, I don't have the source files of these modules.
However, I don't manage to build and generate the solution with MVS2010. The compiler does not recognise the modules and all the variables and procedures it contains by indicating "This module file was not generated by any release of this compiler". Yet, the .mod and .o files are present in the compilation directory. I have also saved these files in the "Debug" sub-foolder.
I'm not acustomed to use external modules. Is somebody able to explain me how to go about and solve my problem ? How can I indicate to the compiler that it must take into account the module files ?
Thank you very much by advance
Rémi
I'm using Microsoft Visual Studio 2010 (MVS 2010) for compiling and debugging FORTRAN projects. I'm currently working on a project that was developed by a collaborator.
The project is composed of several Fortran (.f90) files containing the main program and sub-routines. It also make use of external modules (with the key-word "Use") which are given in the form of .mod and .o files (thus, already compiled). However, I don't have the source files of these modules.
However, I don't manage to build and generate the solution with MVS2010. The compiler does not recognise the modules and all the variables and procedures it contains by indicating "This module file was not generated by any release of this compiler". Yet, the .mod and .o files are present in the compilation directory. I have also saved these files in the "Debug" sub-foolder.
I'm not acustomed to use external modules. Is somebody able to explain me how to go about and solve my problem ? How can I indicate to the compiler that it must take into account the module files ?
Thank you very much by advance
Rémi