-
Notifications
You must be signed in to change notification settings - Fork 59
CMake Linux Setup
fredakilla edited this page Jul 15, 2018
·
17 revisions
- Tested on Ubuntu 16, Linux Mint 19.
- Other distributions should works too.
sudo apt-get install build-essential gcc cmake libglu1-mesa-dev libsndio-dev libpulse-dev
Some thirdparty libraries are registered as submodules, you need to install them before compiling.
cd GPlayEngine
git submodule init
git submodule update
Third-party libraries are built independently of GPlayEngine and must be builded before anything. This step is also necessary to prepare output directories. Run the following from the top-level directory of your GPlayEngine repository:
cd thirdparty
mkdir BUILD
cd BUILD
cmake ..
make -j12 (X number should be 1.5x the number of cores you have)
Run the following from the top-level directory of your GPlayEngine repository:
mkdir BUILD
cd BUILD
cmake ..
make -j12 (X number should be 1.5x the number of cores you have)
Run the following from the top-level directory of your GPlayEngine repository:
cd output/bin
./sample-browser