Am 15.07.2017 um 01:22 schrieb Karlin High:
> I've never used OpenLilyLib before, and am not sure what's available
> there or how to use it. But I have Windows 7 64-bit SP1 running
> LilyPond 2.19.62 and tried to replicate the error. Not using
> Frescobaldi for this test. I dowloaded oll-core-master from github and
> have it like this:
>
> C:\oll\oll-core-master\ has package.ily and friends
> C:\oll\olltest.ly has the test code from the OP, with version number
> changed to match mine
>
> First run produced a PDF, and also this log:
>
>     % BEGIN LOG %
>     # -*-compilation-*-
>     Processing `C:/oll/olltest.ly'
>     Parsing...
>     <string>:1:10: error: cannot find file:
>     `oll-core/internal/os-path.ily'
>     (search path: `C:/Program Files
>     (x86)/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program
>     Files
>     (x86)/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program
>     Files
>     (x86)/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program
>     Files (x86)/LilyPond/usr/share/lilypond/current/scm;C:/Program
>     Files (x86)/LilyPond/usr/share/lilypond/current/ps;C:/Program
>     Files (x86)/LilyPond/usr/share/lilypond/current/ly;')
>     \include
>              "oll-core/internal/os-path.ily"
>     C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an
>     error for the expression beginning here
>     #
>      (if (not (defined? 'openlilylib-root))
>     Interpreting music...
>     Preprocessing graphical objects...
>     Finding the ideal number of pages...
>     Fitting music on 1 page...
>     Drawing systems...
>     Layout output to `./tmp-lilypond-uxphpA'...
>     Converting to `/oll/olltest.pdf'...
>     Deleting `./tmp-lilypond-uxphpA'...
>     fatal error: failed files: "C:\\oll\\olltest.ly"
>     % END LOG %
>
> Hmm... something wants a folder oll-core instead of oll-core-master?
> No problem, I made a copy of the folder and renamed it accordingly.
> Afterwards I get this:
>
>     % BEGIN LOG %
>     # -*-compilation-*-
>     Processing `C:/oll/olltest.ly'
>     Parsing...
>     C:/oll/oll-core-master/package.ily:57:2: error: GUILE signaled an
>     error for the expression beginning here
>     #
>      (if (not (defined? 'openlilylib-root))
>     Interpreting music...
>     Preprocessing graphical objects...
>     Finding the ideal number of pages...
>     Fitting music on 1 page...
>     Drawing systems...
>     Layout output to `./tmp-lilypond-P396xA'...
>     Converting to `/oll/olltest.pdf'...
>     Deleting `./tmp-lilypond-P396xA'...
>     fatal error: failed files: "C:\\oll\\olltest.ly"
>     % END LOG %
>
> But it still produced a good-looking PDF, pessimistic error message
> notwithstanding.

There's one thing missing in your set-up, and it is more or less by
accident that you got over the first step.
You should place your test file anywhere else because in your set-up
LilyPond found oll-core/package.ily only because you accidentally placed
it at the correct relative position.

The other (crucial) thing is that you have to add C:\oll to LilyPond's
include path, which from the command line you'd do with the command line
option -I "C:\oll".

Urs

> --
> Karlin High
> Missouri, USA
>
> Still using Hotmail/Outlook, *sometimes* messages make it to the list.

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to