lilypond-user
[Top][All Lists]
Advanced

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

Re: How to use shapeII in 2.18 on Windows 10?


From: Urs Liska
Subject: Re: How to use shapeII in 2.18 on Windows 10?
Date: Sun, 16 Feb 2020 08:43:53 +0100
User-agent: Evolution 3.34.1-3

Hi Saul,

I need some more specifics to fully address your issues.

Am Samstag, den 15.02.2020, 17:38 -0800 schrieb Saul Tobin:
> I want to try using shapeII in one of my projects, so I cloned the
> repo into my Lilypond include folder. 

Which repository? Unfortunately there are currently two where it can be
found.

> The usage guide 

I don't fully understand what you are referring to. Which usage guide?

> requires OpenLilyLib Core to use modules, which I've never tried
> before. So I cloned oll-core and followed the documented folder
> structure.

Again, which documentation exactly?

> 
> Then when I try to compile the shapeII usage example, first it tells
> me that 2.19.22 is required — presumably for oll-core. That's a
> problem for me because my project is 2.18 and cannot be upgraded due
> to breaking changes. 

Yes, there is a substantial breaking change between 2.19.21 and 22,
which required to implement certain things conditionally all over the
place. And at some point we had to decide (there was a discussion about
it) to drop support for LilyPond 2.18 - also in the naive belief that
it couldn't be too long until 2.20 would become the new stable version
...

> But shapeII itself is apparently 2.18 compatible, so what am I
> supposed to do here?

If it really is (and I assume it is because Janek implemented it on
2.17, IIRC) you will be able to use it. Try including the "module.ily"
file directly, and if that doesn't work out of the box you should be
able to copy and paste everything the traditional way.

> 
> But even when I switch to 2.19.82 just to compile the usage example, 

Please include the complete file, or a GitHub link to it, so we can
talk about the same thing.

> it tells me:
> 
> <string>:1:10: error: cannot find file: `oll-core/internal/os-
> path.ily'
> (search path: `C:/Program Files
> (x86)/LilyPond/2.19.82/usr/share/lilypond/current/fonts/svg/;C:/Progr
> am Files
> (x86)/LilyPond/2.19.82/usr/share/lilypond/current/fonts/type1/;C:/Pro
> gram Files
> (x86)/LilyPond/2.19.82/usr/share/lilypond/current/fonts/otf/;C:/Progr
> am Files
> (x86)/LilyPond/2.19.82/usr/share/lilypond/current/scm;C:/Program
> Files (x86)/LilyPond/2.19.82/usr/share/lilypond/current/ps;C:/Program
> Files
> (x86)/LilyPond/2.19.82/usr/share/lilypond/current/ly;C:/Users/Saul
> Tobin/.lily;')
> \include 
>          "oll-core/internal/os-path.ily"
> C:/Users/Saul Tobin/.lily/openlilylib/oll-core/package.ily:57:2:
> error: GUILE signaled an error for the expression beginning here
> #
>  (if (not (defined? 'openlilylib-root))
> 

As said, I don't know what file exactly you are trying to compile, and
I'm wondering why you have even reached a point where this specific
file is searched.
But what I *do* see is that you haven't told LilyPond where to look for
openLilyLib. As said also I don't know exactly what documentation you
are referring to, but if you have seen any documentation detailing
something about directory structure it should also include the
instruction which directory to add to LilyPond's search path.

HTH
Urs

> A quick search showed me a previous thread in which a user apparently
> tried and never succeeded in getting oll-core to work on Windows 10.
> 
> Can anyone shed some light on how to do this? All I want to do is
> include a snippet. Even if I'm just copy and pasting, I'm fine with
> it, but from what I can tell the module structure introduces
> complicated dependencies between files so I can't even do that. I
> thought modules were supposed to make things easier.
> 
> Thanks,
> 
> Saul




reply via email to

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