Arduino-HomeKit-ESP8266 icon indicating copy to clipboard operation
Arduino-HomeKit-ESP8266 copied to clipboard

I get an error while compiling

Open ethem4161 opened this issue 4 years ago • 5 comments

where do you think there is an error? 11k 22k 33k 44k I'm a little new at this, sorry :/ If you can shoot a short video while compiling, I can see where I did wrong. Thanks Good Works.

ethem4161 avatar May 24 '20 18:05 ethem4161

Hi, guy, it is not my duty to teach you how to code.

#include <ESP8266WiFi.h>

const char *ssid = "your-ssid"; const char *password = "your-password";

Mixiaoxiao avatar May 24 '20 22:05 Mixiaoxiao

"Hi, Thank you for helping." "I'm new to this software. sorry ;/" "I have encountered such a problem now; "

Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Generic ESP8266 Module, 160 MHz, Flash, Legacy (new can return nullptr), Basic SSL ciphers (lower ROM use), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+119 (191122), v2 Lower Memory, Disabled, None, All Flash Contents, 115200"

c:/users/dell/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\sketch_may24a.ino.cpp.o:(.text.setup+0xc): undefined reference to `config'

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for "WiFiServer.h" Used: C:\Users\DELL\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\libraries\WiFi exit status 1 Error compiling for board Generic ESP8266 Module.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

"I also tried linux operating system. Same mistake"

ofof

Good Works Guy.

ethem4161 avatar May 25 '20 00:05 ethem4161

Again, it is not my duty to teach you how to code. I will not give any feedback in this issue, since it is really not an issue about this project.

undefined reference to `config'

Mixiaoxiao avatar May 25 '20 03:05 Mixiaoxiao

Thank you for helping. I wish you good work.

ethem4161 avatar May 26 '20 14:05 ethem4161

ethtem, You are copy/paste script from the github page, NO!! this way it will not work. Download the whole project as a .zip, open it through clicking the file name, this way it will load extra tabs, and everything is super. Mixiaoxiao did a really hard and good job, but this is really not an issue.

wahidsa avatar Jun 25 '20 13:06 wahidsa