[FIXED] CrossCompile 5.3.2 - can't connect to Linux Server with Windows Client

Ive successfuily build server for Linux with newest toolchain.

followed with this 5 part playlist guide below
(command for download wsl1 library if anyone couldn’t set)
Dism /online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /All

So the problem is when trying to connect local to the Linux server with Windows Client. WinClient does not recognize running server map “nothing happens” with login button (end of 4 part of video) (code “open level with 127.0.0.1:7777”) - windows + windows worked out of the box (ive used Ubuntu 22.04 and of course Crosscomplietool clang-16.0.6-based) Please if anyone can test or add tips why it can happen - iam totally out of ideas (yes tried other solutions but couldn’t even end with built server…)

Finally i get it working - had to reinstall my Os and everything. It takes me alot of hours but succesfully now i can create crosscompiled connections
So steps i did on W11 newest build 23H2 22631.2715

  1. Open Command and download library for wsl 1
    Dism /online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /All

a) restart pc and open CMD
b) use commands and install LINUX subsystem :
wsl --set-default-version 1

wsl --install -d Ubuntu

after installed linux sub set username and password and add commands

sudo apt update
(after finished)
sudo apt upgrade
(will prompt type yes [y])

d) close linux sub restart computer

  1. download and install in standard directory crosscompiling tools for 5.3 16.06 Clang
    Linux Development Requirements for Unreal Engine | Unreal Engine 5.3 Documentation

restart pc and check if you have installed (troubleshooting from the link)
a) cmd type
%LINUX_MULTIARCH_ROOT%x86_64-unknown-linux-gnu\bin\clang++ -v
Cross-Compiling for Linux | Unreal Engine Documentation

1)Install Epic Launcher and standard windows exe of UE 5.3.2 + redist required during and allow all things for app

a)Core components
b)Engine Source
c)Templates Features
d)Linux Target Platform
2)Start TPS project save and exit

3)Start C++ TPS project (unreal prompt to download visual studio - accept that)

4)Login and choose in Visual Studio Installer
a)Classic apps . NET
b)Classic apps C++ (check all things from the video - stick with everything like profiling tools ,sanitizer etc - not listen just follows all sticks)
c)Universal platforms
d)Creating games with c++
e)Linux and programming in c++

be sure you have sdk as in the video nr1.

project should start if you have additional prompts in Visual Studio to download (right upper corner) just follow and be sure you did all save and close) you can delete projects

  1. Download UE source from Github

a) unpack and setup.bat wait till complete
b) run generate project files .bat
c) run ue5.sln
d) if you have prompts from visual studio - try to install everything needed
e) in right corner for your solution expand engine and set ue5 as start project and compile
f) after succes run with debbuger ( middle top green “play” button)

  1. Create c++ project and follow things from movie nr 3 (build just linux server isntead of windows you should have all biniaries now :slight_smile: ) set target platforms in source folder etc.

a) go to build server location (type wsl in windows search) ive set mine build locations on desktop
C:\Users\user\Desktop\Builds\LinuxServer
in windows search toolbar change location to “wsl” and linux should start with command like below

user@DESKTOP:/mnt/c/Users/user/Desktop/Builds/LinuxServer$

b) type your projectname
./ProjectNameServer.sh

c) go to windows client location
C:\Users\user\Desktop\Builds\WindowsClient
n windows search toolbar change location to “cmd”
type"
ProjectNameClient.exe

game should startclick login as bp you did in video nr3 and now you should properly connect to the local Linux server.

Enjoy!

2 Likes

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