Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Not finding resource.fd

radombro
Beginner
419 Views
Question from a novice: In the attempt to build my first QuickWin program I am having trouble with compile error: cannot locate resource.fd. I created the resource script and found that the resource.fd file was located in the workspace directory. I added resource.fd to my project and built without success. Thanks for any help in advance for a struggling beginner.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
419 Views
I assume that your QuickWin program has dialogs? That's what would trigger the creation of a resource.fd file.

resource.fd is an INCLUDE file - by default, these are looked for in the same folder as the source that has the INCLUDE line. If your source is somewhere else, you can add the path to where the resource.fd is found under Project..Settings..Fortran..Preprocessor..INCLUDE/USE paths. Probably a path of . would do it, since the resource compiler puts this in the project folder by default.

Note that adding the file to the project accomplishes nothing - this is only for files that are compiled or linked directly.

Steve
0 Kudos
Reply