paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] 回复: 回复: 回复: Paparazzi issue with Xquartz


From: Tom H
Subject: [Paparazzi-devel] 回复: 回复: 回复: Paparazzi issue with Xquartz
Date: Sun, 8 Nov 2015 07:29:10 +0000 (UTC)

Hi,Felix,everybody who may concern,
Yes,I deleted/reinstalled the opam after the gtk+'s installation.However,it dose't work.And once I switch back to the older version of the gtk+,which is below the version of the"gtk+ quartz only". the quartz works for gtk-demo,but it encounter error while it is making for paparazzi.

The return of the building's error:
OL paparazzicenter
File "_none_", line 1:
Error: Error on dynamically loaded library: /Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so: dlopen(/Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so, 138): Library not loaded: /usr/local/opt/gtk+/lib/libgtk-quartz-2.0.0.dylib
  Referenced from: /Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so
  Reason: image not found
make[1]: *** [paparazzicenter] Error 2
make: *** [sw/supervision] Error 2

Meanwhile,the version "gtk+ quartz only"and every version above can build for paparazzi successfully.But the quartz can't work for it.

I suspect the version which is below the "gtk+ quartz only" might be lack of some necessary component which is needed by the paparazzi's building.But it is x11 backend,so it can make the quartz work for it.

If this is the problem,what should I do to fix it?Thank you very much!

Yours!



Felix Ruess <address@hidden> 于 2015年11月7日, 星期六, 上午 3:49 写道:


Did you recompile/reinstall lablgtk via opam as I mentioned before? It looks like the lablgtk lib you are using was built with the previous gtk/xquartz version or so...

On Fri, Nov 6, 2015 at 4:13 PM, Tom H <address@hidden> wrote:
Hi,all,
I tried some version of the gtk+ on github for my paparazzi: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/gtk%2B.rb
And found that the version below the "gtk+ quartz only"which is x11 backend can work with xquartz,but can't make for the paparazzi.
Here is the return of the error:
File "_none_", line 1:
Error: Error on dynamically loaded library: /Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so: dlopen(/Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so, 138): Library not loaded: /usr/local/opt/gtk+/lib/libgtk-quartz-2.0.0.dylib
  Referenced from: /Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so
  Reason: image not found
make[1]: *** [paparazzicenter] Error 2
make: *** [sw/supervision] Error 2

Meanwhile,the "gtk+ quartz only"version and above which is not x11 backend can't work with xquartz,but can make the paparazzi successfully.

What is the problem?And could I fix it?Thank you!!
Yours!




Felix Ruess <address@hidden> 于 2015年11月5日, 星期四, 上午 3:11 写道:


I guess you need to rebuild lablgtk via opam since you changed the gtk libs under it's ass...

On Wed, Nov 4, 2015 at 6:24 PM, Tom <address@hidden> wrote:
Hi,all,
Thank's to Esden and Yannick.I have reinstalled the previous version of gtk+ which is x11 backed.
I install the gtk+ with command:



Now,I can run the $gtk-demo with xquartz.
Unfortunately,it encounters error while it is making for paparazzi.

Here is the error returns from terminal:
File "_none_", line 1:
Error: Error on dynamically loaded library: /Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so: dlopen(/Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so, 138): Library not loaded: /usr/local/opt/gtk+/lib/libgtk-quartz-2.0.0.dylib
  Referenced from: /Users/tom/.opam/system/lib/stublibs/dlllablgtk2.so
  Reason: image not found
make[1]: *** [paparazzicenter] Error 2
make: *** [sw/supervision] Error 2

Curiously,after that I switch the gtk+ back to the newer version,the error disappears,but the xquartz doesn't work for the gtk+ again.

What's the problem?And how could I fix it?
Thank you!


View this message in context: 回复: Paparazzi issue with Xquartz
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]