|
From: <tim...@en...> - 2006-05-01 00:28:43
|
> Timoth=E9e Lecomte wrote: >> After 11 months of development, the wxWidgets has landed to the CVS ! > > (Belated) congratulations from me, too. > > To explain why it took me so long: I tried to build this thing before > commenting any further. On Win32, just to make it bit more interesing. > Gosh --- I haven't had to download and install so many other packages > to compile a single one since the days a Linux distro was something tha= t > fit on two or three dozen floppies, and running X11 on it was considere= d > an extravagant option. > > Let's see: so I had to get wxWidgets, obviously. Getting that to > compile was, ... tricky. And its "make install" doesn't work --- puts > the DLLs in $(prefix)/lib place where wgnuplot.exe doesn't find them. > Windows tradition is to put DLLs in a the same place as the executables= , > since they'll be searched along the PATH. Two remarks : wxWidgets lacks precompiled libraries. It is said to be the policy of its developpers not to provide any binaries, because that would be unrighteou= s to do that for one platform (likely Windows) but not others. You seem to have compiled wxWidgets as shared libraries. You can also compile it statically in gnuplot. That's what I have done for all the snapshots that I provided on sourceforge. > On top of that then I needed to add to my MSYS/MinGW installation: > pkg-config, fontconfig, glib, cairo, pango, libpng (had it already, but > not "libpng13", and no pkg-config file), gettext, libiconv. I > eventually gave up on building cairo and pango from source. Now that I > forced pkg-config to work, maybe I'll revisit cairo. Fortunately, we have precompiled binaries for all of these on Windows ! The following page helped me to find them : http://www.freeciv.org/index.php/Install-Windows By the way, the only problem I had with pkg-config was to set up the path correctly. Is it also what you mean by forcing pkg-config to work ? > And that's before I even begin investigating the possibility of using m= y > now favourite Windows C/C++ compiler, OpenWatcom, to do this job. I'm > not even sure how to compile wxWidgets with that, yet. I may have to > dogde that and use MinGW-compiled DLLs with an OW-compiled wgnuplot. On the wxWidgets wiki, OpenWatcom is reported to work. > So, lots of new things to discover. I guess it is the price to pay to use these great toys. I just hope it is not too expensive. Timoth=E9e |