Simple Raspberry Pi MMAL project
-
Install pre-required packages
$ sudo apt-get install cmake libopencv-dev
-
Place Raspberry Pi userland project in /home/pi/src/raspberrypi/userland
$ mkdir -p /home/pi/src/raspberrypi
$ cd /home/pi/src/raspberrypi
$ git clone --depth 1 https://github.com/raspberrypi/userland.git
-
Build pre-required libraries
$ make -C /opt/vc/src/hello_pi/libs/vgfont
-
Build project
$ mkdir build
$ cd build
$ cmake ../
$ make