Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Mixed language with Intel C++ and fortran and VS2010

$
0
0

I have successfully got a project going with VS2010 C/C++ and Intel Fortran thanks to help here but I want to compile essentially the same code on a second machine. This machine did not have VS C/C++ so we purchased Intel C/C++ and Intel Fortran. Both installed okay, but I am not having any luck getting the C++ into the fortran project at all. I can add the wrap.c to a fortran project, but it doesnt appear to get compiled. I cant create a C/C++ static library either when I have created a fortran solution.

Looking on web, it appears you have to have Visual Studio standalone before you can use Intel C/C++ inside it! I thought going all intel might reduce problems not increase them. Oh well. So... I could could presumably compile my c file from command line, but then what do I need to do in the VS fortran side to get this to link in? Do I have to create a static library from the command line as I do when Visual C/C++?


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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