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 11, 2011 10:05:42 am
List:at.iem.pd-dev

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

it's getting closer because dll building is initiated:

Creating library file: .libs/libpd.dll.a

pd.dll isn't a libtool standard file

but the linker complains:

pd-m_sched.o:m_sched.c:(.text+0x1514): undefined reference to
`_imp__pthread_mutex_lock' pd-m_sched.o:m_sched.c:(.text+0x1528): undefined reference to
`_imp__pthread_mutex_unlock' pd-m_sched.o:m_sched.c:(.text+0x1920): undefined reference to
`_imp__pthread_mutex_trylock' pd-s_loader.o:s_loader.c:(.text+0x233): undefined reference to `dlopen' pd-s_loader.o:s_loader.c:(.text+0x247): undefined reference to `dlsym' pd-s_loader.o:s_loader.c:(.text+0x4a7): undefined reference to `dlerror' pd-d_soundfile.o:d_soundfile.c:(.text+0x27f): undefined reference to
`_imp__pthread_mutex_lock' <snip>

it's seems closer

----- "IOhannes m zmoelnig" <zmoe@iem.at> a écrit :

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On 2011-07-11 17:59, Hans-Christoph Steiner wrote:

We have the opposite problem than that automake hack is trying to solve. When ASIO is including, then everything including

portaudio

is

built and linked using g++. Portaudio fails to build with g++, so we need to find a way to make only ASIO build with g++, while the rest build with gcc. I think automake will still choose g++ for linking since its choosing g++ for ASIO.

ah thanks for clarifying the problem.

however: automake will chose the _compiler_ on a file-per-file basis; so forcing the _linker_ to be CXX for pd, should have no effect on the compilining portaudio (and creating the portaudio library)

fgamdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4bIPIACgkQkX2Xpv6ydvTdYwCfUlNGwDybirLriNT1O6UwV8v1 j68AnjgGtdThIklLxRGBSN9vK4anSbjx =HAmS -----END PGP SIGNATURE-----