Anonym-tsk / co2mon-esp

Connect your MT8057 CO2 monitor to mqtt
MIT License
9 stars 3 forks source link

Error in compiling for Wemos d1 mini #1

Open jordes opened 4 years ago

jordes commented 4 years ago

I have error on compiling for Wemos d1 mini: /Users/jordes/Library/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: sketch/main.ino.cpp.o: in function _mt8057ProcessMessage(mt8057_message*)': /Users/jordes/Downloads/co2mon-esp-master/src/main/mt8057.ino:23: undefined reference tomt8057_process(unsigned long, bool)' /Users/jordes/Library/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: sketch/main.ino.cpp.o: in function mt8057Loop()': /Users/jordes/Downloads/co2mon-esp-master/src/main/mt8057.ino:59: undefined reference tomt8057_process(unsigned long, bool)' collect2: error: ld returned 1 exit status exit status 1 Fehler beim Kompilieren für das Board WeMos D1 R1.

Can you help me please?

borislitv commented 1 year ago

https://github.com/borislitv/co2mon-esp/commit/a22e1d813176a8527dd25c979e25c53050f7dc6f fixed