You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling faust generated cpp using faust2daisy with -nvoices > 1 fails because of dynamic_casts in poly-dsp.h
ex_faust.cpp: In member function 'void dsp_voice_group::buildUserInterface(UI*)':
ex_faust.cpp:10312:35: error: 'dynamic_cast' not permitted with '-fno-rtti'
10312 | if (!fGroupControl || dynamic_cast<SoundUIInterface*>(ui_interface)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ex_faust.cpp: In member function 'virtual void mydsp_poly::buildUserInterface(UI*)':
ex_faust.cpp:10669:17: error: 'dynamic_cast' not permitted with '-fno-rtti'
10669 | if (dynamic_cast<midi_interface*>(ui_interface)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ex_faust.cpp:10670:32: error: 'dynamic_cast' not permitted with '-fno-rtti'
10670 | fMidiHandler = dynamic_cast<midi_interface*>(ui_interface);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [/home/georg/Programmierung/daisy/libDaisy/core/Makefile:271: build/ex_faust.o] Fehler 1
Polyphony for the Daisy Seed
Compiling faust generated cpp using
faust2daisy
with -nvoices > 1 fails because of dynamic_casts in poly-dsp.hRemoving the -fno-rtti Option in libDaisy shouldn't be considered:
electro-smith/libDaisy#503
Steps for reproduction
Versions Used:
Daisy Toolchain Setup on Linux:
Create a folder, e.g.
$ mkdir ~/daisy
Get arm-none-eabi:
Get libDaisy:
Create
environment.rc
file with the following content:Compile libDaisy:
** Compilation: **
The text was updated successfully, but these errors were encountered: