|
From: Allin C. <cot...@wf...> - 2014-06-26 13:19:49
|
On Thu, 26 Jun 2014, Tatsuro MATSUOKA wrote: > ----- Original Message ----- > >> From: Allin Cottrell >> To: gnuplot-beta >> Cc: >> Date: 2014/6/26, Thu 08:20 >> Subject: gnuplot 4.6.5 for 64-bit Windows? >> >> I wonder if anyone has managed to build wgnuplot.exe of gnuplot >> 4.6.5 for 64-bit Windows, and if so, what the "trick" is? >> >> I tried back-porting my patch for gnuplot CVS to 4.6.5 and it built >> without error (I should say, this is cross-building on Linux using >> mingw, which has worked fine for CVS gnuplot), but the binary >> behaves strangely. In batch mode -- give it a script and ask it to >> produce a plot file -- it works fine. But in interactive mode this >> is what I'm seeing (on 64-bit Windows 8): >> >> * If invoked as wgnuplot.exe without any arguments it opens >> fleetingly and then immediately exits. >> >> * If invoked with the argument "-" (which, BTW, I don't see >> documented anywhere, maybe my bad?), as in >> >> wgnuplot.exe - >> >> it stays open but behaves oddly: the overall GUI looks OK, the menus >> work, but there's no prompt and while you can type stuff, nothing >> appears in the "console" or text area. >> >> It took me a while to figure out that typed commands do actually >> work: if, for example you type, blindly, "plot sin(x)<Enter>" >> you >> get a perfectly good plot of sin(x). >> >> Anyway, any notions of how to put this to rights? Thanks. > > > Is there any reason why you will back to 4.6.5 for 64bit? Yes: there are some backward-incompatible changes in current CVS/gnuplot 5.0 and I wanted to build the latest-and-greatest on the 4.6 branch. > I have built 64bit binay using cvs source on native windows 7 64bit and > upload on my web. I too have built CVS gnuplot successfully for win64. > For 4.6, the patch is needed for 64 bit build for windows. Is the patch > shown the below enough for 64bit build of 4.6.5? > http://gnuplot.10905.n7.nabble.com/gnuplot-on-64-bit-Windows-again-td17580.html Yep, that's my message/patch! It's what I applied to the 4.6.5 source. It enabled me to build the program without any errors from the compiler, but as I said it doesn't run properly. Allin Cottrell |