Windows build procedure

Robert Fewell 14ubobit at gmail.com
Fri Oct 13 08:16:08 EDT 2017


OK,
I copied the gschema files from msys2\mingw32\share\glib-2.0\schemas to a
temp directory along with unstable\inst\share\glib-2.0\schemas files and
then ran glib-compile-schemas on this directory to create a new
gschemas.compiled file and then copied all the files in the directory to
'c:\Program Files (x86)\gnucash\share\glib-2.0\schemas' which has solved
the Glib error and the file chooser now works.

The icon error can be fixed by copying the
unstable\inst\share\icons\hicolor folder to either 'c:\Program Files
(86)\gnucash\share\gnucash\icons\hicolor' or c:\Program Files
(86)\gnucash\share\icons\hicolor', probably the later is the correct
location.

I can not see what else is wrong with the aqbanking dll.

Regards,
Bob

On 12 October 2017 at 17:48, Geert Janssens <geert.gnucash at kobaltwit.be>
wrote:

>
>
> Robert Fewell <14ubobit at gmail.com> schreef op 12 oktober 2017 17:24:30
> GMT+01:00:
> >John,
> >Now built unstable and created exe and installed, side note
> >bundle-mingw64.ps1 needs changing on line 134 to use 'GNC_VCS_REV'
> >
> >Still have the same problems, used dll walker on
> >libgncmod-aqbanking.dll
> >and it was missing libgwengui-gtk3.dll, copied that from the
> >unstable/build/bin directory to c:\....gnucash\bin and that satisfied
> >the
> >dll walker. Started gnucash but still got the same error, maybe I
> >should of
> >walked on the libgwengui-gtk3.dll
> >
> >The preference error is to do with the gtk_file_chooser which may
> >relate to
> >the last error below, you also get the same thing by trying file/open
>
> (Snip)
>
> >* 16:00:14 OTHER <GLib-GIO> Settings schema
> >'org.gtk.Settings.FileChooser'
> >is not installed
> >
>
> A missing gsettings schema will indeed crash the application, or more
> precisely it will abort it. Same effect to the user... This is a deliberate
> design decision of the GSettings folks. Their reasoning being that an
> application is supposed to know its schema so a missing one is considered a
> fatal error.
>
> Geert
> >
> >Regards,
> >Bob
> >
> >
> >On 12 October 2017 at 01:37, John Ralls <jralls at ceridwen.us> wrote:
> >
> >>
> >>
> >> > On Oct 11, 2017, at 9:00 AM, Robert Fewell <14ubobit at gmail.com>
> >wrote:
> >> >
> >> > Thanks John, that is what I was after but did not realise I had
> >built
> >> master so made the appropriate changes, exe created and used for an
> >install.
> >> >
> >> > Noticed some dialogues pop up behind the main application and the
> >> preferences dialogue crashes the app. Also I am getting this in the
> >trace
> >> file...
> >> > * 15:01:28  WARN <gnc.module> Failed to dlopen() 'C:\Program Files
> >> (x86)\gnucash\bin\libgncmod-aqbanking.dll': 'C:\Program Files
> >> (x86)\gnucash\bin\libgncmod-aqbanking.dll': The specified module
> >could
> >> not be found.
> >> >
> >> > The file is there so not sure what is wrong with that, Will
> >probably try
> >> and build 'unstable' with debugging to see why the preferences crash
> >> tomorrow.
> >>
> >> Bob,
> >>
> >> Dlopen says “image not found” when it can’t find the shared module
> >it’s
> >> trying to load and “module not found” when it can’t find one of the
> >shared
> >> module’s dependencies.
> >>
> >> The least painful way to figure out missing dependencies on Windows
> >is a
> >> program called Dependency Walker, a free download from Microsoft.
> >>
> >> Regards,
> >> John Ralls
> >_______________________________________________
> >gnucash-devel mailing list
> >gnucash-devel at gnucash.org
> >https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
> Sent from my smartphone. Please excuse my brevity.
>


More information about the gnucash-devel mailing list