Numpy.hpp not recognizing #include <cfloat> in cube IDE

Question/Issue:
Uploaded .pack file to cube IDE but compile fails due to being unable to recognize #include in the header file numpy.hpp under DSP. Tried updating cube IDE and restarting the application but it can’t find the file or directory for it. My project is currently running in c not c++ if that means anything.
Project ID:

Context/Use case:

Hi @Isaac_Gaul,

You’ll need to convert first your project to C++, you can read more about the procedure in our tutorial here.

Aurelien

Hi,
Thank you for pointing that out, I had missed that step. However, even after trying it I’m still stuck with the same issue as before with ‘cfloat’ causing a fatal error with no file or directory. I’ve attempted to install my package in other projects but the error is consistent. I’m not entirely sure why my programs have an error with ‘cfloat’.

Hello Isaac,
I am encountering a same issue even though my project is in c++. If you found the solution to this problem, could you please help me out?

1 Like

@Snig2606 in an effort to get a response from a particular member put at @ sign in front of @Isaac_Gaul and they will get an email notification.

u solve this problem?plz give me some advice

@aurel after converting to cpp in cude ide ,still the above mentioned cfloat error persist. Can you please tell me the rectification steps?

hi @Isaac_Gaul any update on this problem?

Same issue when porting to new c++ based project. When calling “#include “edge-impulse-sdk/classifier/ei_run_classifier.h””, it gives me an error, fatal error: ‘cfloat’ file not found