Did you include the modules for it?
In YourProjectName.Build.cs
PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "PhysX", "APEX"});
If it do not solve the issue, please post the error messages you are getting.