|
From: Werner S. <sm...@ia...> - 2010-02-25 22:03:45
|
Hi, after some messing around I finally made the wxt(p) driver work. What I did was: * Download the GTK_2.18.5-X11.pkg package from http://r.research.att.com/ and install it * Download the wxWidgets 2.8.11-rc2 source and compile a static build Compiling gnuplot 4.4/4.5 works fine, pngcairo/pdfcairo work, but the wxt terminal hangs. Looking at the code this is because wxt uses a second thread which calls wxApp::OnRun which shouldn't be done, and obviously doesn't work in Mac OS X. I patched gnuplot 4.4 from cvs with the patch adding another terminal wxtp which works similar to gnuplot_x11. The patch didn't apply cleanly, but this could be sorted out. It compiles and runs, but window doesn't get focus - known problem, since gnuplot is not an app, but with a little "hack" using CPSEnableForegroundOperation() this can also be solved and I got a working (sort of) wxtp terminal outside of an app bundle. I just want to known what the status of wxt is now. Is wxtp supposed to be applied to cvs? The patch is over a year old. Anyway, just want to know where this is heading, maybe I can help a little (having some experience being the maintainer of the wxWidgets driver of PLplot). Regards, Werner -- Dr. Werner Smekal Institut fuer Angewandte Physik Technische Universitaet Wien Wiedner Hauptstr 8-10/134 A-1040 Wien Austria DVR-Nr: 0005886 email: sm...@ia... (GPG: EDCAF4A79) web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |