> I was having a problem in my 2.22.2 version on Windows 11.  Just in
> case it was a Lily bug, I installed 2.26.0. Now things are worse
> than ever.  The new Lily couldn't find my .ily files. I run Lily
> from a Windows .cmd file associated with file type ".ly".

Please prepare a complete, minimal example that did work, and which no
longer works.

> I've added a -I option in the script. This wasn't needed for my
> 2.22.2 version.  Now it finds my .ily files, but still can't find
> other things including ice-9 modules and probably other things as
> well.  If I compile a simple test file that doesn't rely on other
> include files, it works, so I know it is able to run the lilypond
> binary.

How did you set up the cmd->ly association?

> I've installed 2.26 in %HOME%\lilypond-2.26.0\.

So you just call `lilypond` on the command line, regardless in which
directory you are, right?

> My .ily files are in
> %HOME%\AppData\Local\VirtualStore\lilypond-2.26.0\share\lilypond\2.26.0\ly\.
> Are there any environment variables or the like that tell LilyPond
> where to look for things? Or perhaps I have other installation
> problems.

What exactly do you mean with 'my .ily files'?  I'm not a Windows
user, but it looks like this directory holds LilyPond's own `.ly`
include files like `music-functions-init.ly`, and it's normally a very
bad idea to add user files to this directory.

Have you checked the output of `lilypond -V <your file>`?  It should
tell you which directories are looked up for files.  If this doesn't
help, please send this information to the list (as an attachment).


    Werner

Reply via email to