-
Notifications
You must be signed in to change notification settings - Fork 6
Compiling from Source
Ronen Lapushner edited this page Jun 20, 2018
·
3 revisions
TABLE OF CONTENTS
Note: Your compiler must be fully compatible with the C++14 standard!
- Install the required dependencies:
Platform | Command |
---|---|
Debian/Ubuntu | $ sudo apt-get install libsdl2-dev libsdl2-image-dev libgl1-mesa-dev libcap-dev cmake build-essential python |
Fedora | $ sudo dnf install SDL2-devel SDL2_image-devel mesa-libGL-devel libcap-devel cmake gcc-c++ python2 |
- Clone the project:
git clone https://github.com/ronen25/panorama
- Go to the
panorama
directory and create abuild
directory:
cd panorama
mkdir build && cd build
- Initiate a build using CMake:
cmake -DCMAKE_BUILD_TYPE=Release ..
- (Optional) Install the program (elevated permissions might be required):
make install
TODO