Visual Studio fatal error C1083: Cannot open include file: 'LandscapeLayerInfoObject.h': No such file or directory

Hi,

I’ve been trying to build the github version of UE4, I’m using visual studio community 2013.

Unfortunately I get this error, after whitch the build breaks: >c:\unrealengine\engine\source\developer\assettools\private\AssetTypeActions/AssetTypeActions_LandscapeLayer.h(5): fatal error C1083: Cannot open include file: ‘LandscapeLayerInfoObject.h’: No such file or directory

Even though I can see LandscapeLayerInfoObject.h under Source\runtime\landscape\classes

Any assistance to solve this problem will be really apprecciated.

UPDATE

So I tried to change the line

#include "LandscapeLayerInfoObject.h"  

in

#include "../Source/Runtime/Landscape/Classes/LandscapeLayerInfoObject.h"

But then I get this other error:

C:\UnrealEngine\Engine\Source../Source/Runtime/Landscape/Classes/LandscapeLayerInfoObject.h(4): fatal error C1083: Cannot open include file: ‘LandscapeLayerInfoObject.generated.h’: No such file or directory

So again I tried typing the full address in the include command…:

#include "c:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Landscape\LandscapeLayerInfoObject.generated.h"

And finally got these other errors…

2> Parsing headers for UE4Editor
2> Running UnrealHeaderTool UE4Editor “C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest” -LogCmds=“loginit warning, logexit warning, logdatabase error”
2> C:/UnrealEngine/Engine/Source/Runtime/Landscape/Classes/LandscapeLayerInfoObject.h(39) : Expected an include at the top of the header: ‘include “LandscapeLayerInfoObject.generated.h”’
2>Error : Failed to generate code for UE4Editor - error code: OtherCompilationError (5)
2> UnrealHeaderTool failed for target ‘UE4Editor’ (platform: Win64, module info: C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex” exited with code -1.

Any hints? Thank you

I have the same one if you found a way to resolve it please tell us