I maintain several legacy Fortran programs, some of which have code going back to the '60s. We used Compaq Visual Fortran (CVF) for years to build the code as DOS console applications, but I've recently acquired Intel Visual Fortran (IVF) so that I can continue to maintain the code on 64-bit Windows 7.
I recently attempted to build the code using IVF for the first time, and I get no warnings or errors, and the final message is "Build succeeded", but I get no .exe file(s). It creates the designated folder (/Release or /Debug) and writes some log files there, but there is no .exe.
Any suggestions? I've tried looking through the project properties but haven't found anything obvious.
Some more details:
I'm running MS Visual Studio 2010 with Intel Parallel Studio XE 2013 on Windows 7. The Fortran code was recently updated to F90 standards.
The "Output File" entries under Properties|Linker are ".\Release\myProjectName.exe" and ".\Debug\myProjectName.exe" for the Release and Debug configurations, respectively. The folders get created when I build in either configuration.
The only files placed in them, however are:
myProjectName.lastbuildstate
myProjectName.log
myProjectName.write.1.tlog files
(in both .\Release and .\Debug folders)
plus the file myProjectName.vcxprojResolveAssemblyReference.cache
in \Debug.
I'm not sure what other settings might be relevant - if you'll name them, I'll check and post their values.
EDIT: It just dawned on me that not only am I getting no .exe files, I'm not getting any .obj files, either, so apparently my source files aren't being compiled at all (?).
UPDATE: I've tried selecting just one source file (from the Solution Explorer) and compiling it. I still get "build succeeded" (with no output file), but now I get this warning:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): warning MSB8018: No outputs specified for item "src\FALL.F90". Its custom build command will be skipped.
That's odd, no? Looking at the Properties for the source file, I see that under Configuration Properties|General|Item Type there is the entry, "Custom Build Tool" - is that right for a .F90 source file? Looking at the drop-down menu for that setting, I don't see any references to Fortran at all - should I see the Intel Visual Fortran compiler listed there or anywhere else?
[Note: under "Custom Build Tool" in the Properties there are no entries other than a generic one for "Description".]
Thanks!