Difference between revisions of "Building on Windows with WSL"

From EVEmu Wiki
Jump to navigation Jump to search
Building_on_Windows_with_WSL>CarlBarker
(Add libmysqlclient-dev so cmake doesn't try downloading it.)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 13:34, 3 April 2021

WIP

Windows Subsystem for Linux (WSL) is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10. As such this guide will only work on Windows 10.

Start by installing and enabling WSL as per the MSDN installation guide.

Now open Bash on Ubuntu on Windows.

Get some dependencies

sudo apt install build-essential git cmake libmysqlclient-dev

Clone the repository.

git clone https://github.com/evemuproject/evemu_server
cd evemu_server

Make a build directory

mkdir build
cd build

Generate Makefile

cmake ..

Call make

make

Everything should compile just fine.