Skip to content
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

Basic Dev Branch not compiling anymore #1177

Closed
2 tasks
M4XXX opened this issue Dec 16, 2020 · 1 comment
Closed
2 tasks

Basic Dev Branch not compiling anymore #1177

M4XXX opened this issue Dec 16, 2020 · 1 comment
Labels
bug Validated BUG

Comments

@M4XXX
Copy link

M4XXX commented Dec 16, 2020

Hardware

WiFimanager Branch/Release:

  • Master
  • [x ] Development

Esp8266/Esp32:

  • ESP8266
  • [x ] ESP32

Description

Project with platformio and i get errors with my basic project...

Settings in IDE / Platformio:

[env:ttgo-t-watch-test3]
platform = espressif32
board = ttgo-t-watch
framework = arduino
upload_speed = 2000000
monitor_speed = 115200
lib_deps =
  https://github.com/tzapu/WiFiManager.git#development

Sketch

#include <Arduino.h>
#include <WiFiManager.h>

void setup() {    
    //Setting up Serial
    Serial.begin(115200);
    Serial.println("Serial initialized");

    WiFiManager wifiManager;
}

void loop(){

}

Debug Messages

Dependency Graph
|-- <WiFiManager> 2.0.4-beta+sha.4d2a6b2
|   |-- <DNSServer> 1.1.0
|   |   |-- <WiFi> 1.0
|   |-- <ESPmDNS> 1.0
|   |   |-- <WiFi> 1.0
|   |-- <Update> 1.0
|   |-- <WebServer> 1.0
|   |   |-- <WiFi> 1.0
|   |   |-- <FS> 1.0
|   |-- <WiFi> 1.0

.pio\libdeps\ttgo-t-watch-test3\WiFiManager\WiFiManager.cpp: In member function 'bool WiFiManager::WiFiSetCountry()':
.pio\libdeps\ttgo-t-watch-test3\WiFiManager\WiFiManager.cpp:3184:10: warning: comparison of constant '12289' with boolean expression is always false [-Wbool-compare]
   if(ret == ESP_ERR_WIFI_NOT_INIT) DEBUG_WM(DEBUG_ERROR,"[ERROR] ESP_ERR_WIFI_NOT_INIT");
          ^
.pio\libdeps\ttgo-t-watch-test3\WiFiManager\WiFiManager.cpp:3185:15: warning: comparison of constant '258' with boolean expression is always false [-Wbool-compare]
Compiling .pio\build\ttgo-t-watch-test3\FrameworkArduino\esp32-hal-uart.c.o
   else if(ret == ESP_ERR_INVALID_ARG) DEBUG_WM(DEBUG_ERROR,"[ERROR] ESP_ERR_WIFI_ARG");
               ^
.pio\libdeps\ttgo-t-watch-test3\WiFiManager\WiFiManager.cpp:3186:19: error: 'ERR_OK' was not declared in this scope
   else if (ret != ERR_OK)DEBUG_WM(DEBUG_ERROR,"[ERROR] unknown error",(String)ret);
                   ^
<command-line>:0:10: warning: ISO C99 requires whitespace after the macro name
Compiling .pio\build\ttgo-t-watch-test3\FrameworkArduino\libb64\cdecode.c.o
Compiling .pio\build\ttgo-t-watch-test3\FrameworkArduino\libb64\cencode.c.o
<command-line>:0:10: warning: ISO C99 requires whitespace after the macro name
Compiling .pio\build\ttgo-t-watch-test3\FrameworkArduino\main.cpp.o
Compiling .pio\build\ttgo-t-watch-test3\FrameworkArduino\stdlib_noniso.c.o
Compiling .pio\build\ttgo-t-watch-test3\FrameworkArduino\wiring_pulse.c.o
<command-line>:0:10: warning: ISO C99 requires whitespace after the macro name
Compiling .pio\build\ttgo-t-watch-test3\FrameworkArduino\wiring_shift.c.o
<command-line>:0:10: warning: ISO C99 requires whitespace after the macro name
<command-line>:0:10: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:10: warning: ISO C99 requires whitespace after the macro name
*** [.pio\build\ttgo-t-watch-test3\lib19b\WiFiManager\WiFiManager.cpp.o] Error 1
<command-line>:0:10: warning: ISO C99 requires whitespace after the macro name
<command-line>:0:10: warning: ISO C99 requires whitespace after the macro name

image

tablatronix added a commit that referenced this issue Dec 16, 2020
@tablatronix tablatronix added the bug Validated BUG label Dec 16, 2020
@tablatronix
Copy link
Collaborator

Thanks, my bad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Validated BUG
Projects
None yet
Development

No branches or pull requests

2 participants