Three warnings with empty sketch

Using Arduino IDE v1.8.19 on Linux Mint Cinnamon v21.3

Additional boards manager url:
https://espressif.github.io/arduino-esp32/package_esp32_index.json

Board:
MH ET LIVE ESP32DevKIT

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:

}

Welcome to the forum.

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:

  1. Open the file at the following path in any text editor:
    /home/<username>/.arduino15/packages/esp32/hardware/esp32/2.0.16/libraries/Insights/library.properties
    
    (Where <username> is your Linux username)
    :exclamation: The .arduino15 folder may be hidden by default in your file manager and terminal.
  2. Add the following line to the file:
    category=Other
    
  3. Save the file.
  4. Open the file at the following path in any text editor:
    /home/<username>/.arduino15/packages/esp32/hardware/esp32/2.0.16/libraries/RainMaker/library.properties
    
  5. Add the following line to the file:
    category=Other
    
  6. Save the file.
  7. Open the file at the following path in any text editor:
    /home/<username>/.arduino15/packages/esp32/hardware/esp32/2.0.16/libraries/WiFiProv/library.properties
    
  8. Add the following line to the file:
    category=Other
    
  9. Save the file.

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 category library 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.

You are welcome. I'm glad you were able to fix the annoying warnings.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.