Closed Elsklivet closed 2 years ago
Try the initial commit version. Works even on windows
One of the most recent commits (probably edgeimpulse/firmware-syntiant-tinyml@0e97cf968e716e53710a0e8e4e4f25a21b0fa805) seems to have fixed the issue, and I'm able to compile it on Windows with the Arduino IDE now. Thank you!
After running
update_libraries_windows.bat
and selecting MKRZero, I am not able to compile the firmware in the Arduino IDE on Windows 10.I am on Windows 10, using Arduino IDE v1.8.19 installed from the Windows Store (Windows Store v1.8.57.0), Edge Impulse CLI v1.15.0, and Arduino CLI v0.22.0. (I do not believe the Arduino CLI version is the issue. I have succeeded in getting this to compile on an Ubuntu machine with no edits to the source by using Arduino CLI v0.22.0 and not the IDE, so I know it is not just that the CLI is too recent, as it works perfectly with the bash build script. Interestingly, Arduino IDE v1.8.19 runs into the same compilation error on Ubuntu.)
I first run into this:
This is roughly the same error message mentioned in this issue, which was closed without a solution being posted: #3
I saw that edgeimpulse/firmware-syntiant-tinyml@5bad031bfd6733c7a07bb1eb348367f21595e26e included additions to the
arduino-build.sh
script to change theINCLUDE
environment variable, but the include paths are still broken for IDE users. I went through and fixed all of the include directives throughout the repository locally, which resolved all of the "No such file or directory" errors. However, I then got an even longer string of errors about undeclared variables and redefined macros:Are there other steps Windows users should take to compile the firmware than the ones described in the README?