Using C++ Plugin Modules
In order to include a plugin module to your .cpp file, you need to make some changes to the Build.cs file.
Right click on the Build.cs file and open it in a text editor. Your project Build.cs file can be found at:
{ProjectName}/Source/{ProjectName}/{ProjectName}.Build.cs
2. Add the module name to PublicDependencyModuleNames.