> On 24 Mar 2024, at 17:13, David Sumbler <da...@aeolia.co.uk> wrote:
> 
> I haven't used Lilypond for a while, but I have currently got v.2.24.1
> 
> I started a new, very small, project today, but I can't compile anything.  
> Thinking I must have forgotten even the basics of writing Lilypond files, I 
> tried a few of my previous project files which I have successfully compiled 
> in the past.  But nothing will compile.
> 
> If I use the bash command line, with, for example,  'lilypond -V file.ly' I 
> get no compilation, and the output is identical to what I get if I just enter 
> 'lilypond' with no option and no file.
> 
> If I try to compile from Emacs, using Ctrl-C Ctrl-L, I get exactly the same 
> output as above, with "Compilation exited abnormally with code 2 at Sun Mar 
> 24 15:54:38" or similar suffixed.
> 
> What can possibly be wrong?  Lilypond isn't giving me any clues.
> 
> David

David, are you sure you’re using a capital V? Because if you use a lower-case V 
you end up in the —version mode of Lilypond, which will indeed output similar 
output as the usage info printed when you invoke lilypond without any argument 
(though the latter will include usage instructions, where lilypond -v will only 
print the version header)

Extract from lilypond —help:

-v, --version                    show version number and exit
-V, --verbose                    be verbose (equivalent to --loglevel=DEBUG)


Reply via email to