Problem Implementing Gstreamer pylonsrc plugin on Jetson TX2

I have gstreamer plugin installed on a Jetson TX2. I have confirmed all dependencies are installed and when I run gst-inspect-1.0 on some example plugins like theora, I can make pipelines fine. But I cannot run pylonsrc which I need for a basler camera. I cloned this repo (GitHub - basler/gst-plugin-pylon: The official GStreamer plug-in for Basler cameras) and followed the instructions. But it fails at the step


ninja -C builddir


ninja -C builddir test


sudo ninja -C builddir install

Please advise on how to fix this

Rather ask in the appropriate Jetson forum: