|
From: Joe K. <jko...@co...> - 2006-10-08 22:07:21
|
on 10/8/06 2:54 PM, Timoth=E9e Lecomte at tim...@en... wrote: > 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 issu= e. >=20 > Thank you very much for your efforts. >=20 > Best regards, >=20 > Timoth=E9e 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 terminal= . (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 for the plot window. When I placed the cursor in the plot window area, all I get wa= s a twirling icon telling me to wait. This happens any time the cursor crosse= s the wxt window. When I quit gnuplot, the plot window also disappeared. During the build I saw if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../term -I../term -DBINDIR=3D\"/Tools/gnuplot-4.2/usr/local/bin\" -DX11_DRIVER_DIR=3D\"/Tools/gnuplot-4.2/usr/local/libexec/gnuplot/4.2\" -DGNUPLOT_PS_DIR=3D\"/Tools/gnuplot-4.2/usr/local/share/gnuplot/4.2/PostScrip= t \" -DCONTACT=3D\"gnu...@li...\" -DHELPFILE=3D\"/Tools/gnuplot-4.2/usr/local/share/gnuplot/4.2/gnuplot.gih\" -I/usr/X11R6/include -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -ObjC -MT set.o -MD -MP -MF ".deps/set.Tpo" -c -o set.o set.c; \ then mv -f ".deps/set.Tpo" ".deps/set.Po"; else rm -f ".deps/set.Tpo"; exit 1; fi set.c: In function 'set_mouse': set.c:2309: warning: pointer targets in passing argument 2 of 'map_position= ' differ in signedness set.c:2309: warning: pointer targets in passing argument 3 of 'map_position= ' differ in signedness But I don't know if this is significant. What should I be looking for? I think that this is remarkable progress for a first attempt. I still need to get a full build of fontconfig to work independently from X11, and I hav= e a question submitted to the fontconfig help list to try to get that "make install" problem resolved. I'm available for further builds and testing. Let me know what to try next. Joe |