|
From: Tatsuro M. <tma...@ya...> - 2014-06-27 00:04:25
|
----- Original Message ----- > From: Allin Cottrell > To: Tatsuro MATSUOKA > Cc: gnuplot-beta > Date: 2014/6/26, Thu 22:18 > Subject: Re: gnuplot 4.6.5 for 64-bit Windows? > > 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. Thank you for the information. I applied the patch and successfully built gnuplot 4.6.5 using MinGW-w64 (4.8.3) (+ msys) on windows 7 64bit I executed the wgnuplot from command line. It seemed work without problem. See http://www.geocities.jp/tmgpltwin/Files/Files.html#0062 20140627wgp465.png wnguplot started up without '-'. And messages were represented normally. In addition, echo backs to key stokes worked without problem. For me 64 bit gnuplot works fine. My binary is able to get from http;//www.tatsuromatsuoka.com/gnuplot/Eng/gp46/gp465_64.zip Tatsuro |