Ide E2209无法打开包含文件';System.Internal.StrHlpr.hpp';

Ide E2209无法打开包含文件';System.Internal.StrHlpr.hpp';,ide,c++builder,Ide,C++builder,我正在Windows 10上运行Embarcadero RAD Studio 10.1 Berlin Update 2 我的IDE环境昨天运行良好。我使用IDE成功编译和构建。在运行和调试项目之前,我的正常操作是编译两个库,然后构建可执行文件。完成后,我将运行可执行文件以检查功能和调试等 今天早上,我像往常一样编译了我的库,我收到了以下错误: [bcc32 Error] dstring.h(17): E2209 Unable to open include file 'System.Intern

我正在Windows 10上运行Embarcadero RAD Studio 10.1 Berlin Update 2

我的IDE环境昨天运行良好。我使用IDE成功编译和构建。在运行和调试项目之前,我的正常操作是编译两个库,然后构建可执行文件。完成后,我将运行可执行文件以检查功能和调试等

今天早上,我像往常一样编译了我的库,我收到了以下错误:

[bcc32 Error] dstring.h(17): E2209 Unable to open include file 'System.Internal.StrHlpr.hpp'
  Full parser context
    File.cpp(2): #include c:\program files (x86)\embarcadero\studio\18.0\include\windows\vcl\vcl.h
    vcl.h(10): #include c:\program files (x86)\embarcadero\studio\18.0\include\windows\vcl\basepch0.h
    basepch0.h(62): #include c:\program files (x86)\embarcadero\studio\18.0\include\windows\rtl\System.hpp
    System.hpp(1599): #include c:\program files (x86)\embarcadero\studio\18.0\include\windows\rtl\sysclass.h
    sysclass.h(46): #include c:\program files (x86)\embarcadero\studio\18.0\include\windows\rtl\dstring.h
我已确保本地源代码和版本控制中不存在任何挂起的更改

我尝试过清理、重新编译和重建

我的电脑今天早上确实运行了Windows更新。安装了以下两个:

  • 用于基于x64的系统(KB4015438)的Windows 10版本1607的累积更新
  • Microsoft Outlook 2013(KB3141495)32位版本的更新
我还检查了以下引用路径中的文件:
C:\ProgramFiles(x86)\Embarcadero\Studio\18.0\include\windows\rtl
文件日期似乎并不表明最近对位于rltl文件夹中的这些文件进行了任何更改

我也试着重新启动我的电脑


什么会导致类似的情况发生?我将如何解决此问题?

System.Internal.StrHlpr.hpp
在最初安装RAD Studio Berlin 10.1 Update 2时包含在运行库文件中


通过再次运行RAD Studio安装程序并在此过程中单击“修复安装”,将恢复此丢失的文件,并且可以在
rtl
文件夹中再次找到该文件:
C:\Program Files(x86)\Embarcadero\Studio\18.0\include\windows\rtl\
允许成功编译和构建。

您的硬盘上IDE的搜索路径中是否存在
System.Internal.StrHlpr.hpp
?您是否尝试过使用类似于查看编译器查找文件的确切位置的工具?@RemyLebeau感谢您使用该工具。使用上述工具,编译器似乎正在搜索文件的几个包含路径。所有结果均为“未找到名称”。使用Notepad++并搜索所有源代码,其他文件似乎也在查找
System.Internal.StrHlpr.hpp
文件。我认为文件应该存在于以下位置:
c:\ProgramFiles(x86)\embarcadero\studio\18.0\include\windows\rtl\System.Internal.StrHlpr.hpp
。我还不知道这个文件是怎么回事?我想知道:修复RAD Studio会重新创建该文件吗?这是最好的选择吗?@RemyLebeau;为进一步澄清,否,该文件不存在。(我猜它昨天确实存在。)它应该存在于
$(BDS)\include\windows\rtl
$(BDS)\include\osx\rtl
文件夹中。如果没有,请尝试修复安装。@RemyLebeau感谢您的输入;修复RAD Studio安装解决了该问题。仍然不确定是什么原因导致了这种情况,因为这不是新安装。