Csound Csound-dev Csound-tekno Search About

[Cs-dev] Building Csound on Windows

Date2009-12-02 17:49
FromAndy Fillebrown
Subject[Cs-dev] Building Csound on Windows


Hello,

I'm preparing to build Csound using Msys-1.0 and Mingw-3.4.5 (the version Qt includes in their sdk).  I'm going to try building it with the older version of Mingw before risking a break in the Qt sdk installation.  My goal is to build minimal debug and release versions of Csound that are built with the same tools I use for AudioCarver and QuteCsound.  Using the build instructions from csound.tex and csound-build.tex as a guide, here is my current plan (please let me know if there's anything I'm missing) ...

- (done) - install the qt-4.5 sdk, which includes mingw-3.4.5
- (done) - install msys-1.0 and set it to use mingw from the qt sdk
- (done) - install current version of python and scons
- (todo) - build libsndfile-1.0.20 in msys via ./configure && make && make install
- (todo) - build portaudio-v19 with asio in msys using the SConstruct in csound-build.tex
- (todo) - build csound-5.11.1 in msys using $$ python c:/tools/python23/scripts/scons

To build debug versions, csound-build.tex says I should build release versions with debug info and no optimizations.  Is this so they will link to the correct ms c-runtime (msvcrt.dll)?  Can I assume that release versions with debug info will still allow me to set breakpoints in the csound code using gdb?

Cheers,
~ andy.f




------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-12-02 18:18
FromMichael Gogins
SubjectRe: [Cs-dev] Building Csound on Windows
Use the prebuilt version of libsndfile. Otherwise, sounds good.

I'll be around if you have questions.

Regards,
Mike

On 12/2/09, Andy Fillebrown  wrote:
>
>
>
> Hello,
>
> I'm preparing to build Csound using Msys-1.0 and Mingw-3.4.5 (the version Qt
> includes in their sdk).  I'm going to try building it with the older version
> of Mingw before risking a break in the Qt sdk installation.  My goal is to
> build minimal debug and release versions of Csound that are built with the
> same tools I use for AudioCarver and QuteCsound.  Using the build
> instructions from csound.tex and csound-build.tex as a guide, here is my
> current plan (please let me know if there's anything I'm missing) ...
>
> - (done) - install the qt-4.5 sdk, which includes mingw-3.4.5
> - (done) - install msys-1.0 and set it to use mingw from the qt sdk
> - (done) - install current version of python and scons
> - (todo) - build libsndfile-1.0.20 in msys via ./configure && make && make
> install
> - (todo) - build portaudio-v19 with asio in msys using the SConstruct in
> csound-build.tex
> - (todo) - build csound-5.11.1 in msys using $$ python
> c:/tools/python23/scripts/scons
>
> To build debug versions, csound-build.tex says I should build release
> versions with debug info and no optimizations.  Is this so they will link to
> the correct ms c-runtime (msvcrt.dll)?  Can I assume that release versions
> with debug info will still allow me to set breakpoints in the csound code
> using gdb?
>
> Cheers,
> ~ andy.f
>
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-12-02 19:29
FromAndy Fillebrown
SubjectRe: [Cs-dev] Building Csound on Windows


libsndfile seems to have built ok and I'd rather use that version, if possible.  Will it not work?

~ af



----- Original Message ----- 
From: "Michael Gogins"  
To: "Developer discussions"  
Sent: Wednesday, December 2, 2009 1:18:10 PM (GMT-0500) America/New_York 
Subject: Re: [Cs-dev] Building Csound on Windows 

Use the prebuilt version of libsndfile. Otherwise, sounds good. 

I'll be around if you have questions. 

Regards, 
Mike 

On 12/2/09, Andy Fillebrown  wrote: 
> 
> 
> 
> Hello, 
> 
> I'm preparing to build Csound using Msys-1.0 and Mingw-3.4.5 (the version Qt 
> includes in their sdk). I'm going to try building it with the older version 
> of Mingw before risking a break in the Qt sdk installation. My goal is to 
> build minimal debug and release versions of Csound that are built with the 
> same tools I use for AudioCarver and QuteCsound. Using the build 
> instructions from csound.tex and csound-build.tex as a guide, here is my 
> current plan (please let me know if there's anything I'm missing) ... 
> 
> - (done) - install the qt-4.5 sdk, which includes mingw-3.4.5 
> - (done) - install msys-1.0 and set it to use mingw from the qt sdk 
> - (done) - install current version of python and scons 
> - (todo) - build libsndfile-1.0.20 in msys via ./configure && make && make 
> install 
> - (todo) - build portaudio-v19 with asio in msys using the SConstruct in 
> csound-build.tex 
> - (todo) - build csound-5.11.1 in msys using $$ python 
> c:/tools/python23/scripts/scons 
> 
> To build debug versions, csound-build.tex says I should build release 
> versions with debug info and no optimizations. Is this so they will link to 
> the correct ms c-runtime (msvcrt.dll)? Can I assume that release versions 
> with debug info will still allow me to set breakpoints in the csound code 
> using gdb? 
> 
> Cheers, 
> ~ andy.f 
> 
> 
> 
> 
> ------------------------------------------------------------------------------ 
> Join us December 9, 2009 for the Red Hat Virtual Experience, 
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere. 
> http://p.sf.net/sfu/redhat-sfdev2dev 
> _______________________________________________ 
> Csound-devel mailing list 
> Csound-devel@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/csound-devel 
> 


