Multiple Libraries for WiFi.h

Hi all,

I am trying to stream with an ESP32 camera however continue to get this error message, could anyone help me resolve it?

Multiple libraries were found for "WiFi.h"
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Used: /Users/davidtejcek/Documents/MATLAB/SupportPackages/R2021a/3P.instrset/arduinoide.instrset/idepkgs/packages/esp32/hardware/esp32/2.0.7/libraries/WiFi
Not used: /private/var/folders/kf/qsljw14d6ss7v8v1qb01vty40000gn/T/AppTranslocation/FB1364A9-F6E6-4159-936D-6BEF9CCAC1CC/d/Arduino.app/Contents/Java/libraries/WiFi
exit status 1
Error compiling for board ESP32 Wrover Module.

According to the Arduino Forum, the message Multiple libraries were found for "WiFi.h" is normal and expected and has nothing to do with the error. It is only the Arduino IDE providing some helpful information.

The problem you need to solve is error compiling for board esp32 wrover module. This could be caused by a corrupted or missing file in your installation of the ESP32 board package.

One possible solution is to reinstall the ESP32 board package using the Arduino IDE’s Boards Manager. Another possible solution is to delete the folder C:\Users\system\AppData\Local\Arduino15\packages\esp32 and then reinstall the ESP32 board package2.

I hope this helps. If you need more assistance, please let me know.:blush:

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