Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: csound5 compilation in windows

Date2007-11-13 17:01
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: csound5 compilation in windows
Yes, but the latest MSYS/MinGW does not build csound. There is
something not quite right with it. I know how to install and set-up
the system and it does not work with the scons build anymore.
An older mingw does (3.4.2).

Victor

At 16:57 13/11/2007, you wrote:
>Getting this build system to work can be tricky.
>
>As I recall:
>
>1. Install MSys.
>2. Install MinGW where MSys expects it. You should install the gcc-core, 
>gcc-g++, mingw-runtime, w31api, mingw32-make, and binutils packages. All 
>of these appear to be necessary to get close to a Posix type build system.
>3. If necessary, modify custom.py to point to /usr/local/include and 
>/usr/local lib using, however, the complete WINDOWS (not MSys/Posix) pathnames.
>
>See http://www.mingw.org/MinGWiki/index.php/Install%20MinGW for more 
>information. This appears to be reasonably current.
>
>Hope this helps,
>Mike
>
>-----Original Message-----
> >From: Matti Koskinen 
> >Sent: Nov 13, 2007 8:33 AM
> >To: csound@lists.bath.ac.uk
> >Subject: [Csnd] Re: Re: csound5 compilation in windows
> >
> >Victor Lazzarini kirjoitti:
> >> If you are using scons 0.97, try reverting to scons 0.96. I think
> >> that might be the problem.
> >
> >Thanks, but no go. I installed scons 0.96 (there were several versions
> >of 0.96) and installed msys, but still getting error compiling
> >conftest_0.c. config log says that application has requested runtime to
> >terminate it in an unusual way.
> >
> >Mingw was installed via install program which downloaded packages from
> >the net, so mingw should be the most recent version.
> >
> >
> >
> >
> >Send bugs reports to this list.
> >To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
>
>
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


Date2007-11-13 18:20
FromMatti Koskinen
Subject[Csnd] Re: Re: Re: Re: Re: csound5 compilation in windows
So it's mingw, not me :-)

Anyway I tried msvc. After putting ifndef around intptr_t and uintptr_t, 
compilation started. I got so far that everything compiled after 
commenting out word PUBLIC in csoundGetFirstMessage, which gave syntax 
error.

Linking the dll fails because of _DllMain@12 is both in threads.obj and 
csound.obj. This is something that's beyond my c-knowledge. Looking at 
the code doesn't reveal me anything. ???

Maybe it's time to find my linux machine. I have colinux in this 
machine, and csound compiles and works with pulseaudio server in windows 
and alsa plugins in colinux, even in real time, only sr must be 11025 or 
else csound gives the first note and hangs after that.

-matti