basler / gst-plugin-pylon

The official GStreamer plug-in for Basler cameras
BSD 3-Clause "New" or "Revised" License
43 stars 9 forks source link

Linux meson builddir error #20

Closed sabinagreen closed 1 year ago

sabinagreen commented 2 years ago

I'm trying to build pylonsrc plugin in my Linux machine (ubuntu 18, x86_64) and face some problems.

my steps are:

I installed Basler ver 7.1.0

sudo apt remove meson ninja-build sudo -H python3 -m pip install meson ninja --upgrade sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev cmake export PYLON_ROOT=/opt/pylon meson builddir --prefix /usr/

error: there is no messon.build directory

could you pls help with it?

michaelgruner commented 2 years ago

Thanks for your report, those steps look correct. Can you share the full log?

sabinagreen commented 2 years ago

pls see it. meson-log.txt

thiesmoeller commented 2 years ago

.. are you really in this project's source dir when you run meson build ?

sabinagreen commented 2 years ago

yes, I'm running it from messon directory

thiesmoeller commented 2 years ago

Hi @sabinagreen,

Looking at the attached log file: Have you checked out this project gst-plugin-pylon into a folder named gst ?

In your log file is the line

Source dir: /home/lumenis/gst

And some APP_VERSION = 0.7.5 which is not from this project's code.

Most probably this project here:

https://github.com/leinardi/gst

Can you please make

sabinagreen commented 2 years ago

Thanks, now it work :)! One additional question: gst-inspect-1.0 pylonsrc work only with parameter --gst-plugin-path=/usr/lib/x86_64-linux-gnu/gstreamer-1.0.

thiesmoeller commented 2 years ago

can you please post the output of:

gst-inspect-1.0 fakesink | grep Filename

This will list the install path of a standard plugin..

From all what you describe, it seems that you are not running in a standard Ubuntu environment.....

thiesmoeller commented 1 year ago

documentation fix in v0.5.0