atom feed36 messages in at.iem.pd-devRe: [PD-dev] Pdextended 0.43.1 and vista
FromSent OnAttachments
Tris WhyteJun 19, 2011 3:51 pm 
Hans-Christoph SteinerJun 26, 2011 9:13 pm 
Patrice ColetJun 29, 2011 1:37 pm 
Hans-Christoph SteinerJun 29, 2011 3:11 pm 
Patrice ColetJun 30, 2011 12:44 am 
Hans-Christoph SteinerJun 30, 2011 7:48 am 
Patrice ColetJun 30, 2011 11:39 pm 
IOhannes m zmölnigJul 1, 2011 2:07 am 
Hans-Christoph SteinerJul 1, 2011 9:24 am 
IOhannes m zmölnigJul 1, 2011 10:36 am 
Hans-Christoph SteinerJul 1, 2011 11:58 am 
Patrice ColetJul 2, 2011 4:01 am 
Hans-Christoph SteinerJul 2, 2011 11:36 am 
Patrice ColetJul 3, 2011 12:30 am 
Hans-Christoph SteinerJul 4, 2011 11:11 am 
Patrice ColetJul 5, 2011 4:04 am 
Hans-Christoph SteinerJul 5, 2011 9:02 am 
Patrice ColetJul 5, 2011 9:57 am 
IOhannes m zmoelnigJul 10, 2011 11:55 pm 
IOhannes m zmoelnigJul 10, 2011 11:57 pm 
IOhannes m zmoelnigJul 11, 2011 2:08 am.patch
Hans-Christoph SteinerJul 11, 2011 8:59 am 
IOhannes m zmoelnigJul 11, 2011 9:12 am 
Patrice ColetJul 11, 2011 9:29 am 
Patrice ColetJul 11, 2011 10:02 am 
IOhannes m zmoelnigJul 11, 2011 10:03 am 
Patrice ColetJul 11, 2011 10:05 am 
Hans-Christoph SteinerJul 11, 2011 10:28 am 
Hans-Christoph SteinerJul 11, 2011 10:36 am 
IOhannes m zmoelnigJul 12, 2011 12:22 am 
Hans-Christoph SteinerJul 12, 2011 1:18 pm.patch
IOhannes m zmölnigJul 12, 2011 1:29 pm 
Patrice ColetJul 16, 2011 9:25 pm 
Patrice ColetJul 17, 2011 5:07 pm 
Patrice ColetJul 17, 2011 5:59 pm 
Hans-Christoph SteinerJul 26, 2011 5:21 pm 
Subject:Re: [PD-dev] Pdextended 0.43.1 and vista
From:Patrice Colet (cole@free.fr)
Date:Jul 16, 2011 9:25:43 pm
List:at.iem.pd-dev

----- "Hans-Christoph Steiner" <ha@at.or.at> a écrit :

On Jul 11, 2011, at 1:45 PM, Patrice Colet wrote:

----- "Hans-Christoph Steiner" <ha@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" <cole@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

Any luck with this?

.hc

Yes, there are several files to modify and the building is quite different, but
it seems to work

please could you try this:

--- src/Makefile.am.old 2011-07-17 04:18:39 +0000 +++ src/Makefile.am.new 2011-07-17 04:12:45 +0000 @@ -129,9 +129,15 @@ endif

if WINDOWS -LIBS += -lwsock32 -lwinmm -lole32 +lib_LTLIBRARIES = libpd.la +#lib_LTLIBRARIES += ../portaudio/libportaudio.la +libpd_la_SOURCES = $(pd_sources) +libpd_la_LDFLAGS = -no-undefined +LIBS += -lwsock32 -lwinmm -lole32 -lpthreadGC2 -ldl pd_CFLAGS += -DUSEAPI_MMIO -DPD_INTERNAL pd_SOURCES += s_audio_mmio.c s_midi_mmio.c +pd_LDADD += libpd.la +#pd_LDADD += libportaudio.la bin_SCRIPTS = endif

@@ -140,7 +146,7 @@ pd_CFLAGS += -DWISHAPP='"wish85.exe"' -DMSW #kludge, MSW should be _WIN32 pdsend_CFLAGS += -DMSW #kludge, should use _WIN32 pdreceive_CFLAGS += -DMSW #kludge, should use _WIN32 -bin_PROGRAMS += pd-watchdog +#bin_PROGRAMS += pd-watchdog endif

etags: TAGS

----------------------------------

there is a typo in configure.ac

--- configure.ac.old 2011-07-17 04:11:39 +0000 +++ configure.ac 2011-07-17 03:53:40 +0000 @@ -138,7 +138,7 @@ dnl AC_CHECK_HEADER(Jackmp/jack.h, [jack=yes], [jack=no])

dnl portaudio/CoreAudio doesn't work with iPhone -test x$IPHONEOS = xyes && coreaudio=no +test x$IPHONEOS = xyes && coreaudio= xno

AM_CONDITIONAL(COREAUDIO, test x$coreaudio = xyes)

the command for building comes from the libtool link:

aclocal && autoheader && libtoolize --force --copy && automake --foreign --add-missing --copy && make

I have to put libpthread-2.dll with pd.exe and pd starts :)

Now I have certainly to apply the changes you've discussed with IOhannes to
resolve this:

C:\\msys\\1.0\\home\\patko\\pd-extended\\0.43\\packages\\win32_inno\\build\\startup\\libdir.dll:
couldn't load C:/msys/1.0/home/patko/pd-extended/0.43/packages/win32_inno/build/startup/libdir:
can't load startup library'!

I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." --Bjarne Stroustrup (creator of C++)

lol