esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS
MIT License
1.35k stars 423 forks source link

Can't build it... #18

Closed nardev closed 6 years ago

nardev commented 6 years ago

I tried to build it, installed all required libs but i got this error.

src/main.cpp:317:14: error: 'class ESP8266WiFiClass' has no member named 'scanNetworksAsync'
WiFi.scanNetworksAsync(printScanResult, true);

Any idea what could be an issue?

p.s. Also after commenting that line:

lib/ESPAsyncWebServer/src/AsyncWebSocket.cpp:40:18: fatal error: Hash.h: No such file or directory
#include <Hash.h>

Any idea???

omersiar commented 6 years ago

You need git version of esp8266 arduino core

rneurink commented 6 years ago

You need to have the latest esp arduino package and you don't have that one

Op 8 sep. 2017 3:46 p.m. schreef "nardev" notifications@github.com:

I tried to build it, installed all required libs but i got this error.

src/main.cpp:317:14: error: 'class ESP8266WiFiClass' has no member named 'scanNetworksAsync' WiFi.scanNetworksAsync(printScanResult, true);

Any idea what could be an issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/omersiar/esp-rfid/issues/18, or mute the thread https://github.com/notifications/unsubscribe-auth/AU-qZRiz4bLF6qJ8timgfta75ykPMRm2ks5sgUUggaJpZM4PRM9Q .

ersinpw commented 6 years ago

Where did you place the git version of the esp8266 Arduino core?

Mine is located here (osx): /Users/ersin/Library/Arduino15/packages/arduino/hardware/esp8266com/esp8266/ I guess it is the correct path according to the manual: https://github.com/esp8266/Arduino#using-git-version but unfortunately I still see the same error