Hi,
Yesterday my code was compiling correctly both on Unreal Editor and in CLI (I’m on Ubuntu) with the make command.
This morning, the make command reported me the error :
file /usr/include/linux/version.h has ben modified since the precompiled header
I fixed it using this answer : Linux UE4 Build Precompiled Header Fatal Error - Platform & Builds - Epic Developer Community Forums
Now in CLI, there is no problem, the code builds, but in Unreal Engine, I have the Compile Failed
error. The log only says :
[1/3] Compile ProjectName.generated.cpp
[2/3] Compile LastClassIWorkedOn.cpp
ERROR: UBT ERROR: Failed to produce item: /.../LibUE4Editor-ProjectName-933.so
If I try deleting the Binaries, Intermediate and Saved folders, Unreal Editor doesn’t want to open the project anymore. It asks me if I want to rebuild LibUE4Editor-ProjectName.so but then outputs that it can be compiled. The project is correctly built if I do it manually…
Can someone help me find where the problem is ?
Thanks