Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Building on Windows

Date2006-04-28 12:12
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building on Windows
>
> I am having problems understanding how to build on
> Windows.  I have mingw/msys installed but when I run scons
> I get a silly error about invalid numeric argument /Wall

I have been building and using static Csound libs with MSVC.
I can send you a package with them. I have not build off
the latest sources, but it should be just a matter of
doing it.

By the way, it looks like scons is finding the MSVC
compiler (cl.exe) instead of gcc.
If you want to try to build with
it just use scons MSVC=1 (you might need to add
extra paths to custom.py). Oh and by the way MSVC6.0
does not build the swig-generated wrappers as it
does not understand some of the C++ code generated
by it.

Victor

>
> Alternatively, is there a prebuilt csound.a that I can
> build against with MSVC++?
> ==John ff
>
>
> file c:\Python24\scons\SCons\Environment.py,line 1019:
>         Configure( confdir = .sconf_temp )
>
> Checking for C header file stdio.h... scons:
> `.sconf_temp\conftest_0.c' is up to date. cl -Wall -g
> -gstabs -O2 /nologo -D_WIN32 -DWIN32 -DPIPES -DOS_IS_WIN32
> -mthreads -DBETA /I. /IH /IC:\msys\1.0\mingw\include
> /IC:\home\mkg\projects\portaudio\pa_common
> /IC:\opt\portmidi\pm_common /IC:\opt\portmidi\pm_win
> /IC:\opt\portmidi\porttime /IC:\opt\Python24\include
> /IC:\opt\lua-5.1\src /IC:\opt\Tcl\include /IC:\opt\boost
> /IC:\home\mkg\projects\fluid\fluidsynth\include
> /IC:\opt\jdk1.5.0\include /IC:\opt\jdk1.5.0\include\win32
> /IC:\opt\pd-0.38-4-devel-2\src /IC:\opt\fftw-3.0.1\api
> /I\usr\local\include /I\usr\include /c
> sconf_temp\conftest_0.c /Fo.sconf_temp\conftest_0.obj
> Command line error D2021 : invalid numeric argument
> '/Wall' scons: *** [.sconf_temp\conftest_0.obj] Error 2
> no
> Failed program was:
> 1:
> 2: #include 
> 3:
> Error message: failed to compile test program
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web
> services, security? Get stuff done quickly with
> pre-integrated technology to make your job easier Download
> IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-04-28 12:46
FromIstvan Varga
SubjectRe: [Cs-dev] Building on Windows
AttachmentsNone