Hey everyone,
currently trying to get the GSDK working for our Linux UE4 Server.
I compiled the GSDK for Linux (.so) via SSH just fine and also added it to UE4 via the Build.cs of the project. For DevelopmentEditor Linux it loads fine, however all Server Targets seem to not properly load the library. While the loading itself doesn't seem to throw any errors, the library functions end up being unresolved:
1>ld.lld.exe : error : undefined symbol: Microsoft::Azure::Gaming::GSDK::registerShutdownCallback(std::__1::function<void ()>) 1> >>> referenced by HLPlayFabSubsystem.cpp:84 (E:/UE4/Perforce/Clients/----/----Game_4_19/Source/----/Private/Core/Subsystems\HLPlayFabSubsystem.cpp:84) 1> >>> E:/UE4/Perforce/Clients/----/----Game_4_19/Intermediate/Build/Linux/B4D820EA/----Server/Development/----/HLPlayFabSubsystem.cpp.o:(UHLPlayFabSubsystem::NotifyStart()) 1> 1>ld.lld.exe : error : undefined symbol: Microsoft::Azure::Gaming::GSDK::registerMaintenanceCallback(std::__1::function<void (tm const&)>) 1> >>> referenced by HLPlayFabSubsystem.cpp:85 (E:/UE4/Perforce/Clients/----/----Game_4_19/Source/----/Private/Core/Subsystems\HLPlayFabSubsystem.cpp:85) 1> >>> E:/UE4/Perforce/Clients/----/----Game_4_19/Intermediate/Build/Linux/B4D820EA/----Server/Development/----/HLPlayFabSubsystem.cpp.o:(UHLPlayFabSubsystem::NotifyStart()) 1>
The "----" in aboves paths are commented out project name.
I tried checking what the difference in compiling for Server and Editor is, but I can't really come up with anything stopping the library from loading properly. I did see that Epic stops CEF3 from being compiled, but I'm not sure what that is and if it affects PlayFab's GSDK.
Quick help would be appreciated!
Cheers,
Cedric