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
781 stars 310 forks source link

Unable to compile #123

Closed Eddiiie closed 4 years ago

Eddiiie commented 4 years ago

Hi, I am unable to compile examples. I think it is related to the command lines that compile, it has backslash and forward slashes in the command ??

Using Windows 10

Multiple libraries were found for "heltec.h" In file included from C:\Users\Fred\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFiGeneric.h:27:0,

Used: C:\Users\Fred\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards from C:\Users\Fred\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFiSTA.h:28,

Multiple libraries were found for "WiFi.h" from C:\Users\Fred\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFi.h:32,

Used: C:\Users\Fred\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi Not used: C:\Program from C:\Users\Fred\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\examples\Factory_Test\WiFi_LoRa_32FactoryTest\WiFi_LoRa_32FactoryTest.ino:27:

C:\Users\Fred\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/esp32/esp_event_loop.h:22:23: fatal error: esp_event.h: No such file or directory

compilation terminated.

exit status 1 Error compiling for board Heltec_WIFI_LoRa_32. `

Is this the problem? How do I fix? :) I can see the file if I browse to it.

C:\Users\Fred\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/esp32/esp_event_loop.h:22:23: fatal error: esp_event.h: No such file or directory

Eddiiie commented 4 years ago

I moved the espressif folder out of the hardware folder and to a backup folder. NOW it compiles. :)