Question/Issue: I am working on a machine learning project using Arduino. The zip file download for esp32 won’t run because of a cfloat error. I have gone through the entire zip file and found no clfoat file that links to the numpy location. How do I fix this error?
Are you using the arduino ide? And downloading the Arduino library?
Or what ide are you using?
Please copy and paste the error messages you see from the Arduino IDE. That will help us troubleshoot your issue.
I have the same issue, this is the error copy pasted:
In file included from C:\Users\berniabadr\Documents\Arduino\libraries\stemmervanpulhof-project-1_inferencing\src/edge-impulse-sdk/classifier/ei_model_types.h:24:0,
C:\Users\berniabadr\Documents\Arduino\libraries\stemmervanpulhof-project-1_inferencing\src/edge-impulse-sdk/dsp/numpy.hpp:32:10: fatal error: cfloat: No such file or directory
exit status 1
Compilation error: exit status 1
Which ESP32 are you using?
I don’t have a lot of experience so if I need to be more specific tell me. But I’m using the ESP-EYE. Does that help?
Apologies for the delay. Were you able to figure this out? If not, could you provide the following:
- Edge Impulse project ID number (so I can try to replicate the issue)
- Which version of the Arduino ESP32 board package do you have installed (you can find this in the Arduino IDE)?
No worries, thanks for helping me out! I have not yet figured it out.
The project ID number is: 284341. I’ve also got the link in case you’d need it: stemmervanpulhof-project-1 - Dashboard - Edge Impulse.
For the board package, I haven’t downloaded any library since I deleted the Arduino IDE application and reinstalled it to see if it would work. I did have a library installed before but I do not know precisely which one.
I was able to compile your project successfully. Here is what I used:
- Arduino IDE v2.2.1
- esp32 board package v2.0.14
- Board selected: ESP32 Wrover Module
Could you see if those settings/versions work for you?