OK, I understand  std::to_string iOS not available on Teensy, so fixed in 
https://github.com/grame-cncm/faust/commit/39298c391d63abf61c1f14e0ac2ce35d06a5904c

Stéphane 

> Le 19 mars 2023 à 05:04, Mike Beauchamp <l...@mikebeauchamp.com> a écrit :
> 
> Hey everyone,
> 
> Unfortunately I'm having an issue where a .dsp compiles through the IDE and 
> runs fine on my Teensy 4, but if I compile the same .dsp locally via 
> commandline faust2teensy, it gives me errors.
> 
> I am doing faust2teensy -lib progtest.dsp
> 
> I get the following error:
> 
> In member function 'void PathBuilder::computeShortNames()':
> progtest.cpp:359: error: 'to_string' is not a member of 'std'
>                 std::string u = "/P" + std::to_string(pnum++) + 
> str2ID(remove0x00(s));
> 
> 
> If I compare that to the .cpp file coming from the online IDE:
> 
>                sprintf(num_buffer, "%d", pnum++);
>                std::string u = "/P" + std::string(num_buffer) + 
> str2ID(remove0x00(s));
> 
> 
> 
> I'm using faust 2.58.11. If I manually swap that part of the code out, it 
> does function on the teensy. But something is obviously up with faust2teensy..
> 
> Mike
> 
> 
> 
> 
> 
> Compiling for Teensy to use --delay-line-threshold ?
> 
> Hey everyone,
> I've had no troubles compiling for Teensy through the online              
> IDE, which is great!
> 
> I have a complicated program with nearly 100 fdelays and I've run into memory 
> constraints on the Teensy 4.0. (The sketch still uploads, just freezes the 
> Teensy once I get past a certain number of fdelays)
> 
> I read on https://faustdoc.grame.fr/manual/optimizing/ that there's a 
> --delay-line-threshold switch that can make the memory more efficient for the 
> delays.. great. I couldn't see a way to do this in the IDE, so I downloaded 
> the FAUST files.
> 
> 
> 
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Stéphane Letz
Responsable recherche

l...@grame.fr T : +33 (0) 4 72 07 43 12 / 06 41 81 15 69
GRAME - Centre national de création musicale
26 rue Emile Decorps - 69100 Villeurbanne
www.grame.fr | facebook | instagram | twitter



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to