Yes, to keep things simple, the basename of the dsp source is currently
used for a bunch of different identifiers needed when generating the LV2
bundle, and one of these is the dsp class name, so it must be a valid C++
identifier.

We should probably overhaul this simplistic scheme some time, so I've
opened a ticket for this at the upstream faust-lv2 project:
https://bitbucket.org/agraef/faust-lv2/issue/1. If anyone is bothered
enough by this issue then please let me know or leave a note there; I
always have so many things on my infinite TODO list that it probably won't
be fixed anytime soon otherwise. ;-)

Albert

On Sun, Nov 2, 2014 at 1:50 AM, Viacheslav Lotsmanov <lotsmano...@gmail.com>
wrote:

> Thank you! I just renamed channel-delay-stereo to channelDelayStereo
> and now my issue solved.
>
> On 2 November 2014 00:06, Harry van Haaren <harryhaa...@gmail.com> wrote:
> > On Sat, Nov 1, 2014 at 8:51 PM, Viacheslav Lotsmanov <
> lotsmano...@gmail.com>
> > wrote:
> >>
> >> I try to build some dsp to LV2 plugin and got this error:
> >> ```
> >> $ env LANG=en faust2lv2 channel-delay-stereo.dsp
> >> /tmp/tmp.kcV5qmK0Om/channel-delay-stereo.cpp:389:14: error: expected
> >> unqualified-id before '-' token
> >>  class channel-delay-stereo : public dsp {
> >>               ^
> >
> > Faust-LV2 seems to replace spaces in DSP names with -, which isn't
> allowed
> > as a classname. Try removing the spaces, and see if that works.
> >
> > Note that with FAUST at 0.9.67 this issue doesn't occur.
> >
> > HTH, -Harry
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>



-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email:  aggr...@gmail.com
WWW:    https://plus.google.com/+AlbertGraef
------------------------------------------------------------------------------
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to