Understanding WSL toolchain setup to compile third party library

Hi,

I am trying to compile and link a third party library for Linux dedicated server. I am able to successfully build and link for all platforms but linux server.

I just get “cannot find symbols” Error.

I am using WSL to build Linux server target.

I can build the 3rd party lib fine on WSL but I am unable to link it into the engine. 5.1.

I have tried to use native clang toolchain provided but run into link error.

I am not sure about how I can use clang++.exe from the cross compile tool chain from windows.

Also what c++ version is used to compile the engine for Linux?

For anyone else you stumbles upon this I found toolchain file very good reference and was able to compile third party lib on WSL

UnrealEngine-5.1.0\Engine\Source\ThirdParty\vcpkg\overlay-triplets\linux.toolchain.cmake

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.