[aravis] Re: Why GTK?

  • From: Emmanuel Pacaud <emmanuel.pacaud@xxxxxxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Fri, 29 Jan 2016 19:14:52 +0100

Hi,

Le ven. 29 janv. 2016 à 18:57, Nils Hasler <hasler@xxxxxxxxxxxxxx> a écrit :

first, I would like to express my thanks for the great work. I have used
aravis almost unmodified in a number of installations running with
multiple cameras at up to 300fps. I had one test system running 5
different camera models from 3 different manufacturers.

That was the main motivation for my work on aravis, to be able to use different cameras from different manufacturers using the same codebase. Which was not available on linux when I have started aravis.

There is one thing I don't understand though: Why do you need the
depency on GTK?

GTK is huge and the bits aravis uses are actually quite minor. The
network functions are almost a 1:1 copy of BSD sockets and apart from
that not much is used. There are some convenience functions, ok but
those could be replace reasonably easily.

Getting rid of GTK would also allow compiling it more easily on embedded
systems and even Windows. It would need a filter driver to work well on
Windows though.

So what's the rationale?

GTK dependency is optional, only needed if you want to build the viewer.
Aravis library and tools only require glib and libxml2.
Please report any issue you may have trying to build aravis to the bare minimum.

        Cheers,

                Emmanuel.


Other related posts: