Closed TheIronHobo closed 2 years ago
Hey @TheIronHobo, I'm really glad you're enjoying the library! Thanks for the info, as you say, the problem appears to be that the esp32 core defines a _max
macro which conflicts with the one I defined in NotSoBasicLinearAlgebra.h
. I'll push a fix in a moment, let me know if you have any more trouble!
Thanks!
First of all, I love this library and am very excited to work with the geometry library as well. Here's the sketch I'm trying to compile:
This compiles with no issues for all the AVR boards i've tested but does not compile with the esp32 boards. This is a fresh zip file install of arduino that only has esp32 core, the BLA library, and the geometry library. Error message is as follows:
Thank you for this library and any reccomendations you may have.
UPDATE: In the file \AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32\Arduino.h the line
is conflicting with the following lines in NotSoLinearAlgebra.h
By commenting out those lines in NotSoLinearAlgebra.h it appears to fix the issue for both the BLA and Geometry libs, but this probably breaks the library for every board that isn't an ESP32...