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!