Compile Error

Hi i have a problem with my c++ game code, i rewriting BP prototype to C++ and i have some wired errors when i try compile code i hope for fast help and thanx for all.

The errors are because the compiler are trying to resolve a symbol that belongs to the Slate module. So the solution is to add Slate in your build.cs

    PublicDependencyModuleNames.AddRange(new string[] { 
                ... 
        	"Slate", 
        	"SlateCore", 
                ...
    }

and include at least SlateBasics.h in your project header file. If you are using UMG, just include UMG.h because both SlateBasics.h and SlateCore.h has been included in UMG.h