SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)

Home Page:http://srombauts.github.io/UEGitPlugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clang compilation error

knapsu opened this issue · comments

The compilation with LLVM/Clang 8.0.0 fails with the following message:

In file included from C:\Work\MyGame\Unreal\Engine\Plugins\UE4PlasticPlugin\Intermediate\Build\Win64\UE4Editor\Development\XmlParser2\Module.XmlParser2.cpp:2:
  C:\Work\MyGame\Unreal\Engine\Plugins\UE4PlasticPlugin\Source\XmlParser2\Private\XmlFile.cpp(48,35): error : use of undeclared identifier 'IFileManager'
                  TUniquePtr<FArchive> FileReader(IFileManager::Get().CreateFileReader(*InFile));
                                                  ^
  C:\Work\MyGame\Unreal\Engine\Plugins\UE4PlasticPlugin\Source\XmlParser2\Private\XmlFile.cpp(161,31): error : use of undeclared identifier 'IFileManager'
          TUniquePtr<FArchive> Archive(IFileManager::Get().CreateFileWriter(*Path));
                                       ^
  2 errors generated.

The problem is caused by the missing #include "HAL/FileManager.h" in Source/XmlParser2/Private/XmlFile.cpp.

Sorry. This bug report was reported in the wrong project. It is for UE4PlasticPlugin.