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
- 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
- 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
- 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)
- Create c++ project and follow things from movie nr 3 (build just linux server isntead of windows you should have all biniaries now
) 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!