|
From: Ethan M. <merritt@u.washington.edu> - 2010-02-25 23:02:03
|
On Thursday 25 February 2010 14:03:31 Werner Smekal wrote: > 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. No one has ever reported full success in getting wxt running under OSX, so far as I am aware. The wxtp patch was supposed to get the train moving in that direction, but if the train ever arrived at the station I must have been snoozing. > 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). If you have an updated patch plus a set of instructions for OSX users, that would be fantastic! I have Macs available for testing, but the build environment is too different from machines I know well for me to help much when things don't work. In particular I never had any sort of handle on the issue with giving focus to the plot window. Ethan > > 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 > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |