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
First of all thank you for putting this project together.
I thought i would give it a go with my old Airgradient, but i stumbled upon an error while compiling the project:
Linking .pio\build\d1_mini_lite\firmware.elf
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.data.CUSTOM_DEVICE_ID+0x0): multiple definition of `CUSTOM_DEVICE_ID'; .pio\build\d1_mini_lite\src\display.cpp.o:(.data.CUSTOM_DEVICE_ID+0x0): first defined here
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.bss.DISPLAY_FAHRENHEIT+0x0): multiple definition of `DISPLAY_FAHRENHEIT'; .pio\build\d1_mini_lite\src\display.cpp.o:(.bss.DISPLAY_FAHRENHEIT+0x0): first defined here
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.data.SSID+0x0): multiple definition of `SSID'; .pio\build\d1_mini_lite\src\display.cpp.o:(.data.SSID+0x0): first defined here
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.data.SSID_PASSWORD+0x0): multiple definition of `SSID_PASSWORD'; .pio\build\d1_mini_lite\src\display.cpp.o:(.data.SSID_PASSWORD+0x0): first defined here
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.data.MQTT_HOST+0x0): multiple definition of `MQTT_HOST'; .pio\build\d1_mini_lite\src\display.cpp.o:(.data.MQTT_HOST+0x0): first defined here
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.data.MQTT_USERNAME+0x0): multiple definition of `MQTT_USERNAME'; .pio\build\d1_mini_lite\src\display.cpp.o:(.data.MQTT_USERNAME+0x0): first defined here
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.data.MQTT_PASSWORD+0x0): multiple definition of `MQTT_PASSWORD'; .pio\build\d1_mini_lite\src\display.cpp.o:(.data.MQTT_PASSWORD+0x0): first defined here
c:/users/usr/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini_lite\src\main.cpp.o:(.data.HOASS_AUTO_DISCOVERY+0x0): multiple definition of `HOASS_AUTO_DISCOVERY'; .pio\build\d1_mini_lite\src\display.cpp.o:(.data.HOASS_AUTO_DISCOVERY+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\d1_mini_lite\firmware.elf] Error 1
I have tried this in both Mac and PC, still the same error. Quick google didn't provide any answers, plus i am not an expert with C++...
P.S.: One thing that i had to do before i could compile, was to bump the version of robtillaart/SGP30 to the latest as the one referenced doesn't seem to any more. Not sure if its related to the above.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
First of all thank you for putting this project together.
I thought i would give it a go with my old Airgradient, but i stumbled upon an error while compiling the project:
I have tried this in both Mac and PC, still the same error. Quick google didn't provide any answers, plus i am not an expert with C++...
P.S.: One thing that i had to do before i could compile, was to bump the version of
robtillaart/SGP30
to the latest as the one referenced doesn't seem to any more. Not sure if its related to the above.Thanks!
The text was updated successfully, but these errors were encountered: