[PD] [PD-dev] Pdextended 0.43.1 and vista
Hans-Christoph Steiner
hans at at.or.at
Mon Jul 11 21:35:26 CEST 2011
On Jul 11, 2011, at 1:45 PM, Patrice Colet wrote:
>
> ----- "Hans-Christoph Steiner" <hans at 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 at 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
Those functions are both in pd/portaudio/src/common/pa_front.c, it
seems that that file is not being included in the build perhaps.
.hc
----------------------------------------------------------------------------
"We have nothing to fear from love and commitment." - New York Senator
Diane Savino, trying to convince the NY Senate to pass a gay marriage
bill
More information about the Pd-list
mailing list