| I meant the latest version of SConstruct from Csound CVS.
It's VST SDK 2.4 that's used by CsoundVST. But you have a different version
of it than I do, judging by line numbers.
I am looking at my own aeffect.h now... your problem appears to be caused by
the macro VSTCALLBACK not being defined. If you are on Linux, it should be
defined, it is in my version of the file, but just go ahead and add
#define VSTCALLBACK
somewhere near the top of aeffectx.h. On Linux, callbacks don't require
special types, they are like any other function.
It may be you will have to make other similar changes. Perhaps Steinberg has
removed the rudimentary Linux/Unix support in the SDK. Go ahead and email me
your aeffectx.h file so I can check this out.
Hope this helps,
Mike
----- Original Message -----
From: "Atte Andre Jensen"
To:
Sent: Thursday, September 24, 2009 2:24 AM
Subject: [Csnd] downloading csoundvst
> michael.gogins@gmail.com wrote:
>
>> I think with the latest version of SConstruct this should work, which
>> version are you using?
>
> Do you mean which version of scons?
>
> [atte@vestbjerg 09_09_23]$ scons --version
> SCons by Steven Knight et al.:
> script: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
> engine: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
> Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons
> Foundation
>
>> Anyway, even if it does not in the latest SConstruct, you can get it to
>> work by building the Java, Python, or Lua interface, which will create
>> csnd.
>
> Ok with
>
> scons buildCsoundVST=1 buildInterfaces=1
>
> I got as far as the vstsdk stuff. I have already downloaded them (versions
> 2.3, 2.4 and 3) and have successfully build vst plugins with them before.
> Admittedly I don't really understanding the difference between versions
> and the inner logic of it all, but let's leave that.
>
> So I did (from the root of csound5 dir as created by cvs co:
>
> ln -s ~/software/vst/vstsdk2.4/public.sdk/
> ln -s ~/software/vst/vstsdk2.4/pluginterfaces/
>
> But building seems to complain about an error in one of the vstsdk files.
> I tried looking that the other versions (2.3 and 3) but the directory
> layout of those suggests that this is not what csound expects...
>
> Anyways:
>
> [atte@vestbjerg 09_09_23]$ scons buildCsoundVST=1 buildInterfaces=1
>
> CONFIGURATION DECISION: Not calling TAGS
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o
> frontends/CsoundVST/csoundvst_main.o -c -fexceptions -fno-strict-aliasing
> -Wno-format -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -DLINUX
> -DPIPES -fno-strict-aliasing -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DHAVE_SOCKETS
> -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H
> -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
> -DHAVE_VALUES_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
> In file included from ./public.sdk/source/vst2.x/audioeffect.h:16,
> from ./public.sdk/source/vst2.x/audioeffectx.h:17,
> from frontends/CsoundVST/CsoundVST.hpp:32,
> from frontends/CsoundVST/csoundvst_main.cpp:22:
> ./pluginterfaces/vst2.x/aeffect.h:125: error: expected ‘)’ before ‘*’
> token
> In file included from ./public.sdk/source/vst2.x/audioeffect.h:16,
> from ./public.sdk/source/vst2.x/audioeffectx.h:17,
> from frontends/CsoundVST/CsoundVST.hpp:32,
> from frontends/CsoundVST/csoundvst_main.cpp:22:
> ./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
> In file included from ./public.sdk/source/vst2.x/audioeffectx.h:17,
> from frontends/CsoundVST/CsoundVST.hpp:32,
> from frontends/CsoundVST/csoundvst_main.cpp:22:
> ./public.sdk/source/vst2.x/audioeffect.h:27: error: expected ‘)’ before
> ‘audioMaster’
> In file included from ./public.sdk/source/vst2.x/audioeffectx.h:17,
> from frontends/CsoundVST/CsoundVST.hpp:32,
> from frontends/CsoundVST/csoundvst_main.cpp:22:
> ./public.sdk/source/vst2.x/audioeffect.h:155: error: ‘audioMasterCallback’
> does not name a type
> In file included from frontends/CsoundVST/CsoundVST.hpp:32,
> from frontends/CsoundVST/csoundvst_main.cpp:22:
> ./public.sdk/source/vst2.x/audioeffectx.h:27: error: expected ‘)’ before
> ‘audioMaster’
> In file included from frontends/CsoundVST/csoundvst_main.cpp:22:
> 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:40: error: ‘RunCsoundVST_’ was not
> declared in this scope
> scons: *** [frontends/CsoundVST/csoundvst_main.o] Error 1
> scons: building terminated because of errors.
>
> --
> Atte
>
> http://atte.dk http://modlys.dk http://virb.com/atte
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |