UnrealHeaderTool: tons of errors

Hi.

I created a C++ class and deleted it from Visual Studio and from the Proejct directory too.
But, after I compile i get this:

I already tried re-generating Visual Studio project files, but it didn’t work.

How to solve? Thanks!

Also, the Class still lies in the C++ Classes folder

And i can’t delete it

In the project directory, richt click the .uproject file and go for the option “Generate Visual Studio Project files”. Do this while the editor is closed. That should fix the problem.

I already tried. That didn’t fix the problem :confused:

Sorry, just see that you wrote that you tried that indeed. Can you compile within Visual Studio?

I eventually solved by running the editor from VS

Hello gedarmial,

I’m glad to hear that you got this issue sorted out.

For future reference, whenever you see errors that are related to compilation that don’t make any sense, such as “OtherCompilationError(5)”, be sure to open the project in Visual Studio and compile. After doing so, if you get the same errors, check the Output log as it will give you a more detailed explanation of what went wrong.