Building gnucash on Windows
John Ralls
jralls at ceridwen.us
Sun Jun 16 14:56:01 EDT 2024
> On Jun 16, 2024, at 09:37, <russ.gorby at gmail.com> <russ.gorby at gmail.com> wrote:
>
> Does anyone actually have the gnucash build working on windows?
> I’m trying to build i686 version on Windows 10.
> I’ve had to work around multiple issues but after the build env is configured, the mingw32 shell can run BUT
> “jhbuild -f <jhbuildrc> build”
> Results in missing dependencies and running –nodeps runs into other issues
>
> It would be nice to collaborate with someone who has this working already (assuming someone does)
Russ,
Yes, I have it working and of course it works on the nightly builds VM too. Getting things set up sometimes has issues because I don’t run setup-mingw64.ps1 very often.
`jhbuild -f jhbuildrc build` won’t work unless you ran `export TARGET=gnucash-stable` first. I usually combine them, e.g. `TARGET=gnucash-stable jhbuild -f jhbuildrc build`.
Make sure that you’ve started the right shell: It works only in a MINGW32 shell. The MSYS2 and MINGW64 shells don’t set the path correctly.
If that doesn’t work try running `buildserver\build_package.ps1 -branch stable`. Sometimes the MINGW32 shell environment gets a little out of whack. The Powershell script is able to exert a bit more control on the environment and is more reliable.
Regards,
John Ralls
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20240616/073d332c/attachment.htm>
More information about the gnucash-devel
mailing list