Hello,
I'm trying to build Csound with Csound VST in Linux and using a checkout from CVS. First it asked for the VST sdk files which I copied into the Csound source directory, but then I can't get pass this errors:
g++ -o frontends/CsoundVST/csoundvst_main.o -c -fexceptions -Wall -g -O2 -DLINUX -DPIPES -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DSDFT -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/fltk-
1.1 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include -Ifrontends/CsoundVST -Iinterfaces frontends/CsoundVST/csoundvst_main.cpp
./pluginterfaces/vst2.x/aeffect.h:125: error: expected `)' before '*' token
./pluginterfaces/vst2.x/aeffect.h:126: error: expected `)' before '*' token
./pluginterfaces/vst2.x/aeffect.h:127: error: expected `)' before '*' token
./pluginterfaces/vst2.x/aeffect.h:128: error: expected `)' before '*' token
./pluginterfaces/vst2.x/aeffect.h:129: error: expected `)' before '*' token
./pluginterfaces/vst2.x/aeffect.h:130: error: expected `)' before '*' token
./pluginterfaces/vst2.x/aeffect.h:149: error: 'AEffectDispatcherProc' does not name a type
./pluginterfaces/vst2.x/aeffect.h:152: error: 'AEffectProcessProc' does not name a type
./pluginterfaces/vst2.x/aeffect.h:155: error: 'AEffectSetParameterProc' does not name a type
./pluginterfaces/vst2.x/aeffect.h:158: error: 'AEffectGetParameterProc' does not name a type
./pluginterfaces/vst2.x/aeffect.h:183: error: 'AEffectProcessProc' does not name a type
./pluginterfaces/vst2.x/aeffect.h:187: error: 'AEffectProcessDoubleProc' does not name a type
./public.sdk/source/vst2.x/audioeffect.h:27: error: expected `)' before 'audioMaster'
./public.sdk/source/vst2.x/audioeffect.h:155: error: 'audioMasterCallback' does not name a type
./public.sdk/source/vst2.x/audioeffectx.h:27: error: expected `)' before 'audioMaster'
frontends/CsoundVST/CsoundVST.hpp:84: error: expected `)' before 'audioMaster'
frontends/CsoundVST/csoundvst_main.cpp: In function 'int main(int, char**)':
frontends/CsoundVST/csoundvst_main.cpp:42: error: 'CreateCsoundVST_' was not declared in this scope
frontends/CsoundVST/csoundvst_main.cpp:43: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'void*'
frontends/CsoundVST/csoundvst_main.cpp:49: warning: unused variable 'status'
scons: *** [frontends/CsoundVST/csoundvst_main.o] Error 1
scons: building terminated because of errors.
Do I need the VST SDK to build Csound VST? I thought it was only needed for vst4cs (which I'm not building). I'm using the VST SDK v
2.4 since that's the one that had the same directory structure that the CsoundVST source looks for, so I assumed 2.4 is the right version to use.
I'm trying to build CsoundVST because I want to start learning to build GUI's with Python and calling Csound from it. Do I have to build CsoundVST in order to have the Csound Python API? I tried importing the csound library using an installation of Csound without CsoundVST and I got this:
>>> import csnd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/csnd.py", line 7, in <module>
import _csnd
ImportError: /usr/lib/python2.5/site-packages/_csnd.so: undefined symbol: csoundSetKillXYinCallback
Thanks!
Hector