[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
- Lilypond newbie can't compile, William Zeitler, 2017/05/19
- Re: Lilypond newbie can't compile, Andrew Bernard, 2017/05/20
- Re: Lilypond newbie can't compile, Manuela Gößnitzer, 2017/05/20
- Re: Lilypond newbie can't compile, Andrew Bernard, 2017/05/20
- Re: Lilypond newbie can't compile, Richard Shann, 2017/05/20
- Re: Lilypond newbie can't compile, Andrew Bernard, 2017/05/20
- Re: Lilypond newbie can't compile, David Wright, 2017/05/20
- Re: Lilypond newbie can't compile, Jean Brefort, 2017/05/20
- Re: Lilypond newbie can't compile, David Wright, 2017/05/20
- Re: Lilypond newbie can't compile, Urs Liska, 2017/05/20