Hello,
I am using Intel Parallel Studio XE 2015 Update 7 Composer Edition for Windows to compile Fortran files with C-Files. I addition I have installed Visual Studio 2013 and Visual Studio 2015.
I have a solution opened in VS2015 which is a mixed Fortran/C-solution to generate a static lib file. The platform toolset of the C project is set to VS2013, but when I compile the Fortran project the /Qvc14 switch is set. How can I change to /Qvc12 to use VS2013 instead?
When I link that lib to other object files I get the error "LINK : fatal error LNK1104: cannot open file 'legacy_stdio_definitions.lib'". Using google I found out, that this happens when compiling with VS2015.
For testing purpose I added the fortran files to the C project and used the custom build tool setting to compile the fortran files. When doing so, I can link the resulting lib (combined Fortran/C-sources) successfully to my other projects. So I guess the Qvc switch is responsible for this error.
I read that I can change that setting by reinstalling the compiler. Is there another option to fix this without a reinstallation or is there an option in the properties window of the Fortran project which I didn't recognize yet?
Thank you very much!