[PD-dev] Problem building pdlua on MinGW

PSPunch shima at pspunch.com
Wed Sep 3 05:04:35 CEST 2008


Some progress.

Now [lua] creates an instance properly.
I haven't had the chance to actually load Lua scripts yet..

Sorry for my writing as I am not yet familiar with any of the patching 
tools.


-----
lua.c
-----
Before:
extern void lua_setup(void) {

After:
extern __declspec(dllexport) void lua_setup(void) {


-----
Makefile.static
-----
Before:
CFLAGS_mingw = -export_dynamic -shared

After:
CFLAGS_mingw = -shared


--
David Shimamoto




More information about the Pd-dev mailing list