- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use mvs2008+intel fortran 11 on Vista.
When I debug it shows that "Visual Studio cannot debug because the debug taget.....is missing". Please give me some advises. Thank you!
Note: My program runs well on Windows XP. However, all programs give the message like above in Vista.
When I debug it shows that "Visual Studio cannot debug because the debug taget.....is missing". Please give me some advises. Thank you!
Note: My program runs well on Windows XP. However, all programs give the message like above in Vista.
Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the project that is the "startup project" (shown in bold in the solution explorer) an executable project? Right click on the project and select Properties, then Debug. Is a target listed? Does the executable exist?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Is the project that is the "startup project" (shown in bold in the solution explorer) an executable project? Right click on the project and select Properties, then Debug. Is a target listed? Does the executable exist?
At first, thanks, Steve Lionel.
1. There is only one project in the solution explorer, so it is default as the "startup project".
2. right click -> properties -> then, Do you mean "Configuration: Debug" or "Debugging" or "Fortran: Debugging"?
3. I can't find the listed target and executable. Where are them?
Note: My mvs is 08 professional edition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First look at Configuration Properties > Debugging > Command. It shoud say $(TargetPath). Now under Linker > General look at OutputFile. It should say $(OutDir)$(ProjectName).exe Last look at Configuration Properties > General. OutputDirectory should say $(ConfigurationName). What this all means is that it will try to run an executable whose name is the name of your project, in the folder that is the configuration name (usually Debug or Release). Do you have an EXE in that folder? Did the project build successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
First look at Configuration Properties > Debugging > Command. It shoud say $(TargetPath). Now under Linker > General look at OutputFile. It should say $(OutDir)$(ProjectName).exe Last look at Configuration Properties > General. OutputDirectory should say $(ConfigurationName).
All the above right.
Quoting - Steve Lionel (Intel)
Do you have an EXE in that folder? Did the project build successfully?
No exe in the folder and itis not successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can't debug because there were errors during the build. You need to fix the errors and rebuild.
You may find my recent blog entry I've Come Here For An Argument useful reading, especially the section on Sequence Association.
You may find my recent blog entry I've Come Here For An Argument useful reading, especially the section on Sequence Association.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
You can't debug because there were errors during the build. You need to fix the errors and rebuild.
You may find my recent blog entry I've Come Here For An Argument useful reading, especially the section on Sequence Association.
You may find my recent blog entry I've Come Here For An Argument useful reading, especially the section on Sequence Association.
Yeah.
But the error message is not appear in my XP system, so I was confuesed.
Another question: How do I remove the message? (I mean the message don't display on the screen)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your XP system either has an old compiler or does not have generated interface checking enabled.
I don't understand your last question. To fix the error, make sure you do not pass a scalar, such as a constant 1, to an argument expecting an array. (That's the most common reason for this message, but there are others as I explained in my blog post.)
I don't understand your last question. To fix the error, make sure you do not pass a scalar, such as a constant 1, to an argument expecting an array. (That's the most common reason for this message, but there are others as I explained in my blog post.)

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