Hi,
Thanks for the help, hopefully pdlua svn should now build (and run!) on mingw with the only changes required being in the "user configuration" section at the top of the 'Makefile.static'.
PSPunch wrote:
- Copy the following files to the same directory as Makefile.static
- lua-5.1.3.tar.gz (My MinGW did not have 'wget')
- m_pd.h
- pd.dll
Added to the documentation.
- Modify lua.c
line:1271
Before: extern void lua_setup(void) {
After: EXTERN void lua_setup(void) {
Applied this change.
- Modify Makefile.static
line:5 Comment out (#PLATFORM = linux)
line:7 Uncomment (PLATFORM = mingw)
line:30 Before: CFLAGS_mingw = -export_dynamic -shared
After: CFLAGS_mingw = -shared -D MSW -D PD_INTERNAL -I./
Modified this slightly (no PD_INTERNAL, no -I which should go in the PDINCLUDE in the user configuration section).
(After `make -f Makefile.static') 4. Copy the following files to 'extra'
- lua.dll
- pd.lua
Added as a suggestion in the documentation.
Thanks again,
Claude