lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with GUB, or manual cross-compile


From: Phil Holmes
Subject: Re: Help with GUB, or manual cross-compile
Date: Sat, 1 Oct 2016 12:27:22 +0100

----- Original Message ----- From: "Chris Yate" <address@hidden>
To: <address@hidden>
Sent: Saturday, October 01, 2016 9:36 AM
Subject: Help with GUB, or manual cross-compile


Following up a conversation on the user list, as this might be a better
place to ask... I think we've established that the only way to compile for
Windows is to use GUB on Linux to cross-compile for mingw. Well, GUB barfs
all the time here. I could start posting chunks of GUB log messages, but I
don't feel that's really useful at this point -- if someone is able to help
diagnose the problem we can look into that!

First, to make sure I'm not wasting my time, can somebody suggest what
build platform and configuration I need to successfully cross-compile
Lilypond for Windows? I've tried a number of different Ubuntu versions,
either VMs or linux running directly on the metal. I've had to install a
few libraries (mpf, mpc, zlib etc.) from apt in order to get a step further
in GUB. I've also installed the mingw g++ packages, though I'm not sure
whether that is relevant.

Also, do I need to anything more than:
   $ bin/gub mingw::lilypond
?

Alternatively, I'm sure it should be possible (possibly easy) to
./configure the lilypond source code directly for cross compilation. If
someone has a quick solution for how to do that, I'd be really grateful of
it.

Context: I'm getting seriously fed up with a bug in Lilypond that's causing
the build of scores of larger than smallish size to crash. It's a very
repeatable assertion failure, "Line 1180 in Page-Breaking.cc". However,
I've not found it easy to create a reliable "minimal" example for this. It
only seems to happen in reasonably complicated scores with 10+ staves and a
few pages.  In any case, unless I can compile this for Windows I wouldn't
be able to investigate the problem at all.

Thanks in advance!

Gub will certainly work on Ubuntu 10.04 and 14.04 - this is what I have used in the past and currently. Have you read and followed the steps in http://lilypond.org/doc/v2.19/Documentation/contributor/notes-on-builds-with-gub - this describes how to set Gub up, and should avoid any need for manual downloads.

If you build the Windows .exe using the command above, you can only build from origin/master. If you build all the binaries, you can build from any branch of the git repo. This is exactly what I've been doing over the last week or so for https://sourceforge.net/p/testlilyissues/issues/4975/

Have you narrowed the problem down to a specific new release? - e.g. it happens in 2.19.32 but not 2.19.31?

--
Phil Holmes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]