Raspberry Pi® 3B Plus OpenGL Package Installation

You need the following Scenome® modules to the basic shader exercises the Raspberry Pi 3B+: Scenome® Platform Binaries, Scenome® Export Module

This exercise teaches you how to install OpenGL® packages on your Raspberry Pi® 3B Plus. These packages are required in order to compile and link the C++ source code (exported by the Shader application) on your Raspberry Pi® 3B Plus device.

Install Required Packages

  1. Connect to the Raspberry Pi® 3B Plus using RealVNC and open the terminal program.

    You could also connect with Microsoft® PowerShell, or something else if you prefer.

  2. Execute the following command in the Raspberry Pi® 3B Plus terminal program.

    Copy Text To Clipboard

    sudo apt-get install libgl1-mesa-dev

    You'll receive status information while this command executes.

  3. Execute the following command in your terminal.

    Copy Text To Clipboard

    sudo apt-get install libgles2-mesa-dev

    You'll receive status information while this command executes.

  4. Execute the following command in your terminal.

    Copy Text To Clipboard

    sudo apt-get install libegl-dev

    You'll receive status information while this command executes.

  5. Execute the following command in your terminal.

    Copy Text To Clipboard

    sudo apt install libdrm-dev libgbm-dev libegl-dev libgles2-mesa-dev

    You'll receive status information while this command executes.

    You should now have the correct packages installed to compile and link an OpenGL® application.