next up previous contents
Next: SND-binary-on-OSX Up: The OS-X Linux Connection Previous: SND-on-OSX


SND-GTK-on-OSX

Snd can be built for OS-X with the GTK libraries for its windowing interface. The advantage of having a Snd-GTK version is that some of the effects with sliders to control its parameters make use of GTK widgets. This include various effects in ``gtk-effects.scm'' and some in ``ladspa.scm'' (see the DSP processing with Snd and Ladspa sections: §9.13.2, §9.13.3). This version of Snd also runs under OS-X's X11, make sure you have Apple's X11 and developer tools installed in your computer §11.

In general to build Snd with GTK, you need to get Fink and the same packages as for the Motif version plus the GTK dependencies as follows:

  1. Make sure that your version of fink is fully up-to-date (if you don't have Fink or X11 follow the instructions on the previous sections §11.1, §11.2).
    • fink selfupdate
    • fink update-all

  2. fink install guile16 guile16-dev
  3. fink install fftw (this takes a long time)
  4. fink install gtk+2 gtk+2-dev gtk+2-shlibs gtk-engines
  5. fink isntall pango1-xft2 pango1-xft2-dev pango1-xft2-shlibs
  6. fink install gdk-pixbuf gdk-pixbuf-shlibs

  7. There is a bug in X fonts and GTK which can be solved by:
    • fink install applesystemfonts
    • fink install fnlib-fonts
    • and running:
            sudo fc-cache
      

  8. After this, on the Snd directory run the ./configure command with the options for Gtk (all in one line or using backslash):

            ./configure CFLAGS=-I/sw/include LDFLAGS=-L/sw/lib  \
            GUILE_CONFIG_path=/sw/bin --disable-nls --with-guile  \
            --with-gtk --with-static-xm --with-builtin-gtkrc \
    

  9. After configure is done and on the Snd directory run the ``make'' command.


next up previous contents
Next: SND-binary-on-OSX Up: The OS-X Linux Connection Previous: SND-on-OSX

© Copyright 2001-2006 CCRMA, Stanford University. All rights reserved.
Created and Mantained by Juan Reyes