I'm pretty new to Arduino / ESP32.
I have run some example sketches like blink and they work but,
when I open en new sketch (code below) and compile it I get three warnings:
WARNING: Category '' in library ESP Insights is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library ESP RainMaker is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library WiFiProv is not valid. Setting to 'Uncategorized'
Has anybody a hint how to solve those warnings?
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
It compiles normally on my computer, using the newest Arduino IDE 2, with that board selected.
My boards esp32 version is 2.0.16
I have never seen those warnings. I think that you have a combination of old and new things.
Can you check the "libraries" folder next to your projects ? Remove everything that you don't need, especially if it has one of those that gave a warning.
Delete the hiden ".arduino15" folder.
Uninstall the Arduino IDE.
Then install everything.
Hi @geranium. You are welcome to ignore those warnings if you like. The thing they are warning about is not really a problem at all for users
If you find the warnings annoying or distracting, the easiest solution will be to update to the latest version of Arduino IDE. The IDE was changed to no longer warn the user about this thing years ago, but you are using a very outdated version of Arduino IDE from before the fix. You can get the latest version of Arduino IDE from the download links listed on this page:
If you can't or don't want to update your IDE, it is possible to add the missing metadata field to these libraries to suppress the warning:
Open the file at the following path in any text editor:
The warnings will come back after each time you update the "esp32" boards platform in the Arduino IDE Boards Manager, but you can just repeat the instructions provided above to suppress them again, adjusting the name of the 2.0.16 version in the paths.
The problem of the missing categorylibrary metadata field is there even in the latest version of the platform:
Thanks for helping me.
By adding the "category=Other" the warning disappeared.
I did installed this 1.x version of the IDE because I read somewhere that the 2.x version was still buggy. But I will certainly consider moving to the latest version.