SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)
http://srombauts.github.io/UEGitPlugin
MIT License
806 stars 165 forks source link

Clang compilation error #110

Closed knapsu closed 4 years ago

knapsu commented 4 years ago

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.

knapsu commented 4 years ago

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