Hello Russell and Micheal,
I'd like to thank both of you again. Also wanted to document the successful build
I did this morning from a fresh cvs checkout.
my custom.py exerpt:
if sys.platform[:5] == 'linux':
platform = 'linux'
customCPPPATH.append('/usr/local/include/python2.3')
customLIBPATH.append('/usr/local/lib/python2.3/config')
customCPPPATH.append('/usr/local/src/Archive/Csound/fltk-1.1.6')
customLIBPATH.append('/usr/local/src/Archive/Csound/fltk-1.1.6/lib')
scons buildPDClass=1 buildCsoundVST=1
scons buildPDClass=1 buildCsoundVST=1 install
~/.bashrc excerpt:
export OPCODEDIR=/usr/local/lib/csound/opcodes
export CSSTRNGS=/usr/local/share/csound
export CS_LANG=us
export PYTHONPATH=$PYTHONPATH:"/usr/local/lib":$OPCODEDIR
export LD_LIBRARY_PATH="/usr/local/lib"
I needed the custom.py edited like this for the build to work. I need these lines in my
~/.bashrc in order to be able to run CsoundVST. This is what worked for me on Gentoo
Linux.
Thank You for helping me getting this running. I am extremely excited to play with it today!
schwaahed
>>>>
>>>> schwaahed writes:
>>>>
>>>>> Does anyone know the status of CsoundVST on linux at the moment?
>>>>>
>>>>> I tried to build today on Gentoo linux without any luck. Everything
>>>>> else
>>>>> seems to be working fine for me.
>>>>>
>>>>> This is from today's cvs checkout ( Sept. 20, 2005).
>>>>>
>>>>> I built successfully with these commands:
>>>>>
>>>>> scons buildPDClass=1 buildCsoundVST=0
>>>>> scons buildPDClass=1 buildCsoundVST=0 install
>>>>>
>>>>> My failure goes something like this:
>>>>>
>>>>> scons buildPDClass=1 buildCsoundVST=1
>>>>>
>>>>>
>>>>> <snip>
>>>>> 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
>>>>> Checking for C++ header file jni.h... no
>>>>> CONFIGURATION DECISION: Not building Java wrappers for CsoundVST.
>>>>> CONFIGURATION DECISION: Not building STK opcodes.
>>>>> CONFIGURATION DECISION: Building PD csoundapi~ class
>>>>> CONFIGURATION DECISION: Building DSSI plugin host opcodes.
>>>>> CONFIGURATION DECISION: Not calling TAGS
>>>>> CONFIGURATION DECISION: Calling makedb
>>>>> CONFIGURATION DECISION: Not compiling zip file for release.
>>>>> scons: done reading SConscript files.
>>>>> scons: Building targets ...
>>>>> g++ -fexceptions -Wall -g -gstabs -O2 -DLINUX -DPIPES -DHAVE_FCNTL_H
>>>>> -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H
>>>>> -DHAVE_TERMIOS_H -DHAVE_DIRENT_H -O3 -march=athlon-xp -fomit-frame-pointer
>>>>> -pipe -O3 -march=athlon-xp -fomit-frame-pointer -pipe -DWINDOWS -DUSE_FLTK
>>>>> -fPIC -DBETA -I. -IH -I/usr/include/python2.3
>>>>> -I/usr/local/src/Archive/Csound/fltk-1.1.6 -I/usr/local/include
>>>>> -I/usr/include -I/usr/X11R6/include -I/usr/include/fltk-1.1-I/usr/include/fltk-
>>>>> 1.1 -I/usr/include/freetype2 -Ifrontends/CsoundVST -I/usr/include/python2.3
>>>>> -c -o frontends/CsoundVST/Counterpoint.os
>>>>> frontends/CsoundVST/Counterpoint.cpp
>>>>> In file included from frontends/CsoundVST/Counterpoint.cpp:2:
>>>>> frontends/CsoundVST/Counterpoint.hpp: In member function `int
>>>>> Counterpoint::Us(int, int)':
>>>>> frontends/CsoundVST/Counterpoint.hpp:326: error: no match for
>>>>> 'operator[]'
>>>>> in '((Counterpoint*)this)->Counterpoint::Ctrpt[n]'
>>>>> frontends/CsoundVST/Counterpoint.hpp: In member function `void
>>>>> Counterpoint::SetUs(int, int, int)':
>>>>> frontends/CsoundVST/Counterpoint.hpp:330: error: no match for
>>>>> 'operator[]'
>>>>> in '((Counterpoint*)this)->Counterpoint::Ctrpt[n]'
>>>>> .
>>>>> .
>>>>> .
>>>>> ##### More of the same sort of errors in here ############
>>>>> .
>>>>> .
>>>>> .
>>>>> frontends/CsoundVST/Counterpoint.cpp: In member function `void
>>>>> Counterpoint::toCsoundScore(std::string, double)':
>>>>> frontends/CsoundVST/Counterpoint.cpp:95: error: no match for
>>>>> 'operator[]' in
>>>>> '((Counterpoint*)this)->Counterpoint::Onset[note]'
>>>>> frontends/CsoundVST/Counterpoint.cpp:96: error: no match for
>>>>> 'operator[]' in
>>>>> '((Counterpoint*)this)->Counterpoint::Dur[note]'
>>>>> frontends/CsoundVST/Counterpoint.cpp:97: error: no match for
>>>>> 'operator[]' in
>>>>> '((Counterpoint*)this)->Counterpoint::Ctrpt[note]'
>>>>> scons: *** [frontends/CsoundVST/Counterpoint.os] Error 1
>>>>> scons: building terminated because of errors.
>>>>> </snip>
>>>>>
>>>>> Just wondering if this is what I should expect for now, or could I be
>>>>> doing
>>>>> something else
>>>>> that would would allow me to build CsoundVST right now.
>>>>>
>>>>> Thanks
>>>>> schwaahed
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> schwaalap Working # emerge -p python scons libsndfile portaudio fltk
>>>>> swig
>>>>> boost
>>>>>
>>>>> These are the packages that I would merge, in order:
>>>>>
>>>>> Calculating dependencies ...done!
>>>>> [ebuild R ] dev-lang/python-
2.4.1-r1
>>>>> [ebuild R ] dev-util/scons-0.96.1
>>>>> [ebuild R ] media-libs/libsndfile-1.0.11
>>>>> [ebuild R ] media-libs/portaudio-18.1-r3
>>>>> [ebuild R ] x11-libs/fltk-
1.1.6
>>>>> [ebuild U ] dev-lang/swig-1.3.25 [1.3.21]
>>>>> [ebuild R ] dev-libs/boost-1.33.0
>>>>>
>>>>> portmidi is also installed.
>>>>>
>>>>>
>>>>> # exerpt from custom.py
>>>>> if sys.platform[:5] == 'linux':
>>>>> platform = 'linux'
>>>>> customCPPPATH.append('/usr/include/python2.3')
>>>>> customLIBPATH.append('/usr/lib/python2.3/config')
>>>>> customCPPPATH.append('/usr/local/src/Archive/Csound/fltk-1.1.6')
>>>>> customLIBPATH.append('/usr/local/src/Archive/Csound/fltk-
1.1.6/lib')
>>>>