Building on Windows with WSL

From EVEmu Wiki
Revision as of 13:34, 3 April 2021 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.