Error LNK2019 FViewMatrices

It’s related to Engine and you need to do in the source file #include "SceneView.h"

Hey I have an error that I cannot deal with, I guess it’s connected with PublicDependencyModuleNames but I cannot find out which Module it’s related to, can anyone maybe help me? Thanks! :slight_smile:

12>CustomFOVSkeletalMeshComponent.cpp.obj : error LNK2019: unresolved external symbol “public: __cdecl FViewMatrices::FViewMatrices(struct FSceneViewInitOptions const &)” (??0FViewMatrices@@QEAA@AEBUFSceneViewInitOptions@@@Z) referenced in function "public: void __cdecl UCustomFOVSkeletalMeshComponent::GetViewMatrices(struct FMatrix &,struct FMatrix &)const " (?GetViewMatrices@UCustomFOVSkeletalMeshComponent@@QEBAXAEAUFMatrix@@0@Z)
12>CustomFOVStaticMeshComponent.cpp.obj : error LNK2001: unresolved external symbol “public: __cdecl FViewMatrices::FViewMatrices(struct FSceneViewInitOptions const &)” (??0FViewMatrices@@QEAA@AEBUFSceneViewInitOptions@@@Z)
12>C:\Astro\Astro2\Game\Binaries\Win64\UE4Editor-Astro2.dll : fatal error LNK1120: 1 unresolved externals
12>ERROR : UBT error : Failed to produce item: C:\Astro\Astro2\Game\Binaries\Win64\UE4Editor-Astro2.dll