I want to use the RFortran library to call R functions from my FORTRAN program. I use the Microsoft Visual Studio 2010 with Inter Visual Fortran compiler.When I try to insert RFortran commands in my Fortran code, I yield the following error:
"LNK2019: unresolved external symbol _RFORTRAN_RINIT_RCLOSE_mp_RINIT refercended in function _MAIN_". Trying to solve this problem, I followed the online recommendation and attempted to insert the source code directly into my project, but I then yield 2 kinds of warnings:
1) "D:\Program Files\RFortran\src\core\inc_1-3D_Rget.f90(97): warning #7025: This directive is not standard F2003." associated with !DEC$ IF loops
2) "D:\Program Files\RFortran\src\core\inc_1-3D_Rput.f90(50): warning #7416: Fortran 2003 does not allow this intrinsic procedure. [LOC]" associated with the loc procedure
and finaly 2 errors of this kind
"1>fortcom: Fatal: There has been an internal compiler error (C0000005).
1>compilation aborted for D:\Program Files\RFortran\src\core\RFortran_Rput_Rget_Reval_Rcall.F90 (code 1)" aborted the compilation.
I cannot figure out how to solve my problem. Hope someone will be able to give me a hint.
Thank you very much!