Building on Windows with WSL

From EVEmu Wiki
Revision as of 01:59, 24 August 2016 by Building_on_Windows_with_WSL>CarlBarker (Add libmysqlclient-dev so cmake doesn't try downloading it.)
(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.