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

compiling and linking resource file in VS2017

Chris_H_3
Beginner
349 Views

Does anyone know how to set the option to compile the *.rc file when building a windows application within VS2017 and link it to the fortran object files?  My set up of VS2017 is doing everything but compiling the rc file.

0 Kudos
2 Replies
Steve_Lionel
Honored Contributor III
349 Views

The usual cause for this is the wrong association for .rc files. Try this:

  1. Click on the Windows Search menu and type in regedit . When Registry Editor appears, click it to open.
  2. Find HKEY_CLASSES_ROOT > .rc
  3. Look at the value of (Default). It should be something like "VisualStudio.rc.14.0" (the number indicates the VS version. If it is something else, such as Text File, right click on the .rc in the left column, then click Delete, exit the registry editor and do a Repair of Visual Studio (and maybe Intel Parallel Studio). This should fix it.

If it is already a correct value, you might try deleting and doing the repair anyway.

0 Kudos
Chris_H_3
Beginner
349 Views

It worked!  Thank you, Steve.  Happy Christmas!

 

0 Kudos
Reply