Skip to content

thejinchao/turbolink-libraries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Libraries for TurboLink

Unreal Engine compatibile gRPC libraries, include abesil, re2, protobuf and gRPC. This repo is part of TurboLink, an Unreal Engine gRPC plugin.
You can compile these libraries according to the method below, or directly download the pre-compiled binaries to avoid manual building. I have compiled and passed the following platforms:

  • Windows(x64)
  • Android(arm64, x64)
  • iOS(os64)
  • MacOS
  • Linux(x64)
  • PlayStation5

Current Version

  • abseil LTS 20230125(patch3)
  • re2 2022-06-01
  • protobuf 4.23.4
  • gRPC 1.57.0

How to build these libraries

1. Prepare

2. Set Environment Variables

The environment variables required for compilation

All Platform

  • TL_LIBRARIES_PATH The directory where this document is located
  • UE_THIRD_PARTY_PATH UE third party source directory, This directory is located in a subdirectory Engine/Source/ThirdParty of the UE source directory

Android

  • ANDROID_HOME The directory where you installed the Android SDK, It must contain a directory called platform-tools.
  • NDKROOT The directory where you unzipped the Android NDK, It must contain a file called ndk-build.cmd
  • NDK_CMAKE_VERSION The version number of cmake that comes with the Android NDK, like 3.22.1(Must later than 3.18)

Linux(Cross Compiling)

  • LINUX_MULTIARCH_ROOT The directory where you installed Unreal Engine Cross-Compiling toolchain for Linux.
  • NINJA_EXE_PATH The file path of ninja.exe, Ninja is a small build system with a focus on speed.

PlayStation5

  • UE_PS5_THIRD_PARTY_PATH UE PlayStation5 third party source directoy, If you correctly downloaded the UE source code with the PS5 platform, then this directory should be located at Engine/Platform/PS5/Source/ThirdParty

3. Compile Step

After clone this repo, update all submodules, and then follow the steps below to compile these libraries.