getsetgames/BlueprintReflection

Include order issue on compilation

Derjyn opened this issue · 1 comments

Title says it all.

Severity	Code	Description	Project	File	Line	Suppression State
Error		All source files in module "BlueprintReflectionPlugin" must include the same precompiled header first.  Currently "..\PluginDev\Plugins\BlueprintReflection\Source\BlueprintReflectionPlugin\Classes\BlueprintReflectionFunctions.h" is included by most of the source files.  The following source files are not including "..\PluginDev\Plugins\BlueprintReflection\Source\BlueprintReflectionPlugin\Classes\BlueprintReflectionFunctions.h" as their first include:	PluginDev	..\PluginDev\Intermediate\ProjectFiles\UnrealBuildTool	1	

adding #include "BlueprintReflectionFunctions.h" to Source/Private/BlueprintReflectionPlugin.cpp fixed this for me