cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.69k stars 397 forks source link

WIFI_SSID and WIFI_PASS not declared #776

Closed sinalco92 closed 3 years ago

sinalco92 commented 3 years ago

I become a compiling Error in the "src/boot.cpp" data, because WIFI_SSID and WIFI_PASS are not declared.

src/boot.cpp: In function 'void start_boot_menu()':

src/boot.cpp:88:22: error: 'WIFI_SSID' was not declared in this scope const char *ssid = WIFI_SSID;

src/boot.cpp:89:26: error: 'WIFI_PASS' was not declared in this scope const char *password = WIFI_PASS;

cyberman54 commented 3 years ago

Did you create ota.conf?

sinalco92 commented 3 years ago

Did you create ota.conf?

Yes I change the ota.sample.conf to ota.conf But I dosen’t change anything in the ota.conf

cyberman54 commented 3 years ago

I can't reproduce this. Maybe an issue with your toolchain? The defines WIFI_SSIDand WIFI_PASSare created dynamically in buildscript build.py. Please check if this works on your platform.

sinalco92 commented 3 years ago

I can't reproduce this. Maybe an issue with your toolchain? The defines WIFI_SSIDand WIFI_PASSare created dynamically in buildscript build.py. Please check if this works on your platform.

Ok now it works. The build.py was not in the project folder. Sorry for that, it was my mistake Thanks for supporting!