Thanks James, I have now installed everything locally. When i run any of the faust2vst scripts i get this compile error from steinberg code:
/usr/local/include/vstsdk2.4/public.sdk/source/vst2.x/audioeffect.cpp:512:20: error: non-constant-expression cannot be narrowed from type 'int' to 'char' in initializer list [-Wc++11-narrowing] char temp[2] = {'0' + (char)digit, '\0'}; ^~~~~~~~~~~~~~~~~ /usr/local/include/vstsdk2.4/public.sdk/source/vst2.x/audioeffect.cpp:512:20: note: insert an explicit cast to silence this issue char temp[2] = {'0' + (char)digit, '\0'}; ^~~~~~~~~~~~~~~~~ static_cast<char>( ) 1 error generated. Even if i change this line to: char temp[2] = {'0' + static_cast<char>(digit), '\0'}; I still get the same error. Any ideas? Thanks G. ________________________________ From: James Mckernon <jmcker...@gmail.com> Sent: Saturday, November 21, 2020 11:23 AM To: Boenn, Georg <georg.bo...@uleth.ca> Cc: faudiostream-users@lists.sourceforge.net <faudiostream-users@lists.sourceforge.net> Subject: Re: [Faudiostream-users] vsti midi keys not working Caution: This email was sent from someone outside of the University of Lethbridge. Do not click on links or open attachments unless you know they are safe. Suspicious emails should be forwarded to phish...@uleth.ca. On 11/21/20, Boenn, Georg <georg.bo...@uleth.ca> wrote: > Hi James, > > Thanks for getting back. > I have used the online IDE: https://faustide.grame.fr/ I haven't used the IDE so can't really comment on that. I'm not sure which architecture it uses behind the scenes - the same as faust2vst, faust2faustvst, or some completely other one. > Vst effects work great, It is the midi-fied vsti target that i have problems > with. I seem to recall that with the command-line tools, you need to pass a flag to enable midi, which presumably gets passed on to the architecture. Perhaps the IDE isn't passing this flag properly? No idea, just a guess. > Is it possible to see the intermediate c++ code that faust generates for > vsti compilation if you use the command-line tools? It is possible - I've done it - but I don't think the tools have anything special to make it easy. The executables are mostly just bash scripts - how's your bash? If you're up to it, you can take a look at them to find out what they're doing and/or tweak them. They mostly just write intermediate code to a file in a temporary directory - faust2faustvst seems to write to /tmp/faust2faustvst.XXXXXX, where the XXXXXX are random chars. I think it deletes that directory when it's done, so if you want to you could either remove the line from the script which does that (rm -rf $tmpdir, near the end), or just try to be quick and grab the file before it deletes it. Hope that helps. Cheers, James
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users