Windows MASTER version does not build.

Robert Fewell 14ubobit at gmail.com
Mon Nov 7 10:39:06 EST 2016


John,

Do you mean the local gcc version in MingW should be 4.9.3, mine is only
4.8.1 and that is in defaults.sh

Bob

On 7 November 2016 at 15:23, John Ralls <jralls at ceridwen.us> 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.
>
> Regards,
> John Ralls
>
>


More information about the gnucash-devel mailing list