Hi Micheal, 4.2.0 worked fine. I appreciate the quick response. - schwaahed On 10/20/05, Michael Gogins wrote: > > The STK version has changed. I will be looking at this soon, and will > probably fix it before next week. Probably, a file that used to be there is > no longer there, or has changed its name. > > I note as well that the STK continues to improve and to add facilities. > I'm looking forward to getting this going. In the meantime, you should be > able to download 4.2.0 and use that. > > Regards, > Mike > > -----Original Message----- > From: schwaahed > Sent: Oct 20, 2005 10:52 AM > To: Csound List > Subject: [Csnd] STK build Error > > Hello, > > I am trying to build the STK support into csound5 (cvs checkout this > morning). > The stk version is 4.2.1 . My platform is Gentoo Linux. I cannot seem to > get > > past this error, I will dive into the SConstruct file to try to track this > down. > However I was wondering If this is something that is known to be broken or > am I missing something obvious? > > Thanks > - schwaahed > > > > > > used these instructions: > > schwaalap csound5 # head -n 31 Opcodes/stk/stkOpcodes.cpp > /* > * CSOUND 5 OPCODES FOR PERRY COOK'S SYNTHESIS TOOLKIT IN C++ (STK) > INSTRUMENT > * > * This code is copyright (C) 2005 by Michael Gogins. It is licensed under > the > * same terms as the Synthesis Tookit in C++ by Perry R. Cook and Gary P. > Scavone. > * > * To compile these opcodes, copy the STK include, src, and rawwaves > directories > * to the csound5/Opcodes/stk directory as follows: > * > * csound5/Opcodes/stk/include > * csound5/Opcodes/stk/src > * csound5/Opcodes/stk/rawwaves > * > * Also, specify buildStkOpcodes=1 for SCons. > * > * To use these opcodes, define a RAWWAVE_PATH environment variable that > points > * to your rawwaves directory, which contains raw soundfiles with function > table data. > * > * All these opcodes are named "STK" + the STK classname, > * e.g. "STKBowed" for the Bowed instrument. > * > * All the STK opcodes have the same signature: > * > * aout STKName ifrequency igain {kcontroller0, kvalue1,...,kcontroller3, > kvalue3} > * > * They take a frequency in Hertz and a gain parameter in the range [0, 1], > * plus up to four optional krate controller-value pairs, and return an > arate > signal > * that should be more or less in the range [-1, +1]. > * See the STK class documentation to determine the controller numbers > * used by each instrument. > */ > schwaalap csound5 # > > > When I run: > > schwaalap csound5 # scons buildStkOpcodes=1 > 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 > > 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 'linux2'. > Build platform is 'linux'. > SCons tools on this platform: ['default', 'gnulink', 'gcc', 'g++', 'g77', > 'gas', 'ar', 'CVS', 'dvipdf', 'dvips', 'gs', 'jar', 'javac', 'javah', > 'latex', 'lex', 'm4', 'pdflatex', 'pdftex', 'RCS', 'rmic', 'swig', 'tar', > 'tex', 'yacc', '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... yes > 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... yes > Checking for C header file jack/jack.h... yes > Checking for C header file lo/lo.h... yes > Checking for C++ header file Opcodes/stk/include/Stk.h... yes > Checking for C header file m_pd.h... yes > Checking for C header file tcl.h... yes > Checking for C header file io.h... no > 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 sys/time.h... yes > Checking for C header file sys/types.h... yes > Checking for C header file termios.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... no > CONFIGURATION DECISION: Building with PortMIDI. > CONFIGURATION DECISION: Building static Csound library > CONFIGURATION DECISION: Not generating PDF documentation. > CONFIGURATION DECISION: Building with FLTK graphs and widgets. > CONFIGURATION DECISION: Not building CoreAudio plugin. > CONFIGURATION DECISION: Building ALSA plugin. > CONFIGURATION DECISION: Building PortAudio module. > Adding Jack library for PortAudio > CONFIGURATION DECISION: 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 = > > /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/blackdown- > jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02 > > /jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin:/usr/share/karamba/bin > Checking for C++ header file jni.h... no > CONFIGURATION DECISION: Not building Java wrappers for CsoundVST. > CONFIGURATION DECISION: Building STK opcodes. > ValueError: list.remove(x): x not in list: > File "SConstruct", line 1170: > stkSources.remove(removeMe) > schwaalap csound5 # > > > > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk >