Unlike other platforms, OF Raspberry Pi projects do not make use of the projectGenerator. To run them you need to go into the folder, build and run.įor example, here is how you build and run the polygonExample: cd /home/pi/openFrameworks/examples/graphics/polygonExample Inside each category folder are a few examples of each. Inside examples the projects are sorted by the categories: OpenFrameworks ships with a bunch of examples located in the openFrameworks/examples folder. Raspberry Pi Cross Compiling Guide Compile your first app Taking the time to set up a cross-compiling solution will save you enormous amounts of time. openFrameworks applications typically take much less time than the core library. If you want to use the older ofAppEGLWindow approach, comment out USE_GLFW_WINDOW = 1 in libs/openFrameworksCompiled/project/linuxarmv6l/ Speeding up compilingĬompiling natively on the Raspberry Pi takes a long time. You are now ready to compile openFrameworks! make Release -C /home/pi/openFrameworks/libs/openFrameworksCompiled/projectĪs of 0.11.0 the default window is ofAppGLFWWindow. cd /home/pi/openFrameworks/scripts/linux/debian
RASPBERRY PI GUI STARTX INSTALL
The time for these steps will depend on whether you are on a RPI1, RPI2 or RPI3 and the speed of the Raspbian mirrors to download the packages.Īssuming openFrameworks is located at /home/pi/openFrameworks run the following commands to install the necessary packages and compile openFrameworks. Make sure you didn't skip the Memory Split step in the above section Configure the Raspberry Pi or it will eventually fail. Install packages and compile openFrameworks: Tar vxfz of_v0.11.0_linuxarmv6l_ -C openFrameworks -strip-components 1 Using a Shell, The following commands will download openFrameworks and uncompress it into the folder /home/pi/openFrameworks For the Raspberry Pi using OF for arm6 cd You now can download openFrameworks and uncompress it into a folder. Note: The above steps may take a little while.
RASPBERRY PI GUI STARTX UPDATE
RASPBERRY PI GUI STARTX DRIVER
This guide assumes you are starting from a fresh Raspbian install and that you are able to connect to the Raspberry Pi and send it commands. Follow the instructions at Raspberry Pi Preparing Your SD Card to get Raspbian installed onto your SD Card.
Install the latest Raspbian (Debian Buster) image from the Raspberry Pi downloads page.Getting your Raspberry Pi ready for openFrameworks Install Raspbian "Buster"