Replies: 4 comments 9 replies
-
It looks like Sloeber added the wifi library to your project. You can find it under the libraties folder of your project. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, only deleting does not help, since Sloeber decided that the WiFi lb is needed and adds it immediately again. Furthermore, I had to add #pragma once to the secrets.h and builtinfiles.h hope this helps |
Beta Was this translation helpful? Give feedback.
-
Behaviour with V5 is different, though: Wifi library does not get included and the secrets.h and builtinfiles.h headers need no modification But you have to edit a bunch of files in the littlefs library. Files in the /bd subfolder need to have the includes modified... |
Beta Was this translation helpful? Give feedback.
-
Are you sure this is different behavior between Sloeber V4 and V5 and not caused by a different littlefs library version? |
Beta Was this translation helpful? Give feedback.
-
I have a fresh installation of Sloeber 4.4.3, With Fresh sample project of ESP2866WebServer/HelloServer based on esp8266 in Version 2.7.4
The scetch does not compile with a whole bunch of errors all looking like
/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/libraries/ESP8266WiFi/src/WiFiUdp.cpp:148: multiple definition of
WiFiUDP::beginPacket(IPAddress, unsigned short)'; ./libraries/WiFi/src/WiFiUdp.cpp.o:/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/libraries/WiFi/1.2.7/src/WiFiUdp.cpp:87: first defined here/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/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: ./libraries/ESP8266WiFi/src/WiFiUdp.cpp.o: in function
WiFiUDP::stop()': /home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/libraries/ESP8266WiFi/src/WiFiUdp.cpp:129: multiple definition of
WiFiUDP::stop()'; ./libraries/WiFi/src/WiFiUdp.cpp.o:/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/libraries/WiFi/1.2.7/src/WiFiUdp.cpp:65: first defined here/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/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: ./libraries/ESP8266WiFi/src/WiFiUdp.cpp.o: in function
WiFiUDP::begin(unsigned short)': /home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/libraries/ESP8266WiFi/src/WiFiUdp.cpp:77: multiple definition of
WiFiUDP::begin(unsigned short)'; ./libraries/WiFi/src/WiFiUdp.cpp.o:/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/libraries/WiFi/1.2.7/src/WiFiUdp.cpp:38: first defined here/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/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: ./libraries/ESP8266WiFi/src/WiFiUdp.cpp.o: in function
WiFiUDP::parsePacket()': /home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/libraries/ESP8266WiFi/src/WiFiUdp.cpp:193: multiple definition of
WiFiUDP::parsePacket()'; ./libraries/WiFi/src/WiFiUdp.cpp.o:/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/libraries/WiFi/1.2.7/src/WiFiUdp.cpp:117: first defined here/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/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: ./libraries/ESP8266WiFi/src/WiFiUdp.cpp.o: in function
WiFiUDP::WiFiUDP()': /home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Print.h:47: multiple definition of
WiFiUDP::WiFiUDP()'; ./libraries/WiFi/src/WiFiUdp.cpp.o:/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Print.h:47: first defined here/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/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: ./libraries/ESP8266WiFi/src/WiFiUdp.cpp.o: in function
WiFiUDP::WiFiUDP()': /home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Print.h:47: multiple definition of
WiFiUDP::WiFiUDP()'; ./libraries/WiFi/src/WiFiUdp.cpp.o:/home/thomas/entwicklung/ides/Sloeber/arduinoPlugin/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Print.h:47: first defined herecollect2: error: ld returned 1 exit status
make: *** [makefile:122: beamer.elf] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
`
On Arduino IDE with same board everything works fine. Other examples like blink also work properly in Sloeber.
I can't figure out why this happens on a fresh Sloeber installation (now tryed this on my third machine based on kubuntu).
Can anybody please give me a hint where to look?
Beta Was this translation helpful? Give feedback.
All reactions