lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond newbie can't compile


From: Robin Bannister
Subject: Re: Lilypond newbie can't compile
Date: Sat, 20 May 2017 10:39:32 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1

William Zeitler wrote:


It fails to compile:

Processing `C:/Users/william/Documents/Untitled.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `Untitled.ps'...
Converting to `./Untitled.pdf'...
warning: `(gs -q -dNOSAFER -dDEVICEWIDTHPOINTS=595.28
-dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -sOutputFile=./Untitled.pdf -c.setpdfwrite
-fUntitled.ps)' failed (1)

fatal error: failed files: "Untitled.ly"


This is a newbie problem.

You are using a pdf viewer such as Adobe Reader
which locks the file it is displaying.

In the above log, LilyPond compiles successfully, producing a .ps.
But the subsequent ghostscript conversion from .ps to .pdf fails,
because Adobe Reader won't let it write to the .pdf.

The .ps file is partly readable; the gibberish parts are the fonts.


Your case is mentioned at the bottom of this page:
http://lilypond.org/doc/v2.18/Documentation/web/windows

The same page is in the Learning Manual (required reading) at
http://lilypond.org/doc/v2.18/Documentation/learning/windows


So always terminate Adobe Reader before recompiling.
Or use a non-blocking viewer such as SumatraPDF.


Cheers,
Robin



reply via email to

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