Hallo, PSPunch hat gesagt: // PSPunch wrote:
- 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./
Could you try if this:
CFLAGS_mingw = -shared -D MSW -I./
works as well?
I think, defining PD_INTERNAL is not necessary, as in (my) m_pd.h not defining it should have the same results:
#ifdef MSW #ifdef PD_INTERNAL #define EXTERN __declspec(dllexport) extern #else #define EXTERN __declspec(dllimport) extern #endif /* PD_INTERNAL */ #else #define EXTERN extern #endif /* MSW */
Ciao