Skip to content

LuridHound/Mahjong

Repository files navigation

Logo

Windows

1. Install a C++11 compiler:
MinGW https://osdn.net/projects/mingw/releases/

2. Install Git:
https://git-scm.com/downloads

3. Install CMake:
https://cmake.org/download

4. Install OpenAL:
https://www.openal.org/downloads

5. Open git-bash and type:

git clone https://github.com/Solisuom/Mahjong.git --recursive
cd Mahjong 
mkdir build && cd build
cmake ..
cmake --build . --config Release
./Mahjong

Ubuntu

1. install git cmake and g++

sudo apt-get -y install cmake git g++ 

2. install additional packets (OpenGL, OpenAL etc)

sudo apt-get -y install libx11-dev libudev-dev xorg-dev freeglut3-dev libalut-dev libvorbis-dev libflac-dev

3. download Space Invaders repository

git clone https://github.com/Solisuom/Mahjong.git --recursive

4. build project

cd Mahjong
mkdir build && cd build
cmake ..
cmake --build . --config Release
./Mahjong