From 267170167d52cab9e97f879d9127a1cf04f6bb58 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Tue, 15 Mar 2011 20:53:57 +0000 Subject: This is a version of Claude Heiland-Allen's lua for Pd. The objects are named pdlua and pdluax instead of lua and luax. So far it seems to work on linux. svn path=/trunk/externals/pdlua/; revision=15030 --- README | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..f062239 --- /dev/null +++ b/README @@ -0,0 +1,52 @@ +pdlua -- a Lua embedding for Pd +Copyright (C) 2007,2008,2009 Claude Heiland-Allen + + +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 -- cgit v1.2.1