You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c:/users/reza/appdata/local/arduino15/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\Demo2.ino.cpp.o:C:\Users\Reza\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/WString.h:230: undefined reference to `action_generator(ArduinoJson6140_0000010::BasicJsonDocument)' collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board WeMos D1 R1.*
I changed different versions of ESP8266 libraries from 2.5 to 2.6.3 but no success. Everything is standard and downloaded from repositories without any change. Also I removed Arduino from windows and deleted all of it's dependencies from C:\Users\Reza\AppData\Local folder and then reinstalled it. I tried portable version of arduino too.
It's getting more strange after using the same configuration and libraries in my Raspberry Pi 3 B+ (Raspbian OS) and this code has been compiled and successfully uploaded to my ESP8266. I think configuration should be the causes of this problem. I can't develop and compile my arduino code using raspberry pi because it's very slow. that's the reason I need to use my windows PC.
I'm using these configurations
Windows 7: (Failed)
64bit and Arduino 1.8.12.
Raspberri Pi config : (Success)
Arm7l , Raspbian os and 32bit version of Arduino.
I've done plenty projects with arduino and I understand C++ Structure but I can't solve this problem. I spent hours of searching google for something but nothing found. Any help will be appreciated.
even a fresh install of windows has the same problem. I will tell what I've done :
I am trying to compile default example mentioned in https://github.com/mozilla-iot/webthing-arduino but I see this strange error:
c:/users/reza/appdata/local/arduino15/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\Demo2.ino.cpp.o:C:\Users\Reza\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/WString.h:230: undefined reference to `action_generator(ArduinoJson6140_0000010::BasicJsonDocument)' collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board WeMos D1 R1.*
I changed different versions of ESP8266 libraries from 2.5 to 2.6.3 but no success. Everything is standard and downloaded from repositories without any change. Also I removed Arduino from windows and deleted all of it's dependencies from C:\Users\Reza\AppData\Local folder and then reinstalled it. I tried portable version of arduino too.
It's getting more strange after using the same configuration and libraries in my Raspberry Pi 3 B+ (Raspbian OS) and this code has been compiled and successfully uploaded to my ESP8266. I think configuration should be the causes of this problem. I can't develop and compile my arduino code using raspberry pi because it's very slow. that's the reason I need to use my windows PC.
I'm using these configurations
Windows 7: (Failed)
64bit and Arduino 1.8.12.
Raspberri Pi config : (Success)
Arm7l , Raspbian os and 32bit version of Arduino.
I've done plenty projects with arduino and I understand C++ Structure but I can't solve this problem. I spent hours of searching google for something but nothing found. Any help will be appreciated.
even a fresh install of windows has the same problem. I will tell what I've done :
but failed again... I tried it on 3 different computers even windows 10 and windows Server 2016.
The text was updated successfully, but these errors were encountered: