

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# ソフトウェアのインストールの前提条件
<a name="producersdk-cpp-rpi-software"></a>

C\$1\$1 プロデューサー SDK では、Raspberry Pi に以下のソフトウェア前提条件をインストールする必要があります。

1. パッケージリストを更新し、SDK の構築に必要なライブラリをインストールします。ターミナルを開き、次のコマンドを入力します。

   ```
   sudo apt-get update
   sudo apt-get install -y \
     automake \
     build-essential \
     cmake \
     git \
     gstreamer1.0-plugins-base-apps \
     gstreamer1.0-plugins-bad \
     gstreamer1.0-plugins-good \
     gstreamer1.0-plugins-ugly \
     gstreamer1.0-tools \
     gstreamer1.0-omx-generic \
     libcurl4-openssl-dev \
     libgstreamer1.0-dev \
     libgstreamer-plugins-base1.0-dev \
     liblog4cplus-dev \
     libssl-dev \
     pkg-config
   ```

1. `libcamera` スタックを使用している場合は、`libcamerasrc`GStreamer プラグインもインストールします。この GStreamer プラグインはデフォルトではインストールされません。

   ```
   sudo apt-get install gstreamer1.0-libcamera
   ```

1. 次の PEM ファイルを `/etc/ssl/cert.pem` にコピーします。

   ```
   sudo curl https://www.amazontrust.com/repository/AmazonRootCA1.pem -o /etc/ssl/AmazonRootCA1.pem
   sudo chmod 644 /etc/ssl/AmazonRootCA1.pem
   ```