Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 Discussions

Problem converting from VS2008 to VS2013

Malcolm_C_
Beginner
687 Views

I've just installed visual studio 2013 and upgraded my intel visual fortran installation to the most current (2015 update).  I let VS upgrade the solution and project files of a number of my fortran-C mixed language solutions, all of which are fortran mains calling C libs (using VC compiler).  All compilations finished without fatal errors and the executables all run.  My problem is that when trying to run in debug mode I get the following error for all compiled solutions:  Unable to start program <c:\directory\solution_name_lib.lib> ... where directory is the directory containing the final executable and the C lib of the solution.  I've tried messing with the target directory properties of both fortran and C projects but to no avail.  Anyone got a clue?

Thanks

 

 

0 Kudos
4 Replies
Steven_L_Intel1
Employee
687 Views

Hmm, this does sound familiar. Let me look for the earlier reports of this, especially the properties not being correctly migrated.

0 Kudos
Steven_L_Intel1
Employee
687 Views

Would you please attach a zip of a sample project that has this problem? Do a Build > Clean first.

Do you have this problem with the sample solution I have attached here? If so, please attach the .vfproj file from this one after you have converted it.

0 Kudos
Malcolm_C_
Beginner
687 Views

Steve

I downloaded Fortran_Calls_C.zip from your last mail...converted it to vs2013 and it ran in debug mode (called from the DEBUG tab of Devenv) without a problem.

So the problem must be with how I've setup the solution on my side. Still clueless however.

Thanks again for the quick response,

Malcolm

 

 

0 Kudos
Steven_L_Intel1
Employee
687 Views

Please attach the .vfproj file from your Fortran project.

0 Kudos
Reply