|
From: Tatsuro M. <tma...@ya...> - 2014-05-29 04:17:30
|
--- 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?
Regards
Tatsuro
|