----- "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 builtfollowing 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