4.5 Compiler errors on team's machine with same game source

#Private Include Paths In Build CS

Dear ZeJudge,

First of all, hii!!!

Have you tried rearranging your source folder structure

so that you have this

Source/YourProjectName/YourSlate/
put all your special Slate files here

then in your build cs:

  PrivateIncludePaths.AddRange(new string[] { 
            "YourProjectName/YourSlate"
	    });

I have had many problems compiling .h files for non UCLASS classes, I experienced them the most with my custom UI system that I made which is all pure C++ classes. The UBT gets highly confused by that somehow, buuut, if you use private include paths the UBT becomes very happy!

That’s what has worked for me in every case where I could not get .h files to compile in the right order / find each other.

:slight_smile: