Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

resource.fd not updated during build

bcommander
Beginner
585 Views
I recently upgraded from the CVF toIVF-12.1 and VS2008. I'm having troubles rebuilding QWin fortran programs with dialog boxes. I've discovered that the 'resource.fd' file is not being updated. I manually recreated the file from the 'resource.h' header file, which solved the problem but its a bit of a pain. Apparently there isutility calleddeftofd.exe that converts 'resource.h' to 'resource.fd' and I assume it should be called during the build process. Can anyone help me implement this in my build configuration? I'm not sure where it should go or the syntax. Thanks, Brett
0 Kudos
2 Replies
Steven_L_Intel1
Employee
585 Views
a. Add Resource.h to your project using File>Add Existing Item....
b. Select the Resource.h file in the Solution View and the select View>Property Pages from the main menu
bar.
c. 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.)
d. Set the Description option to Generating Fortran include file...
e. Set the Outputs option to resource.fd.
f. Click OK.

For more information, see Using Intel Visual Fortran to Create and Build Windows*-Based Applications
0 Kudos
bcommander
Beginner
585 Views
That did it. Thank you!
0 Kudos
Reply