Missing dll

Stephen Brown StephenBrown165 at outlook.com
Wed Feb 15 14:41:19 EST 2017


Hi John

From: John Ralls
Sent: Thursday, February 16, 2017 6:09 AM
To: Stephen Brown
Cc: gnucash-devel at gnucash.org
Subject: Re: Missing dll


> On Feb 15, 2017, at 10:44 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
>
> 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

Stephen,

Depending on what you're trying to do it might be easier to run gnucash-on-windows.git/dist.sh after running install.sh. That will create a ready-to-run instance of GnuCash in gnucash/dist/bin and shouldn't have any path issues.

Regards,
John Ralls

All I want to do is to run the gnucash  I just compiled so that I can test the source code I just modified.

Regards
Stephen



More information about the gnucash-devel mailing list