EloquentTinyML icon indicating copy to clipboard operation
EloquentTinyML copied to clipboard

Windows 10 + Wio Terminal: 'Eloquent' does not name a type

Open Raunak-Singh-Inventor opened this issue 1 year ago • 0 comments

I am trying to use the Eloquent Library with the Seeed Wio Terminal on my Windows 10. When I try to compile the SineExample, it gives me this error:

SineExample:10:1: error: 'Eloquent' does not name a type
 Eloquent::TinyML::TfLite<NUMBER_OF_INPUTS, NUMBER_OF_OUTPUTS, TENSOR_ARENA_SIZE> ml;
 ^~~~~~~~
C:\Users\rauna\OneDrive\Documents\Arduino\libraries\EloquentTinyML\examples\SineExample\SineExample.ino: In function 'void setup()':
SineExample:15:5: error: 'ml' was not declared in this scope
     ml.begin(sine_model);
     ^~
C:\Users\rauna\OneDrive\Documents\Arduino\libraries\EloquentTinyML\examples\SineExample\SineExample.ino: In function 'void loop()':
SineExample:24:27: error: 'ml' was not declared in this scope
         float predicted = ml.predict(input);
                           ^~
exit status 1
'Eloquent' does not name a type

Raunak-Singh-Inventor avatar Sep 05 '22 16:09 Raunak-Singh-Inventor