I cannot add a based landscape class that derives it’s parent from the main landscape class.
I want to have access to the landscape module so I want to have a landscape tyoe of class.
So here is an image, it’s possible to create.
Why is it possible to add if it does not work ?
They say landscape and landscape proxy are classes with minimal api support ?
Is there no way to get access to landscape module API with any class ?
When the class is created the class does not validate and throws multiple errors.
I looked around, added it to the build.cs module, some said to do that because it does not know about the landscape module.
PrivateDependencyModuleNames.AddRange(new string {
“OnlineSubsystem”,
“OnlineSubsystemUtils”,
“Landscape”,
“LandscapeEditor”,
“Steamworks”});
Could I do the same with a regular AActor class(MyActor) basic type of class, does it have access to the Landscape module ?
Here are the errors, to note the class has no code in it added, it’s blank, so I haven’t added anything. It generates errors uppon trying to create the class after it finishes it gives these errors.
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2019: unresolved external symbol “public: __cdecl ALandscapeProxy::ALandscapeProxy(class FObjectInitializer const &)” (??0ALandscapeProxy@@QEAA@AEBVFObjectInitializer@@@Z) referenced in function “public: __cdecl AMyLand::AMyLand(class FObjectInitializer const &)” (??0AMyLand@@QEAA@AEBVFObjectInitializer@
@@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: __cdecl ALandscapeProxy::ALandscapeProxy(class FObjectInitializer const &)” (??0ALandscapeProxy@@QEAA@AEBVFObjectInitializer@@@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2019: unresolved external symbol “public: virtual __cdecl ALandscapeProxy::~ALandscapeProxy(void)” (??1ALandscapeProxy@@UEAA@XZ) referenced in function “public: virtual __cdecl AMyLand::~AMyLand(void)” (??1AMyLand@@UEAA@XZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual __cdecl ALandscapeProxy::~ALandscapeProxy(void)” (??1ALandscapeProxy@@UEAA@XZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeLODDistanceFactor(float)” (?ChangeLODDistanceFactor@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeLODDistanceFactor(float)” (?ChangeLODDistanceFactor@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeTessellationComponentScreenSize(float)” (?ChangeTessellationComponentScreenSize@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeTessellationComponentScreenSize(float)” (?ChangeTessellationComponentScreenSize@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeComponentScreenSizeToUseSubSections(float)” (?ChangeComponentScreenSizeToUseSubSections@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeComponentScreenSizeToUseSubSections(float)” (?ChangeComponentScreenSizeToUseSubSections@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeUseTessellationComponentScreenSizeFalloff(bool)” (?ChangeUseTessellationComponentScreenSizeFalloff@ALandscapeProxy@@UEAAX_N@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeUseTessellationComponentScreenSizeFalloff(bool)” (?ChangeUseTessellationComponentScreenSizeFalloff@ALandscapeProxy@@UEAAX_N@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeTessellationComponentScreenSizeFalloff(float)” (?ChangeTessellationComponentScreenSizeFalloff@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::ChangeTessellationComponentScreenSizeFalloff(float)” (?ChangeTessellationComponentScreenSizeFalloff@ALandscapeProxy@@UEAAXM@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostRegisterAllComponents(void)” (?PostRegisterAllComponents@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostRegisterAllComponents(void)” (?PostRegisterAllComponents@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::UnregisterAllComponents(bool)” (?UnregisterAllComponents@ALandscapeProxy@@UEAAX_N@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::UnregisterAllComponents(bool)” (?UnregisterAllComponents@ALandscapeProxy@@UEAAX_N@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::BeginDestroy(void)” (?BeginDestroy@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::BeginDestroy(void)” (?BeginDestroy@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl ALandscapeProxy::IsReadyForFinishDestroy(void)” (?IsReadyForFinishDestroy@ALandscapeProxy@@UEAA_NXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl ALandscapeProxy::IsReadyForFinishDestroy(void)” (?IsReadyForFinishDestroy@ALandscapeProxy@@UEAA_NXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::FinishDestroy(void)” (?FinishDestroy@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::FinishDestroy(void)” (?FinishDestroy@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::Destroyed(void)” (?Destroyed@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::Destroyed(void)” (?Destroyed@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::EditorApplyScale(struct FVector const &,struct FVector const *,bool,bool,bool)” (?EditorApplyScale@ALandscapeProxy@@UEAAXAEBUFVector@@PEBU2@_N22@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::EditorApplyScale(struct FVector const &,struct FVector const *,bool,bool,bool)” (?EditorApplyScale@ALandscapeProxy@@UEAAXAEBUFVector@@PEBU2@_N22@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::EditorApplyMirror(struct FVector const &,struct FVector const &)” (?EditorApplyMirror@ALandscapeProxy@@UEAAXAEBUFVector@@anonymous_user_f2147170@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::EditorApplyMirror(struct FVector const &,struct FVector const &)” (?EditorApplyMirror@ALandscapeProxy@@UEAAXAEBUFVector@@anonymous_user_f2147170@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostEditMove(bool)” (?PostEditMove@ALandscapeProxy@@UEAAX_N@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostEditMove(bool)” (?PostEditMove@ALandscapeProxy@@UEAAX_N@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl ALandscapeProxy::ShouldImport(class FString *,bool)” (?ShouldImport@ALandscapeProxy@@UEAA_NPEAVFString@@_N@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl ALandscapeProxy::ShouldImport(class FString *,bool)” (?ShouldImport@ALandscapeProxy@@UEAA_NPEAVFString@@_N@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl ALandscapeProxy::ShouldExport(void)” (?ShouldExport@ALandscapeProxy@@UEAA_NXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl ALandscapeProxy::ShouldExport(void)” (?ShouldExport@ALandscapeProxy@@UEAA_NXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::TickActor(float,enum ELevelTick,struct FActorTickFunction &)” (?TickActor@ALandscapeProxy@@UEAAXMW4ELevelTick@@AEAUFActorTickFunction@@@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::TickActor(float,enum ELevelTick,struct FActorTickFunction &)” (?TickActor@ALandscapeProxy@@UEAAXMW4ELevelTick@@AEAUFActorTickFunction@@@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl ALandscapeProxy::ShouldTickIfViewportsOnly(void)const " (?ShouldTickIfViewportsOnly@ALandscapeProxy@@UEBA_NXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl ALandscapeProxy::ShouldTickIfViewportsOnly(void)const " (?ShouldTickIfViewportsOnly@ALandscapeProxy@@UEBA_NXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PreSave(class ITargetPlatform const *)” (?PreSave@ALandscapeProxy@@UEAAXPEBVITargetPlatform@@@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PreSave(class ITargetPlatform const *)” (?PreSave@ALandscapeProxy@@UEAAXPEBVITargetPlatform@@@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::Serialize(class FArchive &)” (?Serialize@ALandscapeProxy@@UEAAXAEAVFArchive@@@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::Serialize(class FArchive &)” (?Serialize@ALandscapeProxy@@UEAAXAEAVFArchive@@@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostLoad(void)” (?PostLoad@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostLoad(void)” (?PostLoad@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostEditChangeProperty(struct FPropertyChangedEvent &)” (?PostEditChangeProperty@ALandscapeProxy@@UEAAXAEAUFPropertyChangedEvent@@@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostEditChangeProperty(struct FPropertyChangedEvent &)” (?PostEditChangeProperty@ALandscapeProxy@@UEAAXAEAUFPropertyChangedEvent@@@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostEditImport(void)” (?PostEditImport@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol “public: virtual void __cdecl ALandscapeProxy::PostEditImport(void)” (?PostEditImport@ALandscapeProxy@@UEAAXXZ)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class UMaterialInterface * __cdecl ALandscapeProxy::GetLandscapeMaterial(signed char)const " (?GetLandscapeMaterial@ALandscapeProxy@@UEBAPEAVUMaterialInterface@@anonymous_user_8f9fda6f@Z)
CompilerResultsLog: Error: MyLand.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class UMaterialInterface * __cdecl ALandscapeProxy::GetLandscapeMaterial(signed char)const " (?GetLandscapeMaterial@ALandscapeProxy@@UEBAPEAVUMaterialInterface@@anonymous_user_8f9fda6f@Z)
CompilerResultsLog: Error: MyLand.cpp.obj : error LNK2001: unresolved external symbol