Missing dll

Geert Janssens geert.gnucash at kobaltwit.be
Wed Feb 15 13:44:36 EST 2017


Op woensdag 15 februari 2017 08:19:47 CET schreef Stephen Brown:
> Hi Geert
> 
> From: Geert Janssens
> Sent: Saturday, February 11, 2017 8:31 PM
> To: gnucash-devel at gnucash.org
> Cc: Stephen Brown
> Subject: Re: Missing dll
> 
> Op zaterdag 11 februari 2017 00:03:26 CET schreef Stephen Brown:
> 
> > Hi All,
> >
> >
> >
> > In a gcdev msys shell running /c/gcdev/gnucash/build/bin/gnucash.exe I
> > get
> > libglib-2.0-0.dll, libgtk-win32-2.0-0.dll, libguile-17.dll,
> > libgio-2.0-0.dll is missing.
> >
> >
> >
> > Is this still an installation error?
> 
> 
> You will not be able to run gnucash from ..../build/bin. It has to be
> installed properly, which means at least "ninja install" should have been
> run
 from your build directory (install.sh does this for you).
> 
> This will install gnucash in whatever was chosen as the installation
> prefix.
 If you didn't run cmake yourself to define another prefix, gnucash
> will by default be installed in /c/gcdev/gnucash/inst/ and it can be run
> from there, provided you have correctly sourced devrc.sh before in your
> open msys shell. 
> Regards,
> 
> Geert
> 
> I do in a gcdev msys shell
> 
> cd /c/gcdev/gnucash/build
> 
> /c/gcdev/ninja/ninja.exe install -> works
> 
> cd /c/gcdev/gnucash/inst
> 
> bin/gnucash.exe -> missing dlls
> 
> 
> 
> How do I correctly source devrc.sh?

Open an gcdev msys shell
cd /c/gcdev/gnucash-on-windows.git
. ./devrc.sh
cd /c/gcdev/gnucash/inst
./bin/gnucash.exe

Note that sourcing devrc.sh is local to the msys shell in which you run it and 
it will only last until you close the shell. So you have to redo this each 
time you wish to run gnucash from within the msys shell.

Note also there are two dots in the sourcing command. The first dot means 
source the following script. The second dot refers to the current directory.

If the dots are confusing, you can probably also do
source ./devrc.sh

Regards,

Geert


More information about the gnucash-devel mailing list