|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)Hello
I have posted a thread about a problem on console mode gnuplot for windows with wxt. I am using GCC-4.4.0/Mingw. The gnuplot.exe (ver 4.3 ) with does not start. $ gnuplot Tatsu@INSPIRON6000 /c/Program Files/Gnuplot4.3wxt $ Without wxt $ gnuplot G N U P L O T Version 4.3 patchlevel 0 last modified August 2009 System: MS-Windows 32 bit : : However, $ gnuplot -e "plot sin(x); pause 1" and $ echo 'plot sin(x) ; pause 1' | gnuplot works even on gnuplot with wxt. I have struggled with gdb and found that (!isatty(fileno(stdin))) is false for the gnuplot without the wxt but true for one without wxt. I also found taht stdin, stdout, and stderr does not work. In short, gnuplot with wxt built on gcc/mingw does not have standard i/o. Perhaps this may be a side effect with gnuplot linked with wxWedgets. Michael Goffioul had built the console mode of gnuplot for windows with wxt by MSVC++. This problem may be specific to the combination of GCC/mingw and wxt. Does anyone have ideas on this issue ? Regards Tatsuro Tatsuro -------------------------------------- Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions http://pr.mail.yahoo.co.jp/ec10years/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gnuplot-beta mailing list gnuplot-beta@... https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
|
Re: console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)> Hello > > I have posted a thread about a problem on console mode gnuplot for windows > with wxt. > I am using GCC-4.4.0/Mingw. > > The gnuplot.exe (ver 4.3 ) with does not start. > > $ gnuplot > > Tatsu@INSPIRON6000 /c/Program Files/Gnuplot4.3wxt > $ > > Without wxt > $ gnuplot > > > G N U P L O T > Version 4.3 patchlevel 0 > last modified August 2009 > System: MS-Windows 32 bit > > : > : > > However, > $ gnuplot -e "plot sin(x); pause 1" > and > $ echo 'plot sin(x) ; pause 1' | gnuplot > > works even on gnuplot with wxt. > > I have struggled with gdb and found that > > (!isatty(fileno(stdin))) is false for the gnuplot without the wxt but true > for one without wxt. > I also found taht stdin, stdout, and stderr does not work. > > In short, gnuplot with wxt built on gcc/mingw does not have standard i/o. > > Perhaps this may be a side effect with gnuplot linked with wxWedgets. > > Michael Goffioul had built the console mode of gnuplot for windows with > wxt by MSVC++. > > This problem may be specific to the combination of GCC/mingw and wxt. > > Does anyone have ideas on this issue ? > The wxt link flags incorrectly include the setting "-mwindows", which causes gnuplot to be a gui-subsystem application, no longer a console-subsystem application. Thus stdin/stdout will not work. You have to modify the flags returned by wx-config. benjamin -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gnuplot-beta mailing list gnuplot-beta@... https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
|
Re: console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)Hello
Fine!! Thanks a lot. --- Benjamin Lindner wrote: > The wxt link flags incorrectly include the setting "-mwindows", which causes gnuplot to be a > gui-subsystem application, no longer a console-subsystem application. Thus stdin/stdout will not > work. > You have to modify the flags returned by wx-config. > > benjamin Tatsuro -------------------------------------- Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions http://pr.mail.yahoo.co.jp/ec10years/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gnuplot-beta mailing list gnuplot-beta@... https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
|
Re: console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)On Wednesday 23 September 2009, Benjamin Lindner wrote:
> > > I have posted a thread about a problem on console mode gnuplot for windows > > with wxt. > The wxt link flags incorrectly include the setting "-mwindows", which causes gnuplot to be a gui-subsystem application, no longer a console-subsystem application. Thus stdin/stdout will not work. > You have to modify the flags returned by wx-config. Could you please submit a patch for the INSTALL file or else a separate bit of documentation that explains this to people trying to build under MSWin? thanks, Ethan ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gnuplot-beta mailing list gnuplot-beta@... https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
|
Re: console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)On Monday 05 October 2009, Ethan Merritt wrote:
> On Wednesday 23 September 2009, Benjamin Lindner wrote: > > > > > I have posted a thread about a problem on console mode gnuplot for windows > > > with wxt. > > > The wxt link flags incorrectly include the setting "-mwindows", which causes gnuplot to be a gui-subsystem application, no longer a console-subsystem application. Thus stdin/stdout will not work. > > You have to modify the flags returned by wx-config. > > Could you please submit a patch for the INSTALL file or else > a separate bit of documentation that explains this to people > trying to build under MSWin? Sorry, I see that in working through a 2 week backlog of Email I missed a set of follow-on patch proposals. Was there a final patch version that I should apply? Ethan ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gnuplot-beta mailing list gnuplot-beta@... https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
|
Re: console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)Hello
--- Ethan Merrt wrote: > > Sorry, I see that in working through a 2 week backlog of Email I missed > a set of follow-on patch proposals. Was there a final patch version that > I should apply? > I am sending a mail in which the final patch is attached again. Explanation Remove "-Wl,--subsystem,windows++" and "-mwindows" option to get correct link options for gnuplot for windows on MinGW platform It is also to be applied for makefile.cyg but I have never to used cross-compile circumstance for windows native application on cygwin. If my English for the explanation is not good please correct it. Regards Tatsuro -------------------------------------- GyaO! - Anime, Dramas, Movies, and Music videos [FREE] http://pr.mail.yahoo.co.jp/gyao/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gnuplot-beta mailing list gnuplot-beta@... https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
| Free embeddable forum powered by Nabble | Forum Help |