<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>cannot open afxres.h durring compilation</title>
  <link rel="self" href="https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=3231581&amp;threadId=3399311" />
  <subtitle>cannot open afxres.h durring compilation</subtitle>
  <id>https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=3231581&amp;threadId=3399311</id>
  <updated>2026-05-15T15:08:07Z</updated>
  <dc:date>2026-05-15T15:08:07Z</dc:date>
  <entry>
    <title>RE: cannot open afxres.h durring compilation</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3399316" />
    <author>
      <name>Renan Ribeiro</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3399316</id>
    <updated>2018-09-28T15:25:53Z</updated>
    <published>2018-09-28T15:25:53Z</published>
    <summary type="html">&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Just to help if someone have the same problem.&lt;/p&gt;
&lt;p&gt;I solved this just modifying the setup of Visual Studio (instaling
  MFC Microsoft Foundation Class). Take a look at &lt;a
    href="https://community.developers.thomsonreuters.com/questions/8225/fatal-error-rc1015-cannot-open-include-file-afxres.html"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-----&lt;/p&gt;
&lt;p&gt;
  &lt;cite&gt;The error seems to generate from ema project because it requires
    the header file from MFC. As far as I understand, visual studio 2015
    default setup does not install Visual C++ MFC package. Therefore you
    need to modify the Visual Studio 2015 setup and add the MFC .&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;cite&gt;Please close VS2015 and goto Control Panel-&amp;gt;Programs and
    Features-&amp;gt;Microsoft Visual Studio
    &amp;lt;Professional/Enterprise&amp;gt;-&amp;gt;Change-&amp;gt;Modify-&amp;gt;Add
    Microsoft Foundation Classes.&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;------&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Renan  &lt;/p&gt;</summary>
    <dc:creator>Renan Ribeiro</dc:creator>
    <dc:date>2018-09-28T15:25:53Z</dc:date>
  </entry>
  <entry>
    <title>cannot open afxres.h durring compilation</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3399310" />
    <author>
      <name>Sander Paekivi</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3399310</id>
    <updated>2016-06-02T11:44:32Z</updated>
    <published>2016-06-02T11:44:32Z</published>
    <summary type="html">Hello!&lt;br /&gt;&lt;br /&gt;Compiling the source code from tag 6118 and in the end i see 10 errors: &lt;br /&gt;&lt;br /&gt;Severity	Code	Description	Project	File	Line	Suppression State&lt;br /&gt;Error		fatal error RC1015: cannot open include file &amp;#39;afxres.h&amp;#39;.		C:\Deltares\Delf3D_Repository02\src\engines_gpl\waq\packages\delwaq1_version_number\include\version_number.rc	10	&lt;br /&gt;Error		fatal error RC1015: cannot open include file &amp;#39;afxres.h&amp;#39;.		C:\Deltares\Delf3D_Repository02\src\engines_gpl\waq\packages\delwaq2_version_number\include\version_number.rc	10	&lt;br /&gt;Error		fatal error RC1015: cannot open include file &amp;#39;afxres.h&amp;#39;.		C:\Deltares\Delf3D_Repository02\src\tools_gpl\mormerge\packages\mormerge_version_number\include\version_number.rc	10	&lt;br /&gt;Error		general error c101008d: Failed to write the updated manifest to the resource of file &amp;#34;C:\Deltares\Delf3D_Repository02\src\utils_gpl\morphology\lib\x64\Release\dynamic\morphology_proclib.dll&amp;#34;. The system cannot find the file specified.		mt.exe		&lt;br /&gt;Error	RC1015	cannot open include file &amp;#39;afxres.h&amp;#39;.	nefis_dll	C:\Deltares\Delf3D_Repository02\src\utils_lgpl\nefis\packages\nefis\include\nefis_version.rc	10	&lt;br /&gt;Error	RC1015	cannot open include file &amp;#39;afxres.h&amp;#39;.	kubint (tools_gpl\kubint\kubint)	C:\Deltares\Delf3D_Repository02\src\tools_gpl\kubint\packages\kubint_version_number\include\version_number.rc	10	&lt;br /&gt;Error	RC1015	cannot open include file &amp;#39;afxres.h&amp;#39;.	lint (tools_gpl\lint\lint)	C:\Deltares\Delf3D_Repository02\src\tools_gpl\lint\packages\lint_version_number\include\version_number.rc	10	&lt;br /&gt;Error	C1083	Cannot open source file: &amp;#39;src\vs_l.c&amp;#39;: No such file or directory	vs (tools_gpl\vs\vs)	C:\Deltares\Delf3D_Repository02\src\tools_gpl\vs\packages\vs\c1	1	&lt;br /&gt;Error	RC1015	cannot open include file &amp;#39;afxres.h&amp;#39;.	datsel (tools_gpl\datsel\datsel)	C:\Deltares\Delf3D_Repository02\src\tools_gpl\datsel\packages\datsel_version_number\include\version_number.rc	10	&lt;br /&gt;Error	C1083	Cannot open source file: &amp;#39;src\vs_y.c&amp;#39;: No such file or directory	vs (tools_gpl\vs\vs)	C:\Deltares\Delf3D_Repository02\src\tools_gpl\vs\packages\vs\c1	1	&lt;br /&gt; &lt;br /&gt;Where did i go wrong? I used the prepare_sln.py for VS 2015 and intel parallel studio 2016 update 1. &lt;br /&gt;&lt;br /&gt;All the best!&lt;br /&gt;Sander</summary>
    <dc:creator>Sander Paekivi</dc:creator>
    <dc:date>2016-06-02T11:44:32Z</dc:date>
  </entry>
</feed>
