Visual Studio, Intel Visual Fortran, and Visual C/C++ mixed-language compile -
With Windows Fortran Compiler v11 on Windows 7 x64, working with Visual Studio 2008 Pro.
I is an Intel Visual Fortran project set up with all foreign source files, I gradually want to replace all these sub-routines with C-C ++ (in fact the plus-bonus issue). Just click on the source file in Solution Explorer and add one to the "Add existing item" list. CPP or. C or cuda file ... but it never gets compiled. Thus any interface for the C code written in Fortran code always fails in the link phase.
How does one get mixed language projects like this? Google has failed me, and what I find is a description of the actual interface code, in which instructions for implementing the Visual Studio Build system are not given.
Thanks in advance.
A visual studio project can contain code elements from only one language C ++, CUDA and FORTRAN You must install a visual studio solution to mix. Then you are free to integrate many languages.
A useful guide for installing a CUDA multi-language VS 2010 solution can be found.
[This answer is collected from comments and added to the question list unused for the CUDA tag as a community wiki.]
Comments
Post a Comment