Skip to content

Commit

Permalink
Updating build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
shortstheory committed Oct 29, 2020
1 parent 3d97886 commit 5ac650c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,26 @@ Do note that the Raspberry Pi 3 and 3B+ have **very** low power Wi-Fi antennae w

### Installing APStreamline

The installation procedure is pretty much the same across all Debian-based Linux platforms, including but not limited to the Raspberry Pi, NVIDIA Jetson boards, or any x86 machine.

Install the `gstreamer` dependencies:

```
sudo apt-get install libgstreamer-plugins-base1.0* libgstreamer1.0-dev libgstrtspserver-1.0-dev gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly python3-pip python-pip gstreamer1.0-libav
```

Install `meson` from `pip` and `ninja` for building the code:
Install other dependencies for building the code:

```
pip install meson
sudo apt install ninja-build
sudo apt install ninja-build cmake meson libconfig++-dev
```

Navigate to the cloned folder folder and run:

```
meson build
cd build
ninja
ninja # NOTE: on the Raspberry Pi, run ninja -j2 so the build completes without taking up all the available memory
```

On the Raspberry Pi, use `sudo modprobe bcm2835-v4l2` to load the V4L2 driver for the Raspberry Pi camera. Add `bcm2835-v4l2` to `/etc/modules` for automatically loading this module on boot.
Expand Down

0 comments on commit 5ac650c

Please sign in to comment.