Hi John,
I’m not sure what you mean by Meson options? Meson is just the build system.
I do recall that when I ran the aravis build I came upon lots of packages that needed to be installed. I figured out what they were and installed them. I should have documented that!
Here are the packages I have installed on one Ubuntu 18 system where I run ADAravis. I ran apt list –installed and then pipe to grep for usb, viewer, and gst.
(base) epics@TahoeU18:/corvette/home/epics/devel$ apt list --installed | grep usb
ippusbxd/bionic,now 1.32-2 amd64 [installed]
libgusb2/bionic,now 0.2.11-1 amd64 [installed]
libhidapi-libusb0/bionic,now 0.8.0~rc1+git20140818.d17db57+dfsg-2 amd64 [installed]
libusb-0.1-4/bionic,now 2:0.1.12-31 amd64 [installed,automatic]
libusb-1.0-0/bionic,now 2:1.0.21-2 amd64 [installed]
libusb-1.0-0-dev/bionic,now 2:1.0.21-2 amd64 [installed]
libusb-1.0-doc/bionic,bionic,now 2:1.0.21-2 all [installed]
libusb-dev/bionic,now 2:0.1.12-31 amd64 [installed]
libusbmuxd4/bionic,now 1.1.0~git20171206.c724e70f-0.1 amd64 [installed]
libusbredirhost1/bionic,now 0.7.1-1 amd64 [installed,automatic]
libusbredirparser1/bionic,now 0.7.1-1 amd64 [installed,automatic]
spice-client-glib-usb-acl-helper/bionic,now 0.34-1.1build1 amd64 [installed,automatic]
usb-creator-common/bionic-security,now 0.3.5ubuntu18.04.1 amd64 [installed,upgradable to: 0.3.5ubuntu18.04.2]
usb-modeswitch/bionic,now 2.5.2+repack0-2ubuntu1 amd64 [installed]
usb-modeswitch-data/bionic,bionic,now 20170806-2 all [installed]
usbmuxd/bionic-updates,now 1.1.0-2ubuntu0.1 amd64 [installed]
usbutils/bionic,now 1:007-4build1 amd64 [installed]
I think libusb-1.0-dev is probably all that is needed.
There are no packages that match “viewer”.
There are the packages that match “gst”.
(base) epics@TahoeU18:/corvette/home/epics/devel$ apt list --installed | grep gst
gir1.2-gst-plugins-base-1.0/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
gir1.2-gstreamer-1.0/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
gstreamer1.0-alsa/bionic-security,now 1.14.1-1ubuntu1~ubuntu18.04.2 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-clutter-3.0/bionic,now 3.0.26-1 amd64 [installed]
gstreamer1.0-fluendo-mp3/bionic,now 0.10.32.debian-1 amd64 [installed,automatic]
gstreamer1.0-gl/bionic-security,now 1.14.1-1ubuntu1~ubuntu18.04.2 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-libav/now 1.14.1-1~ubuntu18.04.1 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-packagekit/bionic-updates,now 1.1.9-1ubuntu2.18.04.5 amd64 [installed]
gstreamer1.0-plugins-base/bionic-security,now 1.14.1-1ubuntu1~ubuntu18.04.2 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-plugins-base-apps/bionic-security,now 1.14.1-1ubuntu1~ubuntu18.04.2 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-plugins-good/now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-plugins-ugly/now 1.14.1-1~ubuntu18.04.1 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-pulseaudio/now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-tools/bionic-security,now 1.14.1-1~ubuntu18.04.2 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
gstreamer1.0-vaapi/now 1.14.1-1~ubuntu18.04.1 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~ubuntu18.04.1]
gstreamer1.0-x/bionic-security,now 1.14.1-1ubuntu1~ubuntu18.04.2 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
libclutter-gst-3.0-0/bionic,now 3.0.26-1 amd64 [installed]
libgstreamer-gl1.0-0/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
libgstreamer-plugins-bad1.0-0/now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
libgstreamer-plugins-base1.0-0/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
libgstreamer-plugins-base1.0-dev/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
libgstreamer-plugins-good1.0-0/now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed,upgradable to: 1.14.5-0ubuntu1~18.04.1]
libgstreamer1.0-0/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
libgstreamer1.0-0-dbg/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
libgstreamer1.0-dev/bionic-updates,now 1.14.5-0ubuntu1~18.04.1 amd64 [installed]
libqgsttools-p1/bionic,now 5.9.5-0ubuntu1 amd64 [installed,automatic]
Let me know if you have problems building aravis.
Mark
From: John Dobbins <john.dobbins at cornell.edu>
Sent: Wednesday, August 12, 2020 12:37 PM
To: Mark Rivers <rivers at cars.uchicago.edu>; Jure Varlec <jure.varlec at cosylab.com>
Cc: tech-talk at aps.anl.gov
Subject: Re: ADAravis: arvFeature.cpp
Do you recall which of these Meson options are actually needed by ADAravis?:
Hi John,
The issue is explained in the ADAravis release notes:
https://github.com/areaDetector/ADAravis/blob/master/RELEASE.md
You specifically need aravis 0.7.2. The odd-numbered minor release numbers of aravis are unstable releases where they are changing the API. You probably are using 0.7.3, 0.7.4, or 0.7.5 which use a different API from 0.7.2.
When 0.8.x is released the API will be stable and I will update ADAravis to that API.
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Jure Varlec via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, August 11, 2020 7:27 AM
To: John Dobbins
Cc: tech-talk at aps.anl.gov
Subject: Re: ADAravis: arvFeature.cpp
Hi John,
Aravis is changing its API and ADAravis is being updated to match. You
will need Aravis 0.7.x to get the new API.
Best
Jure
John Dobbins via Tech-talk <tech-talk at aps.anl.gov> writes:
> All,
>
> In attempting to build ADAravis ( Aravis package 0.6.3 , base-7.0.3.1, areaDetector-master) I encountered a number of errors along the lines
>
> make[5]: Entering directory `/nfs/bbl/online/epics/b7/synApps/support/areaDetector-master/ADAravis/aravisApp/src/O.linux-x86_64'
> /usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/nfs/bbl/online/epics/b7/synApps/support/asyn-R4-40/include
-I/nfs/bbl/online/epics/b7/synApps/support/areaDetector-master/ADSupport/include/os/Linux -I/nfs/bbl/online/epics/b7/synApps/support/areaDetector-master/ADSupport/include -I/nfs/bbl/online/epics/b7/synApps/support/areaDetector-master/ADCore/include -I/nfs/bbl/online/epics/b7/base-7.0.3.1/include/compiler/gcc
-I/nfs/bbl/online/epics/b7/base-7.0.3.1/include/os/Linux -I/nfs/bbl/online/epics/b7/base-7.0.3.1/include -I/nfs/bbl/online/epics/b7/synApps/support/areaDetector-master/ADGenICam/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/local/include/aravis-0.8
-c ../arvFeature.cpp
> ../arvFeature.cpp: In member function \u2018virtual epicsInt64 arvFeature::readInteger()\u2019:
> ../arvFeature.cpp:42:84: error: too many arguments to function \u2018gint64 arv_device_get_integer_feature_value(ArvDevice*, const char*)\u2019
> return arv_device_get_integer_feature_value(mDevice, mFeatureName.c_str(), NULL);
> ^
> In file included from /usr/include/arvinterface.h:31:0,
> from /usr/include/arv.h:66,
> from ../arvFeature.h:8,
> from ../arvFeature.cpp:5:
> /usr/include/arvdevice.h:115:9: note: declared here
> gint64 arv_device_get_integer_feature_value (ArvDevice *device, const char *feature);
> ^
> ../arvFeature.cpp: In member function \u2018virtual epicsInt64 arvFeature::readIntegerMin()\u2019:
> ../arvFeature.cpp:47:90: error: too many arguments to function \u2018void arv_device_get_integer_feature_bounds(ArvDevice*, const char*, gint64*, gint64*)\u2019
> arv_device_get_integer_feature_bounds(mDevice, mFeatureName.c_str(), &min, &max, NULL);
> ^
> In file included from /usr/include/arvinterface.h:31:0,
> from /usr/include/arv.h:66,
> from ../arvFeature.h:8,
> from ../arvFeature.cpp:5:
> /usr/include/arvdevice.h:116:8: note: declared here
> void arv_device_get_integer_feature_bounds (ArvDevice *device, const char *feature, ....
>
> Any help is appreciated!
>
> John Dobbins
>
> Research Support Specialist
> Cornell High Energy Synchrotron Source
> Cornell University
>
>
www.chess.cornell.edu<http://www.chess.cornell.edu<http://www.chess.cornell.edu<http://www.chess.cornell.edu>>
>
> Maybe it's all part of a great big ineffable plan. - Neil Gaiman, _Good Omens_