|
From: <tim...@en...> - 2006-10-09 20:09:27
|
Joe Koski wrote: > on 10/8/06 2:54 PM, Timoth=E9e Lecomte at tim...@en... wrote= : > > =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 Ethan >> told you), wxMSW for Windows, wxMAC which you logically installed, and >> 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 tr= y >> to build again. Hopefully it will work. Don't hesitate to report any i= ssue. >> >> Thank you very much for your efforts. >> >> Best regards, >> >> Timoth=E9e >> =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 term= inal. > (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. > =20 The plot is rendered properly, that's a good point ! > I got the plot, but I could not get "focus" or whatever you call it for= the > plot window. When I placed the cursor in the plot window area, all I ge= t was > a twirling icon telling me to wait. This happens any time the cursor cr= osses > the wxt window. Do you mean that the plot window is just like dead ? Is the cursor=20 position updated in the status bar for example ? If it's the case, there is probably an issue with the GUI loop running=20 in a separate thread. > When I quit gnuplot, the plot window also disappeared. > > During the build I saw > > (...)set.c: In function 'set_mouse': > set.c:2309: warning: pointer targets in passing argument 2 of 'map_posi= tion' > differ in signedness > set.c:2309: warning: pointer targets in passing argument 3 of 'map_posi= tion' > differ in signedness > > But I don't know if this is significant. It's not relevant to your problem. > What should I be looking for? > =20 Good question. I'll try to look at some wxMAC code in the next days, and=20 I'll send you a patch as soon as I see what could happen. > I'm available for further builds and testing. Let me know what to try n= ext. > > Joe > =20 Thank you very much. Best regards, Timoth=E9e |