Skip to content

Instantly share code, notes, and snippets.

@baydam
Last active May 1, 2020 11:40
Show Gist options
  • Save baydam/ef2e37ea158eb49ad94bc5e5cec0520a to your computer and use it in GitHub Desktop.
Save baydam/ef2e37ea158eb49ad94bc5e5cec0520a to your computer and use it in GitHub Desktop.
How to install OpenFrameworks version 0.9.8 on any Linux distribution

How to install openFrameworks version 0.9.8 on any Linux distribution

Overview

The current stable version of openFrameworks is 0.9.8 and it does not compile on some versions of Debian like Strech or Arch Linux (in my case). You are free to install the nightly version of openFrameworks but it could be that some addons is not compatible or does not work well.

Use the right version of poco

If you have a compilation error like ^ Received error ^ it means that the version 1.6.0 of poco provided with openFrameworks is not compatible with the new version of openSSL (1.0). To correct this problem you have to edit the poco.sh file located in scripts/apothecary/formulas/poco/poco.sh and replace the version number 1.6.0 with 1.7.7 in the following two lines and run install_dependencies.sh

VER=1.7.7-release
...
GIT_TAG=poco-1.7.7-release

Update some librairies

Now everything should work fine. If you encounter a problem while compiling your project this may be related to the outdated libraries like kiss or tess2. In this case download these libraries here and replace the kiss and tess2 folders located in libs by those who are in the compressed file.

Downgrade some packages

Depending on the Linux distribution you use and its version, you may experience problems with gcc and boost. In this case, it is best to downgrade gcc to version 6.3.1 and upgrade to version 1.63.

@baydam
Copy link
Author

baydam commented May 1, 2020

I am facing issues during compiling HPlayer.
error

You may need the OMXPlayer addons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment