From 35d8d6d0ba6af8d03649c6a927facf0aad5e9fa5 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Thu, 24 Nov 2016 18:06:56 +0100 Subject: [PATCH] Add Compiling on Linux section --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce7495a..8cbd4fd 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ You can use the example application of the addon for simple projection mapping p ```bash cd openFrameworks/addons/ofxPiMapper/example -make && make run +make && ./bin/example ``` 3. Use the `-f` flag to launch it fullscreen. @@ -54,6 +54,15 @@ make && make run ``` +## Compiling on Linux + +There might be issues with compiling because `ofxOMXPlayer` and `ofxRPiCameraVideoGrabber` addons do not exist on Linux and also other non-RPi platforms. To avoid the issues, do the following. + +1. Open `example/addons.make` and remove ofxOMXPlayer line. +2. Open `example-camera/addons.make` and remove ofxRPiCameraVideoGrabber line. +3. Compile one or both examples by using make. + + ## Using as an Addon OfxPiMapper features FBO sources that allow you to create generative openFrameworks patches to be used with ofxPiMapper. Extend the `FboSource` class, override `setup()`, `update()` and `draw()` methods and then create an instance of your custom source to add it to your ofxPiMapper object.