RNBO Compiler Error

amonk's icon

Suddenly getting this RNBO compiler error :


Errors occurred while compiling generated code:

error: 836:14:duplicate case value '760652352'
827:14:previous case defined here


The line referenced is this :

void processClockEvent(MillisecondTime time, ClockId index, bool hasValue, ParameterValue value) {
RNBO_UNUSED(value);
RNBO_UNUSED(hasValue);
this->updateTime(time);

switch (index) {
case 760652352:
this->line_01_target_bang();
break;
case 760652352:
this->line_02_target_bang();
break;
}
}


It started giving this error and crashing after making a change to the outer Max patch.

manysounds's icon

paste patch please

Florian Demmer's icon

@amonk if you could share you patch here or get in touch with support in order figure out what part of the patch is breaks the compilation of the RNBO patcher that would be great.

amonk's icon

Thanks -- Well I can no longer reproduce the issue. Quitting max and restarting it fixed the problem. If I see it again I will share the patch.