Issues in libraries compilation
I decided to upgrade an infrastructure of few projects built from Arduino Nano and nRF24L01+ to ESP32 with LoRa transceiver. The aim enhancement of both communication range and processing power.
For the development I purchased few units of WiFi LoRa 32 V2 and Wireless stick (LoRa WiFi BLE), all from Heltec. My environment is Windows 10 and Arduino IDE 1.8.2. The ESP32 is connected through 15cm long cable to USB2.0 port.
All the experiments described below were done on 4 units, 2 of every part. I also uninstalled and re-installed the IDE.
I’d appreciate very much any clue.
I used the LoRaDumpRegisters example from https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series. The problem is as listed in the table below. All other references to both Heltech and LoRa libraries were OK.
|\Users\USER\AppData\Local\Temp\arduino_build_287169\ sketch\LoRaDumpRegisters.ino.cpp.o:(.literal._Z5setupv+0x4)||undefined reference to `Heltec’|
|\Users\USER\AppData\Local\Temp\arduino_build_287169\ sketch\LoRaDumpRegisters.ino.cpp.o:(.literal._Z5setupv+0x8)||undefined reference to `Heltec_ESP32::begin(bool, bool, bool, bool, long)’|
|\Current\ESP32comm\LoRaDumpRegisters/ LoRaDumpRegisters.ino:20||undefined reference to `Heltec_ESP32::begin(bool, bool, bool, bool, long)’|