Jaimi5 / LoRaChat

A LoRa Chat long-distance communication using LoRa technology and ESP32 LoRa boards. You can connect to your devices via phone using a Bluetooth Serial Terminal. We are using LoRaMesher to build a Mesh network.
MIT License
16 stars 3 forks source link

PlatformIO Fails Compile #10

Closed JDMarc closed 5 months ago

JDMarc commented 6 months ago

Was trying to compile a config for a ttgo-lora32-v1 and there appears to be many dependency errors that cause PlatformIO to fail compilation. Even upon editing the .ini file to include the older versions of the dependencies it appears to not help the problem whatsoever as the program appears to overwrite those dependencies with newer (broken) versions. Some examples of errors I got: `src/config.h:128:13: error: 'LED_BUILTIN' was not declared in this scope

define LED LED_BUILTIN

         ^~~~~~~~~~~

src/helpers/helper.h:13:75: note: in expansion of macro 'LED' static void ledBlink(uint8_t times, uint16_t delayTime, uint8_t pin = LED); ^~~ src/config.h:128:13: error: 'LED_BUILTIN' was not declared in this scope

define LED LED_BUILTIN

         ^~~~~~~~~~~

src/helpers/helper.h:13:75: note: in expansion of macro 'LED' static void ledBlink(uint8_t times, uint16_t delayTime, uint8_t pin = LED); ^~~ [.pio\build\esp-wrover-kitNAYAD_V1R2\src\bluetooth\bluetoothCommandService.cpp.o] Error 1 [.pio\build\esp-wrover-kitNAYAD_V1R2\src\bluetooth\bluetoothService.cpp.o] Error 1`

Library Manager: Installing dok-net/ghostl @ ^1.0.0 Library Manager: Warning! Could not install{'owner': 'dok-net', 'name': 'ghostl', 'version': '^1.0.0'}dependency for theEspSoftwareSerialpackage

If anyone could possibly send me a pre-compiled file for the Lora32 V1 that would be greatly appreciated.

Jaimi5 commented 5 months ago

Hi! I have updated a new version. It seams that EspSoftwareSerial and ghostl library have changed something about their repositories. Hope now it works correctly!

JDMarc commented 5 months ago

It would appear as though this has fixed the problem, thank you!