1 \input texinfo @c -*-texinfo-*-
2 @setfilename WINDOWS.info
3 @settitle WINDOWS - compiling and installing GNU LilyPond on Windows
8 @chapter WINDOWS - compiling and installing GNU LilyPond on Windows
10 This document is a supplement to INSTALL.txt, you may want to read
13 @section Obtaining LilyPond
15 You can get the latest version of LilyPond at
16 @uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/,
17 ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/}.
19 @section Windows build requirements
20 You need the following packages to compile Lilypond on Windows.
23 @item The GNU + Cygnus tools, 1.1.7 or newer.
24 Check out the @uref{http://sources.redhat.com/cygwin,Cygwin webpage}.
25 You can get the latest version of the GNU + Cygnus tools from cygnus
26 @uref{http://sources.redhat.com/cygwin/mirrors.html,mirror site}.
27 Install everything, including tetex.
28 @item GUILE 1.4, or newer.
29 Check out the @uref{http://www.gnu.org/software/guile.html,GUILE
30 webpage}. You may need the patch @file{guile-1.4-gnu-windows.patch}
31 included in LilyPond's source distribution.
34 @section Windows precompiled binaries
38 Click @uref{http://appel.lilypond.org/lilypond/gnu-windows/setup.exe,
39 here} to install LilyPond, or visit @uref{http://appel.lilypond.org/lilypond/gnu-windows,
42 This will install the minimal set of cygwin tools needed to run
43 LilyPond. If you already have cygwin installed, don't worry: nothing
44 will be installed twice. To expand on this minimal set, click
45 @uref{http://sources.redhat.com/cygwin/setup.exe,here},
47 @uref{http://sources.redhat.com/cygwin/mirrors.html,mirror site}.
50 Note that none of the developers uses Windows, of course. In fact, we
51 recommend you to use GNU/Linux for running LilyPond. We provide these
52 binaries anyway, because it saves us the trouble of helping Windows
53 users trying to compile LilyPond themselves.
55 These binaries are cross compiled for Windows on a GNU/Linux box. You
56 may want to check out the
57 @uref{http://appel.lilypond.org/lilypond/gnu-windows/cross-1.1.8.tar.gz,cross
60 @section Windows running requirements
62 GNU LilyPond does use a lot of resources. For operation you need the
67 Included in binary installation.
69 A full TeX installation.
71 @uref{http://prdownloads.sourceforge.net/miktex/miktex-2.0-lvl-1.zip,here}
72 to install basic MiKTeX commands,
73 or visit @uref{http://www.miktex.org,www.miktex.org}.
74 @c See @file{/usr/doc/cygwin/tetex-beta-20001218.README} for details.
75 @item PostScript tools
78 This old package has two advantages. It has gsview and ghostscript
79 bundeled, and it doesn't popup @emph{Register Now|Cancel} windows all
80 the time. It doesn't work together with Yap to display PostScript
83 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv26w32.exe,here} to
84 install GSView-2.6 (GhostView for Windows), or visit
85 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
87 @item GSView-3.6 and GhostScript-6.50
88 If you install both these packages, Yap will display PostScript
89 specials. You get annoying @emph{Register Now|Cancel} popups, though.
91 Click @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum/gsv36w32.exe,here} for
93 Click @uref{ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs650/gs650w32.exe
94 ,here} for GhostScript.
95 @uref{ftp://ftp.cs.wisc.edu/ghost/ghostgum,ftp.cs.wisc.edu}.
97 @uref{http://www.cs.wisc.edu/~ghost/,Ghostscript, Ghostview and GSview site}.
101 Click @uref{http://www.python.org/ftp/python/win32/py152.exe,here} to
102 install Python-1.5.2, or visit
103 @uref{http://www.python.org,www.python.org}.
105 Python > 1.5.2 has ugly licensing issues, so we only used and tested
110 @section Windows running setup
112 If you're lucky, after running @file{setup.exe} you're all set up.
114 Open a LilyPond shell (or any bash shell), and type
119 If you don't see something similar to
121 Usage: lilypond [OPTION]... [FILE]...
123 Typeset music and or play MIDI from FILE
125 LilyPond is a music typesetter. It produces beautiful sheet music
126 using a high level description file as input. LilyPond is part of
134 you should try adding @file{/usr/lilypond-x.y.z/bin} to your @var{PATH},
137 PATH=/usr/lilypond-1.3.147/bin:$PATH
144 * politely ask windows users not to complain but rather send instructive
145 bug reports along with patches.
147 * emacs-mode installation, figure out and describe proper
148 emacs-on-cygwin setup.
150 * talk about /etc/profile.d/lilypond-profile.sh
152 * GUILE errors, simple guile test
154 * (La)TEX errors, simple tex test
164 ERROR: Wrong type to apply: ("/usr/share/guile/site" /usr/share/guile/1.4.1")
170 Let's take this step by step.
172 It should not be critical which MikTeX version you use.
173 Let's first verify that your MikTeX works as it should.
174 Open a DOS window. Run the commands
176 Should produce some lines of output
178 Should display a three page document.
180 Next step; verify that the geometry package is in place.
181 Save the attached file to the directory where you run
182 your DOS window. Run the commands
183 >> latex geometrytest
185 This one you should get a single page document with some text