UE4 - Cloned project from repo failed to build initial .dll on project load

Advertisemen




Error "The following modules are missing or built with a different engine version: ... Would you like to rebuild them now?"

Log is located at (on a Mac)

~/Library/Logs/Unreal Engine/<ProjectName>Editor/
It seems XCODE compiler is more strict than VS:

Error 1
../../../../../alex/Documents/ShooterGame/ue4-project/Source/ShooterGame/Public/Player/ShooterCharacter.h:483:20: error: field 'Health' is uninitialized when used here [-Werror,-Wuninitialized]
        float MaxHealth = Health;

Delete float MaxHealth = Health;

I think the rest are just warnings so I'm going to risk it!

Delete Intermediate folder, just to flush out anything (not sure if this is necessary)

And it builds!


Advertisemen

Disclaimer: Gambar, artikel ataupun video yang ada di web ini terkadang berasal dari berbagai sumber media lain. Hak Cipta sepenuhnya dipegang oleh sumber tersebut. Jika ada masalah terkait hal ini, Anda dapat menghubungi kami disini.

Tidak ada komentar:

Posting Komentar

© Copyright 2017 Game Engine Tutorial