4.15 C++ Transition Guide

I am getting unresolved externals, because I include some landscape calls in my script:


CompilerResultsLog:Error: Error WorldMapMassImporter.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl FEdModeLandscape::SetCurrentToolMode(class FName,bool)" (?SetCurrentToolMode@FEdModeLandscape@@QEAAXVFName@@_N@Z) referenced in function "public: void __cdecl UWorldMapMassImporter::PopulateRoadSplines(void)" (?PopulateRoadSplines@UW
orldMapMassImporter@@QEAAXXZ)
CompilerResultsLog:Error: Error WorldMapMassImporter.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl FEdModeLandscape::SetCurrentTool(class FName)" (?SetCurrentTool@FEdModeLandscape@@QEAAXVFName@@@Z) referenced in function "public: void __cdecl UWorldMapMassImporter::PopulateRoadSplines(void)" (?PopulateRoadSplines@UWorldMapMassImpo
rter@@QEAAXXZ)
CompilerResultsLog:Error: Error E:\UnrealFantasyGit\UnrealFantasy\Binaries\Win64\UE4Editor-UnrealFantasy-3874.dll : fatal error LNK1120: 2 unresolved externals

But but but but, I have landscape included in build taget! :



        PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "UMG", "Slate", "SlateCore","AIModule","GameplayTasks", "Blutility", "UnrealEd", "ContentBrowser", "SlateCore", "LevelEditor", "ImageWrapper", "Landscape", "LandscapeEditor", "Foliage", "ViewportInteraction"});
        PrivateDependencyModuleNames.AddRange(new string] { "LandscapeEditor" });

What else I might be missing? Some other dependancy? Is there some alrogythm/proven way to track down what I am missing? I can not figure anything from that error I get.