Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Hans-Christoph Steiner
On Aug 22, 2011, at 8:28 PM, Patrice Colet wrote: - "Hans-Christoph Steiner" a écrit : On Aug 22, 2011, at 6:20 PM, Patrice Colet wrote: - "Hans-Christoph Steiner" a écrit : Oops, I just noticed one unneeded line in the patch I sent you: +#pd_LINK = $(CXXLINK) There is no n

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > On Aug 22, 2011, at 6:20 PM, Patrice Colet wrote: > > > > > - "Hans-Christoph Steiner" a écrit : > > > >> Oops, I just noticed one unneeded line in the patch I sent you: > >> > >> +#pd_LINK = $(CXXLINK) > >> > >> > >> There is no need to add a lin

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Hans-Christoph Steiner
On Aug 22, 2011, at 6:20 PM, Patrice Colet wrote: - "Hans-Christoph Steiner" a écrit : Oops, I just noticed one unneeded line in the patch I sent you: +#pd_LINK = $(CXXLINK) There is no need to add a line of code that is comment out :) .hc I've successfully compiled with asio wit

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > Oops, I just noticed one unneeded line in the patch I sent you: > > +#pd_LINK = $(CXXLINK) > > > There is no need to add a line of code that is comment out :) > > .hc > I've successfully compiled with asio without this line, so you were right, in

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Hans-Christoph Steiner
On Aug 22, 2011, at 1:11 PM, Patrice Colet wrote: - "Hans-Christoph Steiner" a écrit : On Aug 22, 2011, at 11:54 AM, Patrice Colet wrote: Hi Hans, I've looked at you patch, and there is something I didn't figured out before, the git sources you are using aren't pd-extended but pd

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > On Aug 22, 2011, at 11:54 AM, Patrice Colet wrote: > > Hi Hans, > > I've looked at you patch, and there is something I didn't figured > > out before, > > the git sources you are using aren't pd-extended but pd-anything ^^ > > It's not specificated

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Hans-Christoph Steiner
On Aug 22, 2011, at 11:54 AM, Patrice Colet wrote: - "Hans-Christoph Steiner" a écrit : Oops, I just noticed one unneeded line in the patch I sent you: +#pd_LINK = $(CXXLINK) There is no need to add a line of code that is comment out :) Hi Hans, I had to add this line for linking

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-22 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > Oops, I just noticed one unneeded line in the patch I sent you: > > +#pd_LINK = $(CXXLINK) > > > There is no need to add a line of code that is comment out :) > Hi Hans, I had to add this line for linking asio with G++, I'm trying out right now i

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-21 Thread Hans-Christoph Steiner
Oops, I just noticed one unneeded line in the patch I sent you: +#pd_LINK = $(CXXLINK) There is no need to add a line of code that is comment out :) .hc On Aug 21, 2011, at 10:29 PM, Hans-Christoph Steiner wrote: Hey patco, I boiled down your patch set into this stripped down version, a

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-21 Thread Hans-Christoph Steiner
Hey patco, I boiled down your patch set into this stripped down version, and fixed the error while trying to build pd~ (pd~ doesn't work on Windows). Its best to make sure patches only include the changes that are absolutely necessary, and not any whitespace changes or cosmetic changes

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-21 Thread Hans-Christoph Steiner
On Aug 21, 2011, at 10:34 AM, Martin Peach wrote: On 2011-08-20 21:21, Hans-Christoph Steiner wrote: I tried these patches a bit but haven't fully tested them yet. But I did just finish updating the MinGW setup, there have been big improvements in the last 2 years since I looked last. The

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-21 Thread Martin Peach
On 2011-08-20 21:21, Hans-Christoph Steiner wrote: I tried these patches a bit but haven't fully tested them yet. But I did just finish updating the MinGW setup, there have been big improvements in the last 2 years since I looked last. The nicest is 'mingw-get' for installing packages :) Here's

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-20 Thread Hans-Christoph Steiner
I tried these patches a bit but haven't fully tested them yet. But I did just finish updating the MinGW setup, there have been big improvements in the last 2 years since I looked last. The nicest is 'mingw-get' for installing packages :) Here's the documentation on the whole setup, it n

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-20 Thread Patrice Colet
Thank you for answering fast autogen.sh && ./configure && make works good with all the PD__CHECK, I've been running autoconf instead, so now I can submit the patches to the tracker without breaking anything. notice that the compiled files aren't the same as the ones made by makefile.ming

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-20 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/19/2011 08:33 PM, Patrice Colet wrote: > hello, I've attached the patches that make working libtools with msys, but > there is something I couldn't resolve, > > all the PD__CHECK shows synthax errors so those lines are under comments, > m

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-08-19 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > That should work since that happens every night when building with the > > makefile.mingw. I'll try that once we get the other changes into the > > git. > > Do you want to make a git patch for the fixes you've done so far? > That way you're na

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-26 Thread Hans-Christoph Steiner
On Jul 17, 2011, at 8:59 PM, Patrice Colet wrote: - "Patrice Colet" a écrit : I've got asio linking with g++ working, this is explained in here: http://www.mail-archive.com/libtool@gnu.org/msg11308.html # ASIO needs to go after PORTAUDIO in order for it to link properly if ASIO # auto

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-17 Thread Patrice Colet
- "Patrice Colet" a écrit : > I've got asio linking with g++ working, this is explained in here: > > http://www.mail-archive.com/libtool@gnu.org/msg11308.html > > # ASIO needs to go after PORTAUDIO in order for it to link properly > if ASIO > # automake hack to force linking with g++ > SUB

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-17 Thread Patrice Colet
I've got asio linking with g++ working, this is explained in here: http://www.mail-archive.com/libtool@gnu.org/msg11308.html # ASIO needs to go after PORTAUDIO in order for it to link properly if ASIO # automake hack to force linking with g++ SUBDIRS = ../asio # Dummy C++ source to cause C++ link

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-16 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > On Jul 11, 2011, at 1:45 PM, Patrice Colet wrote: > > > > > - "Hans-Christoph Steiner" 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: > >>> > >

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-12 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/12/2011 10:18 PM, Hans-Christoph Steiner wrote: > +#else > +# warning "No dynamic loading mechanism specified, libdl or WIN32 > required for loading externa > #endif "#warning" is a gcc extension, so it's not very portable. btw, "#error" is a

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-12 Thread Hans-Christoph Steiner
On Tue, 12 Jul 2011 09:22 +0200, "IOhannes m zmoelnig" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2011-07-11 19:37, Hans-Christoph Steiner wrote: > > > > > > That makes me think so ./configure is finding libdl find, and then > > setting HAVE_LIBDL, and then the code in

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-12 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-07-11 19:37, Hans-Christoph Steiner wrote: > > > That makes me think so ./configure is finding libdl find, and then > setting HAVE_LIBDL, and then the code in s_loader.c is going to do both > HAVE_LIBDL and the MSW section below it. So I

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread Hans-Christoph Steiner
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" 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/programm

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread Hans-Christoph Steiner
On Jul 11, 2011, at 1:06 PM, Patrice Colet wrote: - "Patrice Colet" 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 line

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread Patrice Colet
- "Patrice Colet" 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

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-07-11 19:02, Patrice Colet wrote: > > - "Patrice Colet" a écrit : > >> The problem I'm encountering on win32 with makefile.am is that pd.dll >> is not built >> >> > > if I add this: > > if WINDOWS > LIBS += -lwsock32 -lwinmm -lole32 >

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread Patrice Colet
- "Patrice Colet" a écrit : > The problem I'm encountering on win32 with makefile.am is that pd.dll > is not built > > if I add this: 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.

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread Patrice Colet
The problem I'm encountering on win32 with makefile.am is that pd.dll is not built - "IOhannes m zmoelnig" 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 t

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread IOhannes m zmoelnig
-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 w

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread Hans-Christoph Steiner
On Jul 11, 2011, at 5:08 AM, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-07-05 13:04, Patrice Colet wrote: I've removed this in configure.ac: # ASIO is a C++ library, so if its included, then use g++ to build CC=g++ compiles fine, only pd.exe is not work

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-11 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-07-05 13:04, Patrice Colet wrote: > I've removed this in configure.ac: > > # ASIO is a C++ library, so if its included, then use g++ to build > CC=g++ > > compiles fine, only pd.exe is not working but pd.dll is fine, everything is > built. >

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-10 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-07-05 18:02, Hans-Christoph Steiner wrote: > > Hmm, that sounds like progress. Perhaps removing CC=g++ and then adding > something like this would work: > > if ASIO > EXTRA_SUBDIRS += asio > # automake hack to force linking with g++ > lib_LT

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-10 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-07-02 13:01, Patrice Colet wrote: > > I've found the odd part of that page is that they use LTLIBRARIES variable > while pd/src/Makefile.am doesn't. > does this mean that you have had no success with the dummy.cpp file (output?) or that you

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-05 Thread Patrice Colet
oopse I didn't see that pd.dll isn't deleted by make clean, if fact it isn't even built, sorry I'll try something else tomorrow. - "Hans-Christoph Steiner" a écrit : > Hmm, that sounds like progress. Perhaps removing CC=g++ and then > adding something like this would work: > > if ASIO

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-05 Thread Hans-Christoph Steiner
Hmm, that sounds like progress. Perhaps removing CC=g++ and then adding something like this would work: if ASIO EXTRA_SUBDIRS += asio # automake hack to force linking with g++ lib_LTLIBRARIES = libdummy.la libdummy_la_SOURCES = # Dummy C++ source to cause C++ linking. nodist_EXTRA_libdummy_l

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-05 Thread Patrice Colet
I've removed this in configure.ac: # ASIO is a C++ library, so if its included, then use g++ to build CC=g++ compiles fine, only pd.exe is not working but pd.dll is fine, everything is built. from all I've read in gnu manuals, automake automatically set g++ for cpp files so there is no need to

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-04 Thread Hans-Christoph Steiner
On Jul 3, 2011, at 3:31 AM, Patrice Colet wrote: - "Hans-Christoph Steiner" a écrit : Ah, right, supporting LTLIBRARIES would be a bigger reorg. Any luck with the LD=$(CXX) option? Still same error, this is exactly like this one: http://lists.puredata.info/pipermail/pd-cvs/2010-08

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-03 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > Ah, right, supporting LTLIBRARIES would be a bigger reorg. Any luck > > with the LD=$(CXX) option? > Still same error, this is exactly like this one: http://lists.puredata.info/pipermail/pd-cvs/2010-08/020963.html the only solution that is workin

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-02 Thread Hans-Christoph Steiner
Ah, right, supporting LTLIBRARIES would be a bigger reorg. Any luck with the LD=$(CXX) option? .hc On Jul 2, 2011, at 7:01 AM, Patrice Colet wrote: I've found the odd part of that page is that they use LTLIBRARIES variable while pd/src/Makefile.am doesn't. On Fri, 01 Jul 2011 19:36

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-02 Thread Patrice Colet
I've found the odd part of that page is that they use LTLIBRARIES variable while pd/src/Makefile.am doesn't. > On Fri, 01 Jul 2011 19:36 +0200, "IOhannes m zmölnig" > > On 07/01/2011 06:24 PM, Hans-Christoph Steiner wrote: > > > > > >> the trick to use g++ for linking, is to use a dummy .cpp fi

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-01 Thread Hans-Christoph Steiner
On Fri, 01 Jul 2011 19:36 +0200, "IOhannes m zmölnig" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/01/2011 06:24 PM, Hans-Christoph Steiner wrote: > > > >> the trick to use g++ for linking, is to use a dummy .cpp file, so > >> autotools will automatically choose g++. > >>

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/01/2011 06:24 PM, Hans-Christoph Steiner wrote: > >> the trick to use g++ for linking, is to use a dummy .cpp file, so >> autotools will automatically choose g++. >> >> something like: >> >> nodist_EXTRA_pd_SOURCES= >> if PORTAUDIO >> nodist_EX

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-01 Thread Hans-Christoph Steiner
On Fri, 01 Jul 2011 11:08 +0200, "IOhannes m zmölnig" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/01/2011 08:40 AM, Patrice Colet wrote: > > > >> needs to figure out how to do the final linking using g++ to link the > >> C > >> ++ ASIO files and C files from the rest. >

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/01/2011 08:40 AM, Patrice Colet wrote: > >> needs to figure out how to do the final linking using g++ to link the >> C >> ++ ASIO files and C files from the rest. >> > > why not using cc for compiling portaudio files, because you need a c++

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-06-30 Thread Patrice Colet
- "Hans-Christoph Steiner" a écrit : > Yeah, that's a annoyance of that build system. I think you need to > make sure your source dir is called 'pd', not something like 'pure- > data' or 'pure-data.git'. We really should finalize the configure.ac > > and Makefile.am for MinGW. Its qu

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-06-30 Thread Hans-Christoph Steiner
On Jun 30, 2011, at 3:44 AM, Patrice Colet wrote: all right it was because of source name indeed because of this: cvs_root_dir = ../.. pd_src = $(cvs_root_dir)/pd pd.exe could be compiled with this file by adding s_utf8.h to HEADERS AH, you are working with an old version of the makefile.ming

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-06-30 Thread Patrice Colet
all right it was because of source name indeed because of this: cvs_root_dir = ../.. pd_src = $(cvs_root_dir)/pd pd.exe could be compiled with this file by adding s_utf8.h to HEADERS (replacing filenames by $(wildcard ../src/*.h) works very well) and s_utf8.c have to be added in SRC by testin

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-06-29 Thread Hans-Christoph Steiner
Yeah, that's a annoyance of that build system. I think you need to make sure your source dir is called 'pd', not something like 'pure- data' or 'pure-data.git'. We really should finalize the configure.ac and Makefile.am for MinGW. Its quite close. I think someone just needs to figure o

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-06-29 Thread Patrice Colet
hello, I've been trying to comile pd-vanilla with makefile.mingw but something weird is happening, the file in makefile.dependencies aren't compiled, I could figure out why. - "Hans-Christoph Steiner" a écrit : > Ok, it was a weird one, I think its fixed, please try it and let me > know. >

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-06-27 Thread Hans-Christoph Steiner
Ok, it was a weird one, I think its fixed, please try it and let me know. .hc On Sun, 19 Jun 2011 23:51 +0100, "Tris Whyte" wrote: > damn i wish i could code, maybe i should try and build it on vista, > have successfully built it on linux before, i would just use the linux > version > but i u

[PD-dev] Pdextended 0.43.1 and vista

2011-06-19 Thread Tris Whyte
damn i wish i could code, maybe i should try and build it on vista, have successfully built it on linux before, i would just use the linux version but i use a lot of vsts and swapping between two O.Ss can be a bit tiresome. (kid on the way? somone has been doing the dirty!! congrats man:-) thank

Re: [PD-dev] Pdextended 0.43.1 and vista

2011-06-19 Thread Hans-Christoph Steiner
Yeah, I think its known its broken on Windows. I'll try to get to it when I can, but with a baby coming soon, that might not happen for a bit. Patches definitely welcome, if anyone figures it out! .hc On Jun 19, 2011, at 2:36 PM, Tris Whyte wrote: hello people, is it known that the auto

[PD-dev] Pdextended 0.43.1 and vista

2011-06-19 Thread Tris Whyte
hello people, is it known that the autobuild of pdextended does not work on vista?, or is it just my laptop thats the trouble? ive never got the autobuild to work, but it does state that its only for xp. if its needed i could help somehow, im dying to try out the new tcl on sindows. would you ne