Skip to content

Build UPBGE on Linux

youle31 edited this page Feb 16, 2017 · 30 revisions

The procedure is almost the same as for building blender:

https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake (For Ubuntu or Linux Mint)

To Get the source, execute the following commands:

mkdir ~/blender-git cd ~/blender-git git clone https://github.com/UPBGE/blender.git cd blender git submodule sync git submodule update --init --recursive git submodule foreach git checkout master git submodule foreach git pull --rebase origin master

To Update the sources:

git pull --rebase git submodule foreach git pull --rebase origin master cd build_files/build_environment ./install_deps.sh cd .. cd ..

To Build:

In Cmake, advanced options, check with CXX11. Once you have configured and generate your cmake files, go into the build folder, open a terminal and type the following commands:

make -j5 (5 if you have a quad cores CPU, 9 for 8 cores, 3 for 2 cores) make install

Clone this wiki locally