Build Csound 5 problems

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Build Csound 5 problems

Michael Rempel
I still have problems building csound5.

I have updated my installation. The only difference between CVS and my
installation is the custom.py

I took your advise Gabriel, and simplified my path statement.

All the packages and CSound itself are installed in the administrator home
directory:
/c/home/administrator in msys.

SET PATH=C:\Mingw\bin;c:\j2sdk\bin is now in my msys.bat file at the top.

my execution batch file looks like this:
cd /home/administrator/csound5
/c/python23/python c:/python23/scripts/scons

There is one line in the custom.py that I cant figure out,
cygwin_import_libs is not a directory in CVS.

I am including the complete custom.py and output from scons below.


'''
Modify this file, by platform, to handle nonstandard options for third-party
dependencies. If you do modify this file, you should make it read-only
(or otherwise protect it) so that CVS will not overwrite it.

Order is important: place local paths ahead of system paths.
'''
import sys

customCPPPATH = []
customCCFLAGS = []
customCXXFLAGS = []
customLIBS = []
customLIBPATH = []
customSHLINKFLAGS = []
customSWIGFLAGS = []

if sys.platform[:5] == 'linux':
    platform = 'linux'
    customCPPPATH.append('/usr/local/include/python2.3')
    customLIBPATH.append('/usr/local/lib/python2.3/config')
elif sys.platform == 'cygwin':
    platform = 'cygwin'
    customCPPPATH.append('c:/utah/usr/Python23/include')
elif sys.platform[:3] == 'win':
    # For the basic build you need MinGW, MSys, and libsndfile.
    # Add them here:
    customLIBPATH.append('c:/mingw/lib')
    customCPPPATH.append('c:/msys/local/include')
    customLIBPATH.append('c:/msys/local/lib')
    # If libsndfile is not in a standard location add it here:
    customCPPPATH.append('C:/msys/home/Administrator/libsndfile-1.0.11/src')
    customLIBPATH.append('C:/msys/home/Administrator/libsndfile-1.0.11')
    ################################################################
    # If you want real-time audio you need PortAudio.
    # If it is not in a standard location add it here
    # (of course you must build it first):
    customCPPPATH.append('C:/msys/home/Administrator/portaudio/pa_common')
    customLIBPATH.append('C:/msys/home/Administrator/portaudio/lib')
    ################################################################
    # If you want FLTK widgets or if you want to build CsoundVST,
    # you need FLTK. If it is not in a standard location,
    # add it here (of course you must build it first):
    customCPPPATH.append('C:/msys/home/Administrator/fltk-1.1.6')
    customLIBPATH.append('C:/msys/home/Administrator/fltk-1.1.6/lib')
    ################################################################
    # If you want to build CsoundVST you need Python and
    # a MinGW import library for Python. Add them here:
    customCPPPATH.append('c:/Python23/include')
    customCPPPATH.append('c:/mingw/include')
    # customLIBPATH.append('c:/projects/csound5/cygwin_import_libs')
    # June 2005 MSR, assumed above line is depricated. path not standard,
csound5 doesnt have the folder.
    customSWIGFLAGS.append('-Derrmsg=err_msg')
    ################################################################
    # If you want to build CsoundVST you need boost.
    # If it is not in a standard lcoation add it here
    # (you do NOT need to build it first):
    customCPPPATH.append('c:/msys/home/Administrator/boost_1_32_0')
    ################################################################
    # If you want to build the FluidSynth opcodes
    # you need FluidSynth. If it is not a standard location,
    # add it here (you do NOT need to build it first):
    customLIBPATH.append('c:/msys/home/Administrator/fluidsynth-1.0.3')

customCPPPATH.append('c:/msys/home/Administrator/fluidsynth-1.0.3/include')
    ################################################################
    # If you want to build the Java wrapper for CsoundVST
    # you need Java. If it is not in a standard location,
    # add it here (you do NOT need to build it first):
    customCPPPATH.append('C:/j2sdk/include')
    customCPPPATH.append('C:/j2sdk/include/win32')
    ################################################################
    # If you want to build the PD external csoundapi~
    # you need PD. If it is not in a standard location,
    # add it here (you do NOT need to build it first):

    #customCPPPATH.append('c:/utah/opt/pd-0.38-4-devel-2/src')
    #customCPPPATH.append('c:/utah/opt/pd-0.38-4-devel-2/bin')
    platform = 'mingw'
else:
    platform = 'unsupported platform'





Administrator@MICHAEL ~
$ ./build
scons: Reading SConscript files ...

C S O U N D 5

SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.

By Michael Gogins <gogins at pipeline dot com>

For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
    with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
    and use www.python.org WIN32 Python to run scons.
For Cygwin, run in the Cygwin shell
    and use Cygwin Python to run 'scons'.

System platform is 'win32'.
Build platform is 'mingw'.
SCons tools on this platform:  ['default', 'mingw', 'gcc', 'g++', 'gnulink',
'ar                                             ', 'gas', 'jar', 'javac',
'javah', 'm4', 'rmic', 'tar', 'zip']

CONFIGURATION DECISION: Using single-precision floating point for audio
samples.
Checking for C header file sndfile.h... yes
Checking for C header file portaudio.h... yes
Checking for C header file portmidi.h... no
Checking for C++ header file FL/Fl.H... yes
Checking for C++ header file boost/any.hpp... yes
Checking for C header file alsa/asoundlib.h... no
Checking for C header file jack/jack.h... no
Checking for C header file lo/lo.h... no
Checking for C++ header file Opcodes/stk/include/Stk.h... no
Checking for C header file m_pd.h... no
Checking for C header file io.h... yes
Checking for C header file fcntl.h... yes
Checking for C header file unistd.h... yes
Checking for C header file stdint.h... yes
Checking for C header file malloc.h... yes
Checking for C header file os.h... no
Checking for C header file sys/ioctl.h... no
Checking for C header file sys/time.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file ctype.h... yes
Checking for C header file termios.h... no
Checking for C header file string.h... yes
Checking for C header file dirent.h... yes
Checking for C header file Opcodes/Loris/src/loris.h... no
CONFIGURATION DECISION: Not building Loris Python extension and Csound
opcodes.
Checking for C++ header file jni.h... yes
CONFIGURATION DECISION: Building without real time MIDI support.
CONFIGURATION DECISION: Building with FLTK for graphs and widgets.
CONFIGURATION DECISION: Building static Csound library
CONFIGURATION DECISION: Not generating PDF documentation.
CONFIGURATION DECISION: Not building CoreAudio plugin.
CONFIGURATION DECISION: Not building ALSA plugin.
CONFIGURATION DECISION: Building PortAudio module.
CONFIGURATION DECISION: Not building JACK plugin.
CONFIGURATION DECISION: Not building OSC plugin.
Checking for C header file fluidsynth.h... yes
CONFIGURATION DECISION: Building fluid opcodes.
CONFIGURATION DECISION: Building CsoundVST plugin and standalone.
PATH =
.;C:\msys\local\bin;c:\MinGW\bin;C:\msys\bin;c:\MinGW\bin;c:\j2sdk\bin
Checking for C++ header file jni.h... yes
CONFIGURATION DECISION: Building Java wrappers for CsoundVST.

scons: *** Two different sets of overrides were specified for the same
target: f
rontends\CsoundVST\CsoundVST.o
File "SConstruct", line 1102, in ?

Administrator@MICHAEL ~
$


--
Send bugs reports to this list.
To unsubscribe, send email to [hidden email]