1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Raspberry Pi 5でODEを動かす

Last updated at Posted at 2025-05-19

Raspberry Pi OSで動作させる前提です.

Raspberry Pi 5にOSをインストール,起動

  1. 別のPCを用意し,そのPCでRaspberry Pi OSのイメージを作成しておく
  2. microSDカードにイメージを移し,microSDカードをRaspberry Piに挿入する
  3. Raspberry Pi 5を起動し,OSが立ち上がったことを確認する

必須ライブラリのインストール

sudo apt update
sudo apt upgrade -y
sudo apt install -y git build-essential cmake libx11-dev libxi-dev libxmu-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

ODEのインストール・ビルド

git clone https://bitbucket.org/odedevs/ode.git
cd ode
mkdir myBuild
cd myBuild
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_DEMOS=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5
make -j$(nproc)
sudo make install

デモ

./demo_basket

他にも多数のデモが動作します.

マニュアル引用元

Russell L. Smith, Open Dynamics Engine, Source, 2001

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?