Windows MASTER version does not build.
geert.gnucash at kobaltwit.be
Mon Nov 7 12:36:06 EST 2016
On Monday 07 November 2016 18:32:15 Geert Janssens wrote:
> On Monday 07 November 2016 07:23:42 John Ralls wrote:
> > > On Nov 7, 2016, at 6:29 AM, Robert Fewell <14ubobit at gmail.com>
> > > wrote:
> > >
> > > Hi,
> > >
> > > Tried to build the latest windows version from master but it would
> > > not. The first error I got was that 'stoi' was not declared in
> > > this
> > > scope at line 1826,1827,1828 in gnc-backend-sql.cpp, changed that
> > > to use 'atoi' just to get going but it then failed at line
> > > 1271,1277 in gnc-backend-dbi.cpp on the PWARN lines. Commented
> > > those out just to get going again but it failed again at line 80
> > > in
> > > gnc-dbiproviderimpl.hpp on 'to_string' is not a member of std.
> > >
> > > At this point I checked out an earlier version to complete my
> > > test.
> > >
> > > Looking at the 'stoi' and 'to_string' errors they seem to be fixed
> > > in a later version of ming, I think ming-w64, just wondering if
> > > the
> > > build environment needs to be newer with all these c++ changes or
> > > will that effect other things ?
> > I'll have a look at the stoi problem today.
> > MinGW should be using gcc-4.9.3. That's what's on Debian Jessie and
> > master compiles fine there, so I don't think that it's a C++ support
> > problem.
> > That said, MinGW64 seems to have a lot more mind-share recently than
> > MinGW so perhaps we should look at it. I've no idea at this point
> > whether it can be a "drop-in" replacement or would require
> > substantial reworking of the build scripts.
> Oh, and to answer your question, yes we'll need to rework the build
> scripts, but I believe they will simplify as a result of the switch
> as 90% of the required dependencies is available as a package in
> Mingw64. Some I am really looking forward to are guile 2.0 and a more
> recent version of webkitgtk.
Hmm, that last sentence didn't come out right at all. I meant to say: The two packages I'm
really looking forward to to test are guile 2.0 and a more recent version of webkitgtk.
More information about the gnucash-devel