- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been trying to find a basic intro/tutorial to using IVF + Visual Studio IDE. It seems the online documentation covers each of the Fortran languageand Visual Studio all well and good. But there is not a simple example walking you through a simple application from the ground up.
I was a moderate developer in Compaq VF about 10 years ago. I recently needed to go back and get some old code running again and it seemed about the only commercial compiler available was IVF. So I installed IVF Version 10.0.3 running in the MS Visual Studio 2005 IDE which came with it. My laptop is running Vista.
I have built a new Console project, added my 'HelloWorld.f90' file and would like to compile an EXE and/or run it from within the IDE. When I select Build/Rebuild etc., it says that it has 1 success, 0 failures, 0 skipped. But I don't find an .exe in my directory. If I try to set a breakpoint and step into it, it says the .exe cannot be found.
Is there a tutorial available geared that steps through this? I think I just need to get through the basics phase of understanding how the IVF+Visual Studio IDE work.....
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There have been recent reports of virus scanners immediately deleting any new .exe files as they are created. Is this possible on your machine?
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks very much for your replies. My suspicion is that is that this must be something very simple and/or perhaps my ignorance is even greater than I realized.
I attempted to go down the path suggested. Under Project Properties, I select Linker - General - Output and hard enter both the path and file name: 'C:\Work\Whatever.Exp'. Rebuilding the project or solution (not quite sure of the difference) seems to again report '1 succeeded, 0 failures, etc.' in theOutputwindowand log file. But no *.exp file is to be found in my directory. If I now try to step into the code to my breakpoint, the IDE says "Visual Studio cannot debug because the debug target 'C:\Work\helloworld.exp' is not an EXE file."
Is the right place to attempt the work around?
I am running Kaspersky antivirus but it does not show any events other than todays automatic updates. No files quarantined or other indication that it exterminated my output files. It is setup to question me for any new program seeking to take control and execute.
Finally, I am running Vista as the Administrator and I am right-clicking to run Visual Studio as Administrator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See if there is a "Whatever.exp" file there. If so, rename it to "Helloworld.exe". Otherwise, if you find a file "Helloworld.exp", rename it to "Helloworld.exe".
Observe whether your antivirus program does anything with it.
If not, go back and try to debug in VisualStudio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But in the process I realize now what has happened. I was pulling in my.f90 file and/or creating one in the IDE and so I could view my code and even put in a breakpoint. BUT .... I did not go over to the 'Solution Explorer' window and right click on 'Source Files' and 'Add Item' to officially include the source file in my project. This was a bit non-obvious for a rusty programmer like me!
As I said, it might have helped to have a tutorial on building a simple from scratch. The documentation focuses on pulling in a pre-existing project.
I've attached two files v.3 and v.4 just for grins ....since you went the extra mile to ask, Steve. Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
However, you are one of many who have asked for more tutorial information, and we are working on that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page