I’m running into a C++ compilation error when building my Unreal Engine 5.5 project on one of my machines. The error is as follows:
error C7742: "Streamline::EStreamlineFeatureSupport": a forward enum declaration can only use an unqualified identifier
This occurs inside a plugin (StreamlineCore), and the problem appears during packaging or building for Windows. Strangely, the exact same project builds perfectly fine on another computer without any issues.
I’m wondering if anyone has encountered this error before, and if there’s a known workaround or fix for it?
Considering that the project works as intended in the other machine, the problem must be isolated to your current setup in your main computer. I would suggest double-checking your VS install, and ensuring that all elements are installed, and using the proper version for your UE build, as seen in the guide below:
As well, I would clear your project’s cache, via deleting Binaries, Intermediate, and .vs folders, then re-generating the files.
Heyo!
That’s because your toolchain is more recent than the one that’s expected by this plugin, so it actually catches a real c++ issue in the DLSS code.
You need to replace the places where you have:
enum class Streamline::EStreamlineFeatureSupport;
with:
namespace Streamline
{
enum class EStreamlineFeatureSupport;
}