Prior to my studio’s upgrade to 5.7, I had a standalone UE-based program that compiled just fine. Now I always get the errors shown below.
Posting here for a compiler/linker error seems really lame (and incompetent on my part), but in this case, the error is so insidious, that I’ve all but given up. The error has almost no context and is inside of a generated .cpp file. I’m also pretty sure that it can be reproduced easily just by copying the BlankProgram template and renaming it. Why on earth the BlankProgram template still compiles is beyond me. When I copy and rename it into my own project’s directory tree, it just doesn’t compile. I get the errors shown below.
1>------ Building 8 action(s) started ------
1>[1/8] Compile [x64] Module.BuildSettings.cpp
1>[2/8] Link [x64] PatchAnalyzer-BuildSettings.lib
1> Creating library D:/EVE/catalyst/main/Catalyst/Intermediate/Build/Win64/x64/PatchAnalyzer/Development/BuildSettings/PatchAnalyzer-BuildSettings.lib and object D:/EVE/catalyst/main/Catalyst/Intermediate/Build/Win64/x64/PatchAnalyzer/Development/BuildSettings/PatchAnalyzer-BuildSettings.exp
1>[3/8] Link [x64] PatchAnalyzer-BuildSettings.dll
1>[4/8] Compile [x64] PerModuleInline.gen.cpp
1>D:\EVE\catalyst\main\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl(25,24): error C2039: ‘Open’: is not a member of ‘AutoRTFM’
1> void* Ptr = AutoRTFM::Open([Count, Alignment]
1> ^
1>D:\EVE\catalyst\main\Engine\Source\Runtime\AutoRTFM\Public\AutoRTFMTask.h(11,11): note: see declaration of ‘AutoRTFM’
1>namespace AutoRTFM
1> ^
1>D:\EVE\catalyst\main\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl(25,24): error C3861: ‘Open’: identifier not found
1> void* Ptr = AutoRTFM::Open([Count, Alignment]
1> ^
1>D:\EVE\catalyst\main\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl(46,12): error C2039: ‘OnAbort’: is not a member of ‘AutoRTFM’
1> AutoRTFM::OnAbort([Ptr]
1> ^
1>D:\EVE\catalyst\main\Engine\Source\Runtime\AutoRTFM\Public\AutoRTFMTask.h(11,11): note: see declaration of ‘AutoRTFM’
1>namespace AutoRTFM
1> ^
1>D:\EVE\catalyst\main\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl(46,12): error C3861: ‘OnAbort’: identifier not found
1> AutoRTFM::OnAbort([Ptr]
1> ^
1>D:\EVE\catalyst\main\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl(53,19): error C2039: ‘DidAllocate’: is not a member of ‘AutoRTFM’
1> return AutoRTFM::DidAllocate(Ptr, Count);
Further down, I also get…
D:\EVE\catalyst\main\Engine\Source\Runtime\Core\Public\Algo\StableSort.h(23,33): error C2039: ‘UpperBoundInternal’: is not a member of ‘AlgoImpl’
I’ll try turning on the header include tracing.
[Attachment Removed]