From: Alan W. I. <ir...@be...> - 2014-05-13 16:38:46
|
On 2014-05-10 08:16-0700 Walt Brainerd wrote: > Since the cygwin build appears to work, I sent only > the Mingw files. Note from the cmake command > the -G option and the use of the cmake recommended > to me by Darius. I completely disabled alll cygwin > files when doing that build > > I got GTK at www.tarnyko.net/dl and downloaded and > unzipped the GTK+3.6.4 Bundle for Windows that is > right at the top of the page. Hi Walt: I am fairly sure the unofficial versions of GTK+ at www.tarnyko.net/dl are the same as the official versions accessible at http://www.gtk.org/download/win64.php and http://www.gtk.org/download/win32.php, but in any case you should be using only the latter, the official 32-bit version rather than a 64-bit version (official or unofficial) or an unofficial 32-bit version from www.tarnyko.net/dl. (See the remarks at http://www.gtk.org/download/win64.php concerning the experimental nature of the 64-bit version and its known incompatibility with MinGW. And, for now do not use mingw-64 (an additional platform beyond Cygwin and MinGW which is substantially different than MinGW) since we have zero experience with mingw-64.) Also, the cmake command you reported, i.e., C:\"Program Files (x86)"\"CMake 2.8"\bin\cmake -G "MinGW Makefiles" -DDEFAULT_NO_BINDINGS=ON -DENABLE_f95=ON -DENABLE_DYNDRIVERS=ON -DCMAKE INSTALL_PREFIX=install .. 1>cmake.out 2>cmake.err is not quite right. That option should instead be -DCMAKE_INSTALL_PREFIX=install Furthermore, you must use the svn trunk version of PLplot which contains our latest build-system changes for the GTK+ version 3 case. The PLplot build system for that version of GTK+ is still a bit rough so instead of figuring things out for itself you have to explicitly use the -DDROP_GTK_PLUS_2_BUILDS=ON cmake option to drop minor parts of the PLplot build that are not compatible with GTK+ version 3. I am now going to try the official all-in-on bundle of GTK+ accessible at http://www.gtk.org/download/win32.php under Wine with the PLplot svn trunk version and with -DDROP_GTK_PLUS_2_BUILDS=ON to see how far I get. But please try that yourself at the same time rather than waiting for me since Wine has severe startup latency for every command that (assuming it works) is going to significantly delay when I can get back to you with the result to compare to yours (which might work right out of the box). This Wine startup latency doesn't matter a bit for long tasks such as running a game, but for build and test tasks that might easily require 0.1 million short commands to run, the startup latency of typically 0.3-0.5 seconds for each of those commands takes a huge toll (roughly 10-15 hours) for a build and test task that should take only 0.5 hours on Microsoft Windows. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |