Heltec-Aaron-Lee / WiFi_Kit_series

Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation.
GNU Lesser General Public License v2.1
782 stars 310 forks source link

WiFi_LoRa_32_V2, Arduino IDE 2.2.1, Compile Error: LoRaWan_APP.h: No such file or directory #211

Open madmacks59 opened 1 year ago

madmacks59 commented 1 year ago

So...I have a couple of older LoRa board (V2) and I am not able to get them to running. I have the Arduino IDE (2.2.1) set up, with the libraries installed for Heltec, and when I select the example sketch (OLED_LORA_RECEIVER) and try to compile it throws an error...

Compilation error: LoRaWan_APP.h: No such file or directory

It seems like everything installed properly, but when I do a WinDoze file scan I don't fine LoRaWan_APP.h anywhere. Shouldn't the needed libraries get installed when the board drivers are installed?

nroselnik commented 1 year ago

I actually have the same problem, I added https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/package_heltec_esp32_index.json to the additional board. Heltec-examples shows up for a while. Afterwards, it disappeared and I received the same error.

nroselnik commented 1 year ago

Right, just to update. Apparently, they released version 0.08, which was auto-updated. Short-term fix: if the heltec examples did not show up in your example sketches, remove 0.08 and reinstall the 0.07. It should show up again.

FrankRenp commented 11 months ago

Seems to be related to the selected board. I got it work with the Board "WiFi LoRa 32(V2)" from the Heltec ESP 32 Series Dev-Boards.

I had the same error, if I select the "Heltec WiFi LoRa32(V2)" - which is different. This worked with with the Heltec ESP32 Dev-board library 1.1.1. (heltec.h included in the example). With 1.1.2 it has been changed and the LoRaWan_APP.h is included in the example (with is "not found") up to the current 1.1.5 version.

BHLabsLtd commented 9 months ago

Had the same issue, had to remove ESP32 in the board manager and only have WiFi Kit board added.

seems to switch between the 2 and confuses it self.

ShotokuTech commented 1 week ago

I resolve a different problem. But you might find this useful: https://youtu.be/c1lkIko4Wsk?si=3eKGeQ3jlG1Wu_-9