Closed dkbay closed 8 months ago
Hi @dkbay
So, it's a conflict within the SdFat library we're including. You essentially have two options:
The latter seems simpler and more straight forward as it could be handled with a single case-sensitive find and replace on the level of the code library (VSCode can do this, for example). Rename the 'File' class to something like 'FileESPAsync' just to clarify to the compiler that it's a different class.
On Windows, libraries are installed under 'my documents/Arduino/libraries', check where this is on your operating system.
I'm telling you how to do this as we weren't planning on changing the class names for our included libraries. But it shouldn't be a problem to get this to work.
Note that if you update the ESPAsyncWebServer library you will have to do this find-and-replace again.
-Rob
Ah I see!
Thanks for the response Rob, sry for the bother I'm not too experienced with C/C++. Initially thought libraries would be scoped like NPM packages 😅
I will try this out though!
Thanks again! :D
No problem, we run into similar things when making projects. As I've said, it should be a simple find-and-replace operation. Let me know if you get this to work.
Closing this as there's no more activity
Hey!
When I try to include both inkplate library and ESPAsyncWebServer I cannot compile in Arduino IDE. However if I remove either library it works again.
It throws this error.
It would be quite nice to be able to use both these libraries together!