Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4480] Csound5 and MinGW

Date2004-04-22 04:30
From"Michael Gogins"
Subject[CSOUND-DEV:4480] Csound5 and MinGW
I am now able to build a functional version of Csound5 using only MinGW.
PortAudio and libsndfile also were built with MinGW.

The version of libsndfile used was a pre-release version by Erik de Castro
Lopo that may be available at:

http://www.mega-nerd.com/tmp/libsndfile-1.0.10pre4.tar.gz

Erik is working on a version of libsndfile that will build and pass tests on
MinGW, but I do not know when it will be released.

I have updated csound.pdf and committed that to CVS as well. It serves as a
replacement for the README which is obsolete and will be replaced by a text
version of the PDF.

To do:

MIDI in on Windows
Verify VST plugin still works
Loris plugin opcode
Verify Linux build with this SConstruct
Mathematica interface
Add usage tutorials to CVS and to csound.pdf.

Thanks to Erik, John Fitch, Steven Yi, and everyone else who has been
working to bring Csound 5 to life.

Would it be feasible to remove all autotools build files and Makefiles from
Csound 5 CVS? Is anyone building Csound 5 in any other way except with
scons?

Date2004-04-22 11:03
FromJohn ffitch
Subject[CSOUND-DEV:4487] Re: Csound5 and MinGW
On Wed, 21 Apr 2004, Michael Gogins wrote:

> Would it be feasible to remove all autotools build files and Makefiles from
> Csound 5 CVS? Is anyone building Csound 5 in any other way except with
> scons?
> 

I think it would be a GOOD THING to remove the autotools which were such a 
problem.  I am using scons on RedHat and Debian, and on OSX.  Not so sure 
about Windows as I do not have MinGW or even GCC on that machine.

==John ff

Date2004-04-22 11:10
Fromstevenyi
Subject[CSOUND-DEV:4488] Csound5 and OSX
Hi Michael and all,

I'm happy to say after a few hours tonight of working together with
Matt, csound5 compiles and runs on OSX!  After a few hurdles and
necessary changes to source it appears that all opcode libraries (except
pitch.c, which had issues with getChar() not in the API; I'm sure Matt
will be able to explain it better than I), csound, and utilities were
built.  We ran csound on Xanadu.csd and able to generate a wav which
played correctly.  

We did not try portaudio (last I checked it was not yet ready for OSX)
or FLTK, so this build renders to disk only. 

There are some things that got brought up while we went through code
which I can't remember at the moment (it's late...), but the one thing I
noted was that currently libcsound is built only as a static library.  

I've just updated from CVS here at home and Csound5 compiles with the
OSX changes without problem on my Linux machine.  With Michael's work in
getting Csound5 going on MinGW, I'm pretty excited that csound5 is now
at a state where it can be built and run on these platforms. 

steven

^_^

p.s. - In regards to cleaning up the CVS, we found a few files tonight
that seemed unnecessarily duplicated within the source tree (i.e.
Top/pvlook.c and util2/pvlook.dir/pvlook.c).  I'd like to throw out all
files that are duplicates and not in the SConstruct file.  Any
objections?



On Wed, 2004-04-21 at 20:30, Michael Gogins wrote:
> I am now able to build a functional version of Csound5 using only MinGW.
> PortAudio and libsndfile also were built with MinGW.
> 
> The version of libsndfile used was a pre-release version by Erik de Castro
> Lopo that may be available at:
> 
> http://www.mega-nerd.com/tmp/libsndfile-1.0.10pre4.tar.gz
> 
> Erik is working on a version of libsndfile that will build and pass tests on
> MinGW, but I do not know when it will be released.
> 
> I have updated csound.pdf and committed that to CVS as well. It serves as a
> replacement for the README which is obsolete and will be replaced by a text
> version of the PDF.
> 
> To do:
> 
> MIDI in on Windows
> Verify VST plugin still works
> Loris plugin opcode
> Verify Linux build with this SConstruct
> Mathematica interface
> Add usage tutorials to CVS and to csound.pdf.
> 
> Thanks to Erik, John Fitch, Steven Yi, and everyone else who has been
> working to bring Csound 5 to life.
> 
> Would it be feasible to remove all autotools build files and Makefiles from
> Csound 5 CVS? Is anyone building Csound 5 in any other way except with
> scons?
> 
>