Vice City: Multiplayer

VC:MP Discussion => Support => Tutorials => Topic started by: habi on Apr 01, 2022, 07:15 AM

Title: WSL - Compiling Linux Programs in Windows.
Post by: habi on Apr 01, 2022, 07:15 AM
Hello guys,
I will show you how to build a linux program( eg. a vcmp linux plugin xxxrel64.so ) in windows, but without the use of a vps.
We use WSL (Windows Subsystem for Linux).
All the information can be found here (https://devblogs.microsoft.com/cppblog/c-with-visual-studio-2019-and-windows-subsystem-for-linux-wsl/).

You will have to install Ubuntu from Microsoft Store.
(https://i.imgur.com/buVcQNa.png)
You can run vcmp server on this also.
You can assign a drive letter to it(eg. Z) and browse. (No more WinSCP and timeout! )
(https://i.imgur.com/KLNvB2H.png)

WSL seems to be fast in compiling cpp programs.

little busy now. will post a tutorial later on making win/linux 32/ 64 vcmp plugins through a single project( using cmake ).
bye