Help us understand the problem. What is going on with this article?

Raspberry PiでopenFrameworksを動かす方法

More than 1 year has passed since last update.

インターネット上に転がっている記事は少し古いのか
そのままでは動作しなかったため、動くまでの方法をまとめ

Raspbian を SDカード に書き込んで起動

今回は、Raspbian Stretch Lite(2018-11-13)を使いました。
Raspberry Piは2を使用しています。

とりあえず apt-get をアップデート

$ sudo apt-get update
$ sudo apt-get upgrade -y
$ sudo dpkg --configure -a

git をインストール

$ sudo apt-get install git -y

openFrameworks(0.10.1)をgitでダウンロード

$ cd ~/
$ git clone --depth=1 https://github.com/openFrameworks/openFrameworks.git

openFrameworksをインストール

$ cd ~/openFrameworks/scripts/linux/debian
$ sudo ./install_dependencies.sh
$ yes | sudo ./install_dependencies.sh
$ yes | sudo ./install_codecs.sh

$ cd ~/openFrameworks/scripts/linux/
$ yes | sudo ./download_libs.sh

$ make Release -C ~/openFrameworks/libs/openFrameworksCompiled/project

ここまで来たら準備完了
shell scriptの実行でいろいろ聞かれるためyesをパイプで渡します。
make Releaseで30分くらいかかりました・・・

サンプルを動かしてみる

$ cd ~/openFrameworks/examples/graphics/polygonExample/
$ cp ~/openFrameworks/scripts/templates/linuxarmv6l/Makefile ./
$ make
$ make run

makeも時間かかる・・・

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした