Skip to the content.

Compiling Megalodon

To compile Megalodon from it’s source code, follow these steps:

Requirements

Compiling With Automated Bash Script

Requires g++, CMake, and GNU Make.

git clone https://github.com/megalodon-chess/megalodon.git
cd ./megalodon/
./build.sh
./build/Megalodon

Compiling With CMake and GNU Make

Requires g++, CMake, and GNU Make.

git clone https://github.com/megalodon-chess/megalodon.git
cd ./megalodon/
mkdir ./build/
cd ./build/
cmake ..
make -j
./Megalodon

Compiling Manually

Requires g++.

git clone https://github.com/megalodon-chess/megalodon.git
cd ./megalodon/src/
g++ -pthread -Ofast -Wall *.cpp -o Megalodon
./Megalodon

Back to documentation home