lilypond-user
[Top][All Lists]
Advanced

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

Re: openLilyLib on Windows 10


From: Urs Liska
Subject: Re: openLilyLib on Windows 10
Date: Sat, 15 Jul 2017 02:02:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0



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.

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org

reply via email to

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