| yes I realised that. What I meant to say was that I reckon
there are two alternatives here. Csoundapi~ doesn't
work because either
1. PD is built with MSVC and csoundapi~ with gcc
2. PD 0.38 is not compatible with the csoundapi~ code.
I was originally thinking of building csound with minGW but
then I got confused with what to download; so I then decided
to try again to build a MSVC version and it worked for me
for
the first time (although surprisingly not the rtwinmm
module, but
portaudio seems fine for the moment).
Then I built the csoundapi~ and it ran fine.
I'll try PD 0.38 tomorrow and I'll see what happens.
Victor
>
> I don't think I made myself clear (typo by omission). I
> don't have MSVC at all. I should have said "I did not
> build _PD_ from sources with MinGW", but I did build
> csoundapi~ from sources with MINGW.
>
> Regards,
> Mike
>
> Original Message:
> -----------------
> From: Victor Lazzarini Victor.Lazzarini@nuim.ie
> Date: Mon, 27 Jun 2005 18:20:10 +0100
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] csoundapi~ on Windows
>
>
> I built csound fresh from CVS today with MSVC and I
> managed to run the PD example with PD 0.37. What does that
> tell us?
>
> I had to do some changes to sources and SConstruct, but I
> think I now have a way of building a MSVC version with
> scons.
>
> Victor
>
>
> At 14:23 27/06/2005, you wrote:
> >I did not build from sources with MinGW, but I have had
> no difficulty >running CsoundVST (build with MinGW) in
> Cubase SX (built with MSVC). The C >binding should be
> identical for all C/C++ compilers; don't forget, they
> >all have to call into system shared libraries. I saw
> nothing in the PD >headers to indicate a problem. However
> , I will look on the PD list. >
> >Regards,
> >Mike
> >
> >-----Original Message-----
> >From: Victor Lazzarini
> >Sent: Jun 27, 2005 8:36 AM
> >To: csound-devel@lists.sourceforge.net
> >Subject: Re: [Cs-dev] csoundapi~ on Windows
> >
> >Another thought that occurred to me: so far all the PD
> classes I have >developed and
> >built on Windows were done with the Visual C compiler.
> Could it be that a >migwin/gcc
> >DLL would not work with PD (which is built afaik with
> MSVC)? Did you build >your
> >PD 0.38 from the sources with MinGW?
> >
> >Victor
> >
> >At 00:39 27/06/2005, you wrote:
> > >Thanks for the information.
> > >
> > >I ran from the examples/csoundapi_tilde directory as
> > you instructed. It >then connected, but crashed as soon
> > as I started up PD's audio. >
> > >One problem obviously is that the demo orc is for 4
> > channels, whereas my >sound card only has 2. I fixed
> > the orc, and deleted 2 of the audio >outlets so that
> > numlets is 2 instead of 4 in the debugger, but it still
> >crashed. In the debugger, it seems that csin and csout
> > can't be >dereferenced, which probably means they are
> > bad addresses. >
> > >This is a clean build, so I'm not sure what to do next.
> > However, I would >really like to see this thing working
> > on Windows. >
> > >Regards,
> > >Mike
> > >
> > >
> > >----- Original Message -----
> > >From: "Victor Lazzarini"
> > >To:
> > >Sent: Sunday, June 26, 2005 3:30 PM
> > >Subject: Re: [Cs-dev] csoundapi~ on Windows
> > >
> > >
> > > > PD uses 32-bit floats (its own t_float).
> > > >
> > > > From the output below, I see that the problem is
> > > > that for some reason the csd csdapi_demo.csd cannot
> > > > be compiled; this is generally because
> > > > csdapi_demo.csd was not found.
> > > >
> > > > If you start PD anywhere but in the
> > > > examples/csoundapi_tilde directory, this will
> > > > happen. That is because csoundapi looks for
> > > > the csd in the current directory.
> > > >
> > > > You can try csoundapi with any csd.
> > > > For instance, if you start PD, open a new patch and
> > > > then type in an object
> > > >
> > > > csoundapi~ examples/trapped.csd
> > > >
> > > > (provided you are in the top-level csound5
> > > > directory) a new object will be created, load in
> > > > trapped and if you connect it to dac~ and start PD,
> > > > you'll hear Rick Boulanger's
> > > > piece.
> > > >
> > > > Victor
> > > >
> > > >> input channels = 2, output channels = 2
> > > >> input channels = 2, output channels = 2
> > > >> 1 devices in, 1 devices out
> > > >> tried
> > > >>
> > > C:\\utah\\opt\\pd-0.38-4-devel-2\\bin\\csoundapi~.dll
> and >> failed tried c:\\utah\\opt\\csound\\csoundapi~.dll
> > > and >> succeeded
> > > >>
> > > >> csoundapi~ 1.0
> > > >> A PD csound class using the Csound 5.00 API
> > > >> (c) V Lazzarini, 2005
> > > >>
> > > >> csapi_demo.csd
> > > >> csoundapi~ warning: could not compile
> > > >> csoundapi.pd 4 0 39 3 (adc~->csoundapi~/csoundapi~)
> > > >> connection failed csoundapi.pd 4 1 39 3
> > > >> (adc~->csoundapi~/csoundapi~) connection failed
> > > >> csoundapi.pd 39 3 0 1 (csoundapi~/csoundapi~->dac~)
> > > >> connection failed csoundapi.pd 39 4 24 0
> > > >> (csoundapi~/csoundapi~->message) connection failed
> > > >> csoundapi~ run: 1 csoundapi~ warning: not compiled
> > > >>
> > > >
> > > >
> > > >
> > > >
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> > > > Migration Strategies from IBM. Find simple to follow
> > > > Roadmaps, straightforward articles, informative
> > > > Webcasts and more! Get everything you need to get up
> to speed, fast.
> > > >
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > > > _______________________________________________
> > > > Csound-devel mailing list
> > > > Csound-devel@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> > > >
> > >
> > >
> > >
> > >-------------------------------------------------------
> > >SF.Net email is sponsored by: Discover Easy Linux
> > Migration Strategies >from IBM. Find simple to follow
> > Roadmaps, straightforward articles, >informative
> > Webcasts and more! Get everything you need to get up to
> >speed, fast.
> >
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > >_______________________________________________
> > >Csound-devel mailing list
> > >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
> > >Victor Lazzarini
> >Music Technology Laboratory
> >Music Department
> >National University of Ireland, Maynooth
> >
> >
> >
> >-------------------------------------------------------
> >SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies >from IBM. Find simple to follow
> Roadmaps, straightforward articles, >informative Webcasts
> and more! Get everything you need to get up to >speed,
> fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
> > >
> >
> >
> >
> >-------------------------------------------------------
> >SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies >from IBM. Find simple to follow
> Roadmaps, straightforward articles, >informative Webcasts
> and more! Get everything you need to get up to >speed,
> fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies from IBM. Find simple to follow
> Roadmaps, straightforward articles, informative Webcasts
> and more! Get everything you need to get up to speed,
> fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ----------------------------------------------------------
> ---------- mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies from IBM. Find simple to follow
> Roadmaps, straightforward articles, informative Webcasts
> and more! Get everything you need to get up to speed,
> fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |