I am a dumb beginner who has tried and failed to install this library. To reproduce my problem:
From the git "Releases" tab download "Source code".
From within Arduino IDE (1.8.19) use "Sketch | Include Library | Add .ZIP Library" and open the freshly downloaded "ArduinoMongoose-0.0.13.zip" file
See "Specified folder/zip file does not contain a valid library"
So now I learn how to install the library manually and unzip the file into my "Arduino/libraries" folder, but when I visit the "Library Manager" to see it I get the error "Invalid library found in D:\dev\Arduino\libraries\ArduinoMongoose-0.0.13: no headers files (.h) found in D:\dev\Arduino\libraries\ArduinoMongoose-0.0.13"
I can see that there are.h files in the D:\dev\Arduino\libraries\ArduinoMongoose-0.0.13\src, so I don't know what it is complaining about.
After comparing "your" folder with other libraries, I noticed it was missing some files: keywords.txt, component.mk and library.properties -- so I made them up, and things are better, but still broken:
MongooseHttpClient.cpp:7:24: fatal error: MicroDebug.h: No such file or directory.
I installed the "Micro Debug" library, but that didn't help, and added an explicit #include <MicroDebug.h>, but that didn't help either.
Then I gave up.
Anyway, I thought you might like to know. I'm off to look at "Mongoose" now to learn if I can just use that directly -- wish me luck!
...and then I discovered "Platform.io". Sheesh. I still think it's reasonable to be able to use the Arduino IDE, but maybe it's a traditional rite of passage for beginners. Or something.
I am a dumb beginner who has tried and failed to install this library. To reproduce my problem:
So now I learn how to install the library manually and unzip the file into my "Arduino/libraries" folder, but when I visit the "Library Manager" to see it I get the error
"Invalid library found in D:\dev\Arduino\libraries\ArduinoMongoose-0.0.13: no headers files (.h) found in D:\dev\Arduino\libraries\ArduinoMongoose-0.0.13"
I can see that there are
.h
files in theD:\dev\Arduino\libraries\ArduinoMongoose-0.0.13\src
, so I don't know what it is complaining about.After comparing "your" folder with other libraries, I noticed it was missing some files:
keywords.txt
,component.mk
andlibrary.properties
-- so I made them up, and things are better, but still broken:MongooseHttpClient.cpp:7:24: fatal error: MicroDebug.h: No such file or directory
.I installed the "Micro Debug" library, but that didn't help, and added an explicit
#include <MicroDebug.h>
, but that didn't help either.Then I gave up.
Anyway, I thought you might like to know. I'm off to look at "Mongoose" now to learn if I can just use that directly -- wish me luck!