thejinchao / turbolink

TurboLink is an unreal engine plugin enables Google gRPC work with Unreal Engine using C++ and Blueprint
MIT License
165 stars 50 forks source link

can't achieve to built Project on Linux for Linux #26

Closed 6r0m closed 7 months ago

6r0m commented 1 year ago

on the build stage LinuxEditor tries to link into .so library Turbolink module when cooking stage is processing. but with Errors - that third party libraries haven't Position Independent Code.

I have tried to recompile relevant gRPC, abseil and protobuf versions as shared libraries, but without luck - multiple errors with undefined symbols.

Did you try to make project builds on Linux OS?

6r0m commented 1 year ago

I've managed build gRPC with some useful info from the forums, it's about libc++ version: https://forums.unrealengine.com/t/how-to-build-static-library-for-cross-compilation-to-linux/451011 https://forums.unrealengine.com/t/compiling-libraries-in-linux/400275 https://forums.unrealengine.com/t/compile-protobuf-on-linux-for-ue4/483266/3

also I saw in the EngineThirdParty libraries scripts with BuildForLinux.

will be super cool if you include scripts to build relevant to the Turbolink libraries by the Engine analogy

6r0m commented 1 year ago

another problem with ssl library in the Engine 5.2 . It's using 1.1.1 but library 1.41.x which I get from source conflicting with it, despite fact that gRPC was built with UE ssl library.

@thejinchao could you tell exact branch and maybe compiled parameters for gRPC please for previous 1.41 and current versions? also, could you support PIC when building static libraries to Linux?

thejinchao commented 1 year ago

sorry, I don't have the energy to take care of this project recently due to work problems, and I don't have a suitable Linux compilation environment to test it, so I'm sorry that I can't help you at the moment.

imfr95 commented 7 months ago

@6r0m Did you manage to build it?

6r0m commented 7 months ago

@imfr95 yes, as I wrote above https://forums.unrealengine.com/t/compiling-libraries-in-linux/400275/9?u=6r0m

thejinchao commented 7 months ago

The latest(v1.3.1) turbolink-libraries release support native linux build environment