Windows Build failure

Robert Fewell 14ubobit at
Fri Jul 31 05:19:44 EDT 2015


Have built from scratch and confirm Gnucash starts OK from creating a dist

Not sure if this is related or just a coincidence, but if I try and start
from the inst/bin/gnucash-launcher.cmd I get the following error...

'The procedure __gmpn_cnd_add_n can not be found in libgmp-10.dll'

Doing a search for that dll file I find two copies, one in gcdev\mingw\bin
and one in gcdev\gnutls\bin which are different.

To fix the problem, I swapped the two lines that add the directories above
to generate the path in the cmd file.


On 28 July 2015 at 17:19, John Ralls <jralls at> wrote:

> > On Jul 27, 2015, at 12:59 PM, John Ralls <jralls at> wrote:
> >
> >
> >> On Jul 27, 2015, at 10:21 AM, Robert Fewell <14ubobit at> wrote:
> >>
> >> John,
> >>
> >> I have given it a try and it partially fixes the problem. Gnucash now
> builds OK but it still failed on startup. Just to make sure I created a
> setup.exe from the dist script and installed that which failed initially
> because it could not find the lib_boost_date.dll, these were in the lib
> directory but when I moved them to the bin directory Gnucash found the
> files and failed the same as from the build directory.
> >>
> >> Just to make sure it was not my XP build VM, I used the setup.exe on
> another XP VM and when I had moved the boost dll files, it started up just
> fine.
> >>
> >> Comparing the two, the one that worked had Time Zone 'GMT London' with
> DST ticked and the one that fails has 'GMT Monrovia/Reykjavik', swapping
> between the two allows it to run or fail.
> >>
> >
> > Darn. I knew about putting the libs in the wrong place but forgot to
> commit the fix. Done now.
> >
> > Ah, Liberia and Iceland are places that have the good sense not to use
> daylight time so the registry entry has 0 values for the transition times,
> and I’m not handling that correctly on Win32. Should be a straightforward
> fix.
> Robert,
> I just tested today’s nightly build in XP with the TZ set for
> Monrovia/Reykjavic and it started up without errors.
> Regards,
> John Ralls

More information about the gnucash-devel mailing list