AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

LandScapeMountain build error in vs2017 [windows]

Open ConnLiu opened this issue 7 years ago • 7 comments

I am following the steps from https://github.com/Microsoft/AirSim/blob/master/docs/unreal_custenv.md But when I build the project in VS2017, it cames that

Error Engine module 'Engine\Source\Runtime\Engine\Engine.Build.cs' should not depend on game module 'LandScape\Source\LandScape\LandScape.Build.cs' LandScape D:\Projects\Unreal\LandScape\Intermediate\ProjectFiles\EXEC 1

PS: I am using window10, UE4.18's Environment (LandScapeMountain) and VS2017 Thanks for replying in advance!

ConnLiu avatar Dec 06 '18 08:12 ConnLiu

And it happens when I am doing the step 9, which is "Press F5 to run. This will start the Unreal Editor. " (in https://github.com/Microsoft/AirSim/blob/master/docs/unreal_custenv.md )

ConnLiu avatar Dec 06 '18 08:12 ConnLiu

this is my uproject: { "FileVersion": 3, "EngineAssociation": "4.18", "Category": "Samples", "Description": "", "Modules": [ { "Name": "LandScape", "Type": "Runtime", "LoadingPhase": "Default", "AdditionalDependencies": [ "AirSim" ] } ], "TargetPlatforms": [ "MacNoEditor", "WindowsNoEditor" ], "Plugins": [ { "Name": "AirSim", "Enabled": true } ],

"EpicSampleNameHash": "1226740271"

}

ConnLiu avatar Dec 06 '18 08:12 ConnLiu

Actually, I come across the same problem withe https://github.com/Microsoft/AirSim/issues/587 The root reason is in the step of build AirSim, that is to say "run the build.cmd" Because I can't download eigen3 by build.cmd, so I download it mutually, then the mistake come: ONLY the eigen3\Eigen is needed to move into AirLib\deps\eigen3\Eigen To be clearly, the other folders or files in eigen3 is unnecessary!!!

ConnLiu avatar Dec 18 '18 07:12 ConnLiu

@LeroyLK I am using windows7, and I'm facing the same problem which you met. I did what said it outputs the same result. Do you have any idea how to solve my problem? should I rebuild everything again?

pengjili avatar Feb 22 '19 08:02 pengjili

I am not sure that whether my solution would be fine for you. I rebuild AirSim by run "build.cmd"., however the eigen3 can't be download by "build.cmd", so I download it mutually. @pengjili

ConnLiu avatar Feb 24 '19 09:02 ConnLiu

@LeroyLK Thanks for your reply. Actually what I mean is I met the problem of the following line:

Error Engine module 'Engine\Source\Runtime\Engine\Engine.Build.cs' should not depend on game module 'LandScape\Source\LandScape\LandScape.Build.cs' LandScape

At first I thought it is related to Eigen problem. But I tried all the ways that I know, it just didn't work. So I wanna ask do you solve your problem of this one? If so please tell me your solution, that would be of so big help for me.

pengjili avatar Feb 25 '19 03:02 pengjili

@pengjili

As I written before, it is the wrong position of eigen3 when I was building AirSim that cause the error: Error Engine module 'Engine\Source\Runtime\Engine\Engine.Build.cs' should not depend on game module 'LandScape\Source\LandScape\LandScape.Build.cs' LandScape D:\Projects\Unreal\LandScape\Intermediate\ProjectFiles\EXEC 1

So, maybe you should check your build steps.

Actually, I come across the same problem withe #587 The root reason is in the step of build AirSim, that is to say "run the build.cmd" Because I can't download eigen3 by build.cmd, so I download it mutually, then the mistake come: ONLY the eigen3\Eigen is needed to move into AirLib\deps\eigen3\Eigen To be clearly, the other folders or files in eigen3 is unnecessary!!!

ConnLiu avatar Feb 26 '19 03:02 ConnLiu