ashea-code / BLUI

Rich HTML UI engine for UE4
MIT License
860 stars 258 forks source link

LogInit:Warning: Incompatible or missing module: libUE4Editor-Blu.so #41

Closed peinguin closed 9 years ago

peinguin commented 9 years ago

Copied "BLUI 2.5 Release OSX Beta/Linux Shipping" to "UnrealEngine-4.8.0-release/Engine/Binaries/Linux/Blu" "BLUI 2.5 Release OSX Beta/BLUI" to "Plugins"

And after start editor see a message that says "Missing module libUE4Editor-Blu.so".

In compilation process I have an error. error: typedef redefinition with different types ('long' vs 'FPlatformTypes::int64' (aka 'long long')) typedef long int64; // NOLINT(runtime/int) ^ Runtime/Core/Public/HAL/Platform.h:601:32: note: previous definition is here typedef FPlatformTypes::int64 int64; ///< A 64-bit signed integer.

ashea-code commented 9 years ago

Make sure you copy the content of the folder next to the Editor binary, not just the actual shipping folder

peinguin commented 9 years ago

Moved content of UnrealEngine-4.8.0-release/Engine/Binaries/Linux/Blu to UnrealEngine-4.8.0-release/Engine/Binaries/Linux The same. It wants "libUE4Editor-Blu.so".

ashea-code commented 9 years ago

Seems there's a compiling error. The plugin usually compiles on a per project basis. So I assume those compile errors are from the project compilation?

peinguin commented 9 years ago

I use "UnrealEngine-4.8.0-release". Maybe it is not supported version?

ashea-code commented 9 years ago

4.8 does work with the plugin. But I will test this later today on Linux

ashea-code commented 9 years ago

After looking into it, it seems that CEF is trying to re-declare a typedef that UE4 already has declared. In this case it's uint64. This can be fixed with one or two line edits to the header file mentioned in the error message.

However, even after I changed these lines and fixed another small bug the editor (on Linux) does crash without any error for me to reference. Until I can solve this I highly advise you cross-compile from Windows to Linux as I know fully well this works. The release with fixes is going up now as version 2.6.

https://github.com/AaronShea/BLUI/releases/tag/2.6

ashea-code commented 9 years ago

Update! Seems like the weird crash was simply having a blank URL in my project. You should be good to go!