1
==============================================================================
3
==============================================================================
6
==============================================================================
19
==============================================================================
20
the zexy external is a collection of externals for miller.s.puckette's
21
realtime-computermusic-environment called "puredata" (or abbreviated "pd")
22
this zexy external will be of no use, if you don't have a running version of
24
check out for http://pd.iem.at to learn more about pd and how to get it
26
note: the zexy external is published under the Gnu General Public License
27
that is included (GnuGPL.txt). some parts of the code are taken directly
28
from the pd source-code, they, of course, fall under the license pd is
34
==============================================================================
37
------------------------------------------------------------------------------
43
(this will automatically call autoconf and ./configure if needed (see "long"))
52
this will install the zexy external into /usr/local/lib/pd/externs
53
(the path can be changed either via the "--prefix"-flag to "configure"
54
or by editing the makefile
55
alternatively you can try "make everything" (after ./configure)
56
note: if you don't want the parallel-port object [lpt]
57
(e.g.: because you don't have a parallel-port) you can disable it
62
------------------------------------------------------------------------------
63
see installation/linux
65
there is nothing special in the code, so it should compile out of the box:
67
run "./bootstrap.sh; ./configure; make" (for further details please see "1) linux")
69
building with a special version of Pd:
70
to build zexy with your special version of Pd, you should specify the path to your Pd ressources
71
(e.g. "./configure --with-pd=/Applications/Pd.app/Contents/Resources")
73
if you want to build a multi-arch binary you have to specify this as well
74
(e.g. "./configure --enable-fat-binary=i386,ppc --with-extension=d_fat")
76
note on generating dependencies:
77
on older systems the automatic creation of build dependencies
78
might fail with following error:
79
cpp0: invalid option -smart
80
a simple workaround is to not use the "-E" flag for the preprocessor
86
------------------------------------------------------------------------------
88
#1 extract the zexy-0_x.zip to your pd-path (this file should be located
89
at <mypdpath>/pd/zexy/)
90
#2 execute the "z_install.bat", this should copy all necessary files
94
+ w/ MSVC use makefile.nt or zexy.dsw;
96
+ with GCC configure your pd path, eg:
97
#> ./configure --prefix=/c/program/pd; make; make install
99
+ cross-compilation for windows on linux using mingw (assumes that the
100
crosscompiler is "i586-mingw32msvc-cc")
101
#> ./configure --host=i586-mingw32msvc --with-extension=dll \
102
--disable-PIC --with-pd=/path/to/win/pd/
103
#> make CFLAGS="-fno-unit-at-a-time"
104
notes: configure tries to set the CFLAGS to "-g -O2" if the compiler
105
accepts this; however, this optimization sometimes generates
106
binaries that cannot be loaded by pd; it seems that disabling
107
the "unit-at-a-time" optimization (which gets enabled by "-O2")
108
is the cause of this problem. turning it off might help
111
------------------------------------------------------------------------------
113
though i have physical access to both SGI's O2s and indys,
114
i haven't tried to compile the zexy externals there for years.
115
the configure-script should work here too;
116
if not, try "make -f makefile.irix"
121
making pd run with the zexy external::
122
==============================================================================
123
make sure, that pd will be looking at this location
124
(add "-path <mypath>/pd/externs" either to your .pdrc or each time
126
make sure, that you somehow load the zexy external (either add "-lib zexy"
127
(if you advised pd somehow to look at the correct place)
128
or "-lib <myzexypath>/zexy" to your startup-script (.pdrc or whatever)
129
or load it via the object "zexy" at runtime
134
==============================================================================
136
copyleft 1999-2007 by IOhannes m zmoelnig <zmoelnig [at] iem [dot] at>
137
with some contributions by winfried ritsch, franz zotter, guenter geiger,
138
miller.s.puckette and surely some others