In my project CustomMeshComponent is enabled but I cant include CustomMeshComponent.h because it cant find it.I tried several things like adding dependency string to Build.cs but it didnt work.
PrivateDependencyModuleNames.AddRange(new string] { "CustomMeshComponent" });
PrivateIncludePathModuleNames.AddRange(new string] { "CustomMeshComponent" });
It gives the following error
Error 1 error LNK1181: cannot open input file 'C:\Program Files\Unreal Engine\4.0\Engine\Plugins\Runtime\CustomMeshComponent\Intermediate/Build/Win64\Dynamic\UE4Editor\DebugGame\UE4Editor-CustomMeshComponent.lib' C:\Users\arkenthera\Documents\Unreal Projects\ProjectName\Intermediate\ProjectFiles\LINK
This is when I build with Debug Editor option.When I compile Debug Game,there’s no link error but still I cant access the header file.What should I do ?