[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Paparazzi issue with Xquartz
From: |
Yannick Jestin |
Subject: |
Re: [Paparazzi-devel] Paparazzi issue with Xquartz |
Date: |
Fri, 16 Oct 2015 15:37:51 +0200 |
> On 14 oct. 2015, at 17:29, Tom <address@hidden> wrote:
>
> Hi,everybody,
> I should have installed the xquartz successfully.It can run the test program
> "xeyes" and the "xclock".However,it just can't run for the paparazzi.What's
> the problem?And could you tell me: what "links" between the paparazzi and
> the quartz? And I would check if it is ok.
pprz uses the lablgtk2 ocaml library, which relies on the libgtk . This lib,
installed with homebrew or port, should be compiled with the x11 backend, and
not the quartz backend.
On my mac:
$ otool -l ${HOME}/.opam/system/lib/stublibs/dlllablgtk2.so| grep g[dt]k
/Users/yann/.opam/system/lib/stublibs/dlllablgtk2.so:
name /opt/local/lib/libgtk-x11-2.0.0.dylib (offset 24)
name /opt/local/lib/libgdk-x11-2.0.0.dylib (offset 24)
name /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (offset 24)
Perhaps your gtk2 brew is installed with the —no-x11 flag ? I’m familiar with
macports only, sorry. If you can reinstall it with gtk2-x11, then you’ll have
to reinstall the lablgtk2 afterwards.
good luck with this !
—
Y.