-
Notifications
You must be signed in to change notification settings - Fork 34
Compiling on Linux
Thorben von Rekowski edited this page Jul 1, 2021
·
8 revisions
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libopenal-dev libjpeg-dev libudev-dev libxrandr-dev libfreetype6-dev libvorbis-dev libflac-dev libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libxi-dev g++-8 cmake git
sudo pacman -Syu --needed openal libjpeg-turbo libxrandr freetype2 libvorbis flac mesa libxi gcc cmake git
- Please open an issue if you use any other distrib to tell us what to write here.
- The most important requirement in any distrib is a recent compiler. Supported ones are:
- GCC >= 7.0
- Clang >= 5.0
- You also need a recent version of CMake, at least 3.12.4
git clone https://github.com/Unarelith/OpenMiner && \
cd OpenMiner && \
cmake -B build . && \
cmake --build build -j$(nproc)
git clone https://github.com/Unarelith/OpenMiner && \
cd OpenMiner && \
mkdir build && \
cd build && \
cmake .. && \
make -j$(nproc) && \
cd ..
- Run
./build/openminer
- If you want a server run
./build/openminer_server