-- 
Michael Gogins 
Irreducible Productions 
http://www.michael-gogins.com 
Michael dot Gogins at gmail dot com 

------------------------------------------------------------------------------ 
Join us December 9, 2009 for the Red Hat Virtual Experience, 
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere. 
http://p.sf.net/sfu/redhat-sfdev2dev 
_______________________________________________ 
Csound-devel mailing list 
Csound-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-12-02 19:49
FromMichael Gogins
SubjectRe: [Cs-dev] Building Csound on Windows
If it does work fine, and it certainly should, it will not behave any
differently from the one in the libsndfile official installer. Why
should you spend time fixing something that is not broken?

Regards,
Mike

On 12/2/09, Andy Fillebrown  wrote:
>
>
>
> libsndfile seems to have built ok and I'd rather use that version, if
> possible.  Will it not work?
>
> ~ af
>
>
>
> ----- Original Message -----
> From: "Michael Gogins" 
> To: "Developer discussions" 
> Sent: Wednesday, December 2, 2009 1:18:10 PM (GMT-0500) America/New_York
> Subject: Re: [Cs-dev] Building Csound on Windows
>
> Use the prebuilt version of libsndfile. Otherwise, sounds good.
>
> I'll be around if you have questions.
>
> Regards,
> Mike
>
> On 12/2/09, Andy Fillebrown  wrote:
>>
>>
>>
>> Hello,
>>
>> I'm preparing to build Csound using Msys-1.0 and Mingw-3.4.5 (the version
>> Qt
>> includes in their sdk). I'm going to try building it with the older
>> version
>> of Mingw before risking a break in the Qt sdk installation. My goal is to
>> build minimal debug and release versions of Csound that are built with the
>>
>> same tools I use for AudioCarver and QuteCsound. Using the build
>> instructions from csound.tex and csound-build.tex as a guide, here is my
>> current plan (please let me know if there's anything I'm missing) ...
>>
>> - (done) - install the qt-4.5 sdk, which includes mingw-3.4.5
>> - (done) - install msys-1.0 and set it to use mingw from the qt sdk
>> - (done) - install current version of python and scons
>> - (todo) - build libsndfile-1.0.20 in msys via ./configure && make && make
>>
>> install
>> - (todo) - build portaudio-v19 with asio in msys using the SConstruct in
>> csound-build.tex
>> - (todo) - build csound-5.11.1 in msys using $$ python
>> c:/tools/python23/scripts/scons
>>
>> To build debug versions, csound-build.tex says I should build release
>> versions with debug info and no optimizations. Is this so they will link
>> to
>> the correct ms c-runtime (msvcrt.dll)? Can I assume that release versions
>> with debug info will still allow me to set breakpoints in the csound code
>> using gdb?
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Join us December 9, 2009 for the Red Hat Virtual Experience,
>> a free event focused on virtualization and cloud computing.
>> Attend in-depth sessions from your desk. Your couch. Anywhere.
>> http://p.sf.net/sfu/redhat-sfdev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-12-02 20:06
FromErik de Castro Lopo
SubjectRe: [Cs-dev] Building Csound on Windows
Andy Fillebrown wrote:

> libsndfile seems to have built ok

I suspect that the one you build doesn't support Ogg/Vorbis or
FLAC.

> and I'd rather use that version, if possible.  Will it not work?

Did you run the test suite? After "make" do "make check".

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-12-02 20:37
FromMichael Gogins
SubjectRe: [Cs-dev] Building Csound on Windows
I heartily second the motion. "If it ain't broke, don't [wasting your
precious time] fix it."

Regards,
Mike

On 12/2/09, Erik de Castro Lopo  wrote:
> Andy Fillebrown wrote:
>
>> libsndfile seems to have built ok
>
> I suspect that the one you build doesn't support Ogg/Vorbis or
> FLAC.
>
>> and I'd rather use that version, if possible.  Will it not work?
>
> Did you run the test suite? After "make" do "make check".
>
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net