|
From: Joe K. <jko...@co...> - 2006-10-09 20:39:40
|
on 10/9/06 2:07 PM, Timoth=E9e Lecomte at tim...@en... wrote: > Joe Koski wrote: >> on 10/8/06 2:54 PM, Timoth=E9e Lecomte at tim...@en... wrote: >>=20 >> =20 >>> Hi Joe ! >>>=20 >>> 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. >>>=20 >>> 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 try >>> to build again. Hopefully it will work. Don't hesitate to report any is= sue. >>>=20 >>> Thank you very much for your efforts. >>>=20 >>> Best regards, >>>=20 >>> Timoth=E9e >>> =20 >>=20 >> Timoth=E9e, >>=20 >> I applied the patch, borrowed fontconfig from X11 with an export >> PKG_CONFIG_PATH, and successfully built gnuplot-4.2.rc1 with a wxt termi= nal. >> (I'll send you a screen shot separately.) >>=20 >> To test, I started gnuplot, set term wxt, and did a plot [-4:4] sin(x) t= o >> see what would happen. >> =20 >=20 > The plot is rendered properly, that's a good point ! >=20 >> 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 get= was >> a twirling icon telling me to wait. This happens any time the cursor cro= sses >> the wxt window. > Do you mean that the plot window is just like dead ? Is the cursor > position updated in the status bar for example ? > If it's the case, there is probably an issue with the GUI loop running > in a separate thread. >=20 Timoth=E9e, I realized after I sent the message I should have been more clear on this point. Clicking inside the window does not get the focus, and the bar at th= e top is always grayed out as it is in the screen shot that I sent you. Your question about the screen being "dead" is a good description. The cursor position at the lower left is frozen as it shows in the screen shot, and does not change when you move the cursor. I have done a bit more testing. I can get octave-2.9.9 to open wxt windows, and display plots, which is good, but it doesn't display legend information that displays in both X11 and AquaTerm. Fixing that can wait until we have = a more workable arrangement. I'm still waiting for an answer for my fontconfig question about installation. Using the X11 fontconfig is not the best solution. Let me know if if I need to try something else. Joe >=20 >> When I quit gnuplot, the plot window also disappeared. >>=20 >> During the build I saw >>=20 >> (...)set.c: In function 'set_mouse': >> set.c:2309: warning: pointer targets in passing argument 2 of 'map_posit= ion' >> differ in signedness >> set.c:2309: warning: pointer targets in passing argument 3 of 'map_posit= ion' >> differ in signedness >>=20 >> But I don't know if this is significant. > It's not relevant to your problem. >=20 >> What should I be looking for? >> =20 > Good question. I'll try to look at some wxMAC code in the next days, and > I'll send you a patch as soon as I see what could happen. >=20 >=20 >> I'm available for further builds and testing. Let me know what to try ne= xt. >>=20 >> Joe >> =20 > Thank you very much. >=20 > Best regards, >=20 > Timoth=E9e |