Error installing and including libraries into IDE 2.0.1 #1609
Labels
conclusion: duplicate
Has already been submitted
type: imperfection
Perceived defect in any part of project
Describe the problem
I want to include a sort algorithm into IDE 2.0.1. First I found "QuickSortLib" in the Library Manager, installed 1.2.0 but found no example under examples. I opened the example QuickSortInt.ino and compiling led to the error:
Then I included
ArduinoSort.zip
(via Sketch > Include Library > Add .ZIP Library...)Result: no example, I opened a new sketch and inserted
#include <ArduinoSort.h>
Error:
I did the same in IDE 1.8.19 and everything works fine.
How can I use librarys in IDE 2.0.1
To reproduce
Install QuickSortLib via manager
Check examples
run demo
install ArduinoSort.zip (https://github.com/emilv/ArduinoSort)
Check examples
run demo
Expected behavior
Serial output of SortArray.ino:
Arduino IDE version
2.0.1
Operating system
Windows
Operating system version
10
Additional context
Arduino Uno
Issue checklist
The text was updated successfully, but these errors were encountered: