How to properly #include classes from the engine?

I’m trying to reference a core PCG related class in my code, but if I add the following include it can’t find it:

#include "PCGPoint.h"

I’m confused as to how this project is able to successfully reference core engine classes like this?

Has that project done something special to make it possible?

You need to add “PCG” module to the Dependencies in your build.cs file

You can see it here in the project you linked :

Thanks for this, I have added “PCG” to the list of PublicDependencyModuleNames in the Build.cs, however I’ve yet to see any change in the result.

I’ve tried building and rebuilding, is there something I need to do to get it to load all the module files?

I was hoping to see them appear in the ‘External Dependencies’ folder, but this is not the case yet