Building Projector

From RidgeRun Developer Wiki



Previous: Getting Started/Getting the code Index Next: User Guide







Dependencies

  • GstCuda
  • CudaStitcher
  • Meson
  • Hotdoc

GstCuda

To install GstCuda see the GstCUDA - Building and Installation Guide.

CudaStitcher

To install CudaStitcher see the Cuda Stitcher - Building and Installation Guide.

Meson

The image projector makes use of the Meson build system. To correctly build this library you need to use version 0.60 of Meson:

First, make sure Python dependencies and Ninja are installed.

sudo apt-get install python3 python3-pip python3-setuptools \
                       python3-wheel ninja-build

Then use pip3 to install Meson.

sudo -H pip3 install meson==0.60

Hotdoc

sudo -H pip3 install hotdoc

Building the project

Once you have met the requirements, execute the following commands:

cd gst-rr-projector
meson setup --prefix=/usr build
ninja -C build
sudo ninja -C build install

To verify that the plug-in was correctly installed, you should run:

gst-inspect-1.0 rrprojector

with expected output

Plugin Details:
  Name                     rrprojector
  Description              Image projection elments
  Filename                 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrrprojector.so
  Version                  0.2.0
  License                  Proprietary
  Source module            gst-rr-projector
  Binary package           gst-rr-projector
  Origin URL               www.ridgerun.com

  rrfisheyetoeqr: FishEye to Equirectangular
  rrrectilineartoeqr: Rectilinear to Equirectangular

  2 features:
  +-- 2 elements


Previous: Getting Started/Getting the code Index Next: User Guide