Hallo,
Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote:
> pdlua is a library for extending Pd with Lua ( http://www.lua.org )
Additional note for Debian/Ubuntu-users: Install "liblua5.1-dev" (and
lua5.1 lua5.1-doc if you like).
Debian keeps the version numbers in the lua library names to allow
several different versions of lua installed at the same time, so you
need to link with "lua5.1" instead of just "lua". Attached
Makefile.debian is already prepared for this. Move it to pdlua/src and
do "cd src && make -f Makefile.debian"
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
# Debian/Ubuntu:
LUA_LIB=lua5.1
LUA_INCLUDE=/usr/include/lua5.1
# everything from here on can stay:
CFLAGS = -ansi -pedantic -Wall -fPIC
CFLAGS += -I$(LUA_INCLUDE)
all: lua.pd_linux
clean:
rm -f lua.pd_linux
lua.pd_linux: lua.c
gcc $(CFLAGS) -shared -o lua.pd_linux lua.c -l$(LUA_LIB)
# FIXME: check this works, see about fat/universal binaries
lua.pd_darwin: lua.c
gcc $(CFLAGS) -bundle -undefined suppress -flat_namespace -o
lua.pd_darwin lua.c -l$(LUA_LIB)
# FIXME: Windows?
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list