Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Problem with Visual Studio for Interoperate Fortran code and C code

$
0
0

Hello to everybody,

I have to interoperate a C code with  a Fortran Code, under Visual Studio 2010 with Intel Fortran 

and Intel C/C++.

As suggested inside this forum I create 2 projects; 1 for Fortran and another

for C.

Furthermore I create a static library with the C project.

In the Fotran code I made all is nedded like ISO BIND(C) , subroutine, interface ....

and I add the C static librairy.

Everyting is compiled rigth (see the trouble I had in my last posted),

suppress all Fortran compiled trouble; but at the end it's work if there is only the C code.

Normally the Fortran code should "drive" the whole programm.

 

Thanks in advance for any help.

Sheers.

Best Regards.

       

 

 

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>