Hello! I'm new here. I'm having trouble building the ESP32 demo (Sawtooth) from the zip at https://faustdoc.grame.fr/tutorials/esp32/
I'm pretty new to C++ etc, but have had some success with DSP for sound generation on the ESP32 (some slightly out-of-date notes at https://github.com/danja/chatterbox). Recently I wanted to have a play with physical modelling so had a look around and stumbled on Faust. It looks wonderful, and like it should be a huge time-saver for me. I was using PlatformIO on VSCode on Ubuntu. So first I tried using that environment. It seemed like faust2esp32 worked a treat, building basically ok, but then ran into the External RAM issue. Then I tried using ESP-IDF from within VSCode. After hitting loads of problems I took a step back and tried ESP-IDF from the command line. The ESP-IDF Hello World worked and loaded into the device. But with the ESP/Faust demo I first ran into warnings being treated as errors, and - /home/danny/micros/faust-tutorial/main/FaustSawtooth.cpp:891:3: error: narrowing conversion of 'sample_rate' from 'int' to 'uint32_t' {aka 'unsigned int'} inside { } [-Werror=narrowing] it seems like running - make CFLAGS='-Wno-narrowing' CXXFLAGS='-Wno-narrowing' gets me past that (caused by the version of gcc? it says: (Ubuntu 11.2.0-7ubuntu2) 11.2.0, now I get a bunch of errors around - ... /home/danny/micros/esp-idf/components/pthread/pthread_rwlock.c:49:26: error: unknown type name 'pthread_rwlock_t'; did you mean 'esp_pthread_rwlock_t'? int pthread_rwlock_init (pthread_rwlock_t *rwlock, ^~~~~~~~~~~~~~~~ esp_pthread_rwlock_t /home/danny/micros/esp-idf/components/pthread/pthread_rwlock.c:50:15: error: unknown type name 'pthread_rwlockattr_t' const pthread_rwlockattr_t *attr) ... - and I'm stuck. btw, running - . ../esp-idf/export.sh idf.py build yields a load of lines like : undefined reference to `FaustSawtooth::start() Bits missing from CMakeLists.txt..? Any suggestions? Cheers, Danny. -- ---- http://hyperdata.it <http://hyperdata.it/danja>
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users