----- Mail transféré ----- De: "Patrice Colet" colet.patrice@free.fr À: "pd-list" pd-list@iem.at Cc: "IOhannes m zmoelnig" zmoelnig@iem.at Envoyé: Lundi 11 Juillet 2011 19h45:21 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] [PD-dev] Pdextended 0.43.1 and vista
----- "Hans-Christoph Steiner" hans@at.or.at a écrit :
On Jul 11, 2011, at 1:29 PM, Hans-Christoph Steiner wrote:
On Jul 11, 2011, at 1:06 PM, Patrice Colet wrote:
----- "Patrice Colet" colet.patrice@free.fr a écrit :
The problem I'm encountering on win32 with makefile.am is that pd.dll is not built
following this doc page:
http://serghei.net/docs/programming/autobook-1.1/dlls20with20libtool.html
I've added those lines in makefile.am:
if WINDOWS LIBS += -lwsock32 -lwinmm -lole32 pd_CFLAGS += -DUSEAPI_MMIO -DPD_INTERNAL pd_SOURCES += s_audio_mmio.c s_midi_mmio.c lib_LTLIBRARIES = libpd.la libpd_la_SOURCES = $(pd_sources) libpd_la_LDFLAGS = -no-undefined pd_LDADD = libpd.la bin_SCRIPTS = endif
<snip>
pd-d_soundfile.o:d_soundfile.c:(.text+0x27f): undefined reference
to `_imp__pthread_mutex_lock'
try changing:
LIBS += -lwsock32 -lwinmm -lole32
to:
LIBS += -lwsock32 -lwinmm -lole32 -lpthreadGC2 -ldl
.hc
that resolve almost everything, we just need to resolve portaudio linking
pd-s_audio_pa.o:s_audio_pa.c:(.text+0x4a6): undefined reference to `Pa_IsFormatSupported'
<snip>
pd-s_audio_pa.o:s_audio_pa.c:(.text+0x179d): undefined reference to `Pa_GetErrorText