|
From: sfeam <sf...@us...> - 2014-05-29 04:48:34
|
On Thursday, 29 May 2014 01:17:20 PM Tatsuro MATSUOKA wrote:
> --- On Thu, 2014/5/29, Tatsuro MATSUOKA wrote:
> > --- On Thu, 2014/5/29, Daniel J Sebald wrote:
> > > On 05/28/2014 09:03 PM, Tatsuro MATSUOKA wrote:
> > > > Hello
> > > >
> > > > I am trying to build gnuplot for windows with qt terminal on MinGW platform.
> > > >
> > > > In linking gnuplot_qt.exe, the following warnig appear:
> > > > warning: cannot find entry symbol mainCRTStartup; defaulting to 00401000
> > > >
> > > > Perhaps this is related to failure in executing qt terminal.
> > >
> > > Maybe, but I don't think so because the program runs. That warning is
> > > indicating that the linker can't find main(){} for some reason and is
> > > making a good guess at it.
> >
> > Thank you for your reply.
> > gnuplot_qt.cpp has apparently a main() function.
> >
> > <snip>
> > #include "QtGnuplotApplication.h"
> > #include <QtCore>
> > #include <signal.h>
> >
> > int main(int argc, char* argv[])
> > <snip>
> >
> >
> >
> > >
> > >
> > > > Terminal type set to 'qt'
> > > > gnuplot> plot sin(x)
> > > > Could not connect to gnuplot_qt "qtgnuplot4832" . Starting a new one
> > > >
> > > > Warning: slow font initializationgnuplot>
> > > >
> > > > I'm now using Qt-4.8.6 build myself using the same gcc (4.8.2 MinGW-w64 win32) to build
> > > > gnuplot and dependencies.
> > >
> > > This sounds like the issue that came up not too long ago about TrueType
> > > fonts taking much longer than they should to load. There were two
> > > TrueType fonts in particular found to be the problem, but I forget which.
> >
> > Mmmm. Does anyone remember the issue?
> >
> > Anyway thanks for your pointer.
> >
> > Tatsuro
> >
>
> I have referred msvc/Makefile. From the description "$(LD) /entry:mainCRTStartup" in it, I have used -Wl,-emainCRTStartup flag. I deleted this flag and I can see qt terminal plot but it is insufficient.
>
> See:
> http://www.geocities.jp/tmgpltwin/Files/Files.html#0058
> 20140529qt_mgw.png
>
> On the command line I found the message:
>
> gnuplot> plot sin(x)
>
> Warning: slow font initializationqt_processTermEvent received a GE_fontprops eve
> nt. This should not have happened.
>
> Any suggestions?
Is the process gnuplot_qt running at this point, or has it died?
If gnuplot_qt is running then I think the problem really is due to the font
server, not gnuplot. The one time I saw this on linux, it was with a
newly installed Windows font. The first plot command in gnuplot produced
that error message and failed to obtain the font. However by the second
plot command the font had finished initializing and the message never appeared
again.
Ethan
>
> Regards
>
> Tatsuro
>
>
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
|