|
From: <tim...@en...> - 2006-10-19 11:28:29
|
Timoth=E9e Lecomte wrote: > Joe Koski wrote: > =20 >> on 10/8/06 2:54 PM, Timoth=E9e Lecomte at tim...@en... wrot= e: >> >> =20 >> =20 >>> Hi Joe ! >>> >>> I'm sorry you did not succeed, but those errors are normal: wxWidgets >>> comes in different flavours depending on the platform: wxGTK (as Etha= n >>> told you), wxMSW for Windows, wxMAC which you logically installed, an= d >>> others. There are a couple of places where it is necessary to choose >>> between two possible behaviours (two threads or one) in the terminal >>> code. Since I only have access to Linux (wxGTK) and Windows (wxMSW), = I >>> have chosen to enable the compilation for those two only. >>> >>> However, attached is a patch that enables the compilation for wxMAC. = I >>> will be very glad to see you try it. Apply it in src/wxterminal and t= ry >>> to build again. Hopefully it will work. Don't hesitate to report any = issue. >>> >>> Thank you very much for your efforts. >>> >>> Best regards, >>> >>> Timoth=E9e >>> =20 >>> =20 >> Timoth=E9e, >> >> I applied the patch, borrowed fontconfig from X11 with an export >> PKG_CONFIG_PATH, and successfully built gnuplot-4.2.rc1 with a wxt ter= minal. >> (I'll send you a screen shot separately.) >> >> To test, I started gnuplot, set term wxt, and did a plot [-4:4] sin(x)= to >> see what would happen. >> >> I got the plot, but I could not get "focus" or whatever you call it fo= r the >> plot window. When I placed the cursor in the plot window area, all I g= et was >> a twirling icon telling me to wait. This happens any time the cursor c= rosses >> the wxt window. When I quit gnuplot, the plot window also disappeared. >> =20 > > Joe, > > Can you tell me if you "bundled" gnuplot ? On Mac, it seems to be=20 > important for GUI applications that are started from the command line.=20 > If you didn't, can you try to do that ? Anyway, I'll give you a patch t= o=20 > try later today or tomorrow that may overcome that particular problem. > > Timoth=E9e > > =20 Just to confirm, I have just been told on IRC (#wxwidgets): " if it isn't bundled or you haven't ran rez on it, things don't receive=20 focus" Joe, the ball is in your hands... Timoth=E9e |