- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just upgraded from CVF to intel visual fortran. The project compiles and runs after some minor changes.
One problem I noticed is that there is no "external dependencies" folder for each project in solution explorer. In visual studio 6, I can quickly find a include files like *.i and *.fi files in "external dependencies" folder. I added *.i to Fotran File Extensions, but it makes no difference. The head files folder is also empty. Did i do something wrong?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, you didn't do anything wrong. Intel Fortran does not create such a folder in the project. You can create your own and add files to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isn't there a way (or macro) to do this automatically? I've lots of ressource files which are included in one main ressource file (which is generated by a program) because only one ressource file can be added to the project. Now I'm looking for a quick way to edit these files in VS (like in CVF where the files resides in "external dependencies").
The next problem is that no fd file is created after changing such an included ressource file. Does someone know an easy way to call the needed deftofd automatically for such an includes resource file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Depending on how you created your project, deftofd should be called automatically. If not, you need to add a build action as described in the documentation.
- When you save your resource file for the first time, the resource editor also creates a Resource.h file. This file is included by the .RC file. To create the Fortran equivalent of this file (resource.fd), do the following:
- Add Resource.h to your project using File>Add Existing Item....
- Select the Resource.h file in the Solution View and the select View>Property Pages from the main menu bar.
- Set the Command Line option to use the deftofd tool by entering:
deftofd resource.h resource.fd
(For more information on the deftofd tool, see The Include (.FD and .H) Files.) - Set the Description option to Generating Fortran include file...
- Set the Outputs option to resource.fd.
- Click OK.

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