-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling for board ESP32 Dev Module. #40
Comments
Have you made sure that the ESP32 is correctly setup on your device? ie run a blink sketch to make sure the ports and connection are working. Next, have you installed the correct libraries for this? the WebServer and DNSserver are not the one found in the arduino library manager and must be installed manually from Zhouhan's repo. Next, can you compile the sketch without uploading it? Are there any errors in the code or is it just when you go to upload it to the ESP32 |
I have a similar issue - When compiling (Verify Button in the Arduino IDE) this example: https://raw.githubusercontent.com/zhouhan0126/WIFIMANAGER-ESP32/master/examples/AutoConnect/AutoConnect.ino for the Board 'ESP 32 Dev Module', I get the error below. (I have downloaded both the DNSServer---esp32 and WebServer-esp32 repos and put them in my Library directory) I assume I've made a simple mistake and just don't know enough to recognize it. Any help would be appreciated.
|
@jaketeater did you fix the problem? If not, ensure that you declared the libraries at the top of your .ino file like this (for ESP32 only). |
I have an issue to compile my code, at first the problem is because multiple library detected for wifi.h. Then I deleted one of the library and I still having the same problem Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None In file included from C:\Users\amatw\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:37:0,
C:\Users\amatw\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:36:21: error: redefinition of 'class BlynkTimer' #define SimpleTimer BlynkTimer
C:\Users\amatw\Documents\Arduino\libraries\SimpleTimer/SimpleTimer.h:10:7: note: in expansion of macro 'SimpleTimer' class SimpleTimer {
C:\Users\amatw\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:36:21: error: previous definition of 'class BlynkTimer' #define SimpleTimer BlynkTimer
C:\Users\amatw\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:41:7: note: in expansion of macro 'SimpleTimer' class SimpleTimer {
exit status 1 Error compiling for board ESP32 Dev Module. This report would have more information with |
when i want to compile one of WIFIManager library named AutoConnect , have faced to the following error.
exit status 1
Error compiling for board ESP32 Dev Module.
i should mention that this error shown by this code. and other codes with esp32 are compiling completely
can any one help me by this error?
The text was updated successfully, but these errors were encountered: