[PD] Puredata and DMX using OLA

IOhannes m zmölnig zmoelnig at iem.at
Fri Jun 22 18:45:40 CEST 2018

On 06/22/2018 03:59 PM, Giulio Moro via Pd-list wrote:
> libola itself may have a number of deps: on my Debian system I get
> $ pkg-config --libs libola
> -L/usr/local/lib -lola -lolacommon -lprotobuf

good point.

> so maybe IOhannes's second line could be amended to:
> $ make -f /usr/share/pd-flext/dev/Makefile.flext ldlibs="$(pkg-config --libs pd-flext) $(pkg-config --libs libola)" SRCDIR=.

you can add multiple packages to a pkg-config query, making both the
command and the resolved library string a bit easier:

$ make -f /usr/share/pd-flext/dev/Makefile.flext ldlibs="$(pkg-config
--libs pd-flext libola)" SRCDIR=.

and really, one should *also* get the cflags from pkgconfig, so the
ideal command would be:

$ make -f /usr/share/pd-flext/dev/Makefile.flext \
   cflags="$(pkg-config --cflags pd-flext libola)" \
   ldlibs="$(pkg-config --libs pd-flext libola)" \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180622/df253abb/attachment.sig>

More information about the Pd-list mailing list