aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 07a8dbda8251df2bb8804e17469573d0a79e30ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
pdlua -- a Lua embedding for Pd
Copyright (C) 2007,2008,2009 Claude Heiland-Allen <claude@mathr.co.uk>


This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


Lua 5.1 is highly recommended, other versions are untested and 
unsupported - use at your own risk.


Compilation Instructions:

1. edit Makefile.static to configure your PLATFORM and PDINCLUDE
2. run "make -f Makefile.static"
3. use it like "pd -path src -lib lua"

Alternatively, for the brave:

aclocal
autoheader
automake -a -c
autoconf
./configure
make
make install


Additional notes for mingw (thanks to David Shimamomto):

Copy the following files to the same directory as 'Makefile.static':
1. lua-5.1.3.tar.gz
2. m_pd.h
3. pd.dll

Edit Makefile.static to have "PDINCLUDE = -I./" (without quotes).

To install, copy the following files to 'extra':
1. src/lua.dll
2. src/pd.lua