Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tflite-micro is breaking complex.h (TFMIC-23) #80

Open
pschatzmann opened this issue Apr 16, 2024 · 3 comments
Open

tflite-micro is breaking complex.h (TFMIC-23) #80

pschatzmann opened this issue Apr 16, 2024 · 3 comments

Comments

@pschatzmann
Copy link

pschatzmann commented Apr 16, 2024

I have the feeling that this issue is better addressed here.

After all it does not make any sense to have the complex.h in src since you can be sure that the standard c complex.h is available for all ESP32

@github-actions github-actions bot changed the title tflite-micro is breaking complex.h tflite-micro is breaking complex.h (TFMIC-23) Apr 16, 2024
@maalos
Copy link

maalos commented Sep 18, 2024

have you found an easy solution yet? i just got this problem too

@vikramdattu
Copy link
Collaborator

vikramdattu commented Sep 18, 2024

I am not sure, how the complex.h from esp-tflite-micro is coming into picture for other projects, but most likely it's getting included from CMakeLists.txt. If you are building using lib_builder, removing this header includes from INCLUDE_DIRS should remove this issue.

do_not_include_signal_headers.patch

@maalos @pschatzmann can you please confirm if this fixes your issue?

@pschatzmann
Copy link
Author

pschatzmann commented Sep 18, 2024

Since a regular Arduino user has nothing to do with lib_builder, I do not see how this would help.

My understanding is that Arduino is providing tflite-micro: So signal/src is added to the include path via the CMakeList of this project. Unfortunately there is a complex.h in that directory! If you don't want to delete it, I suggest to rename it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants