cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.69k stars 397 forks source link

Cant build project v2.4.0 #801

Closed v8-rt closed 3 years ago

v8-rt commented 3 years ago

Hi guys, Can you please help me? I strictly followed this video: https://www.youtube.com/watch?v=WuRb43B0jmo (with the exception that i used heltecv21 board) yet VS Code wont let me build the Project.

This is what i get:


Executing task: C:\Users\Andi.platformio\penv\Scripts\platformio.exe run <

Can not remove temporary directory C:\Users\Andi\Documents\PlatformIO\Projects\ESP32-Paxcounter-2.4.0X\.pio\build. Please remove it manually to avoid build issues Processing usb (platform: espressif32; board: heltec_wifi_lora_32_V2; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option Parsing hardware configuration from C:\Users\Andi\Documents\PlatformIO\Projects\ESP32-Paxcounter-2.4.0X\src\hal\heltecv21.h Parsing LMIC configuration from C:\Users\Andi\Documents\PlatformIO\Projects\ESP32-Paxcounter-2.4.0X\src\lmic_config.h Parsing LORAWAN keys from C:\Users\Andi\Documents\PlatformIO\Projects\ESP32-Paxcounter-2.4.0X\src\loraconf.h Parsing OTA keys from C:\Users\Andi\Documents\PlatformIO\Projects\ESP32-Paxcounter-2.4.0X\src\ota.conf Target board: heltec_wifi_lora_32_V2 @ 921600bps Partition table: min_spiffs.csv CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/heltec_wifi_lora_32_V2.html PLATFORM: Espressif 32 (3.2.0) > Heltec WiFi LoRa 32 (V2) HARDWARE: ESP32 240MHz, 320KB RAM, 8MB Flash DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

Terminal will be reused by tasks, press any key to close it.


It doesnt work with selecting other boards either.... Any help is appreciated. Thanks!

cyberman54 commented 3 years ago

This looks like a problem with your platformio toolchain. Please try running platformio with administrator rights.

v8-rt commented 3 years ago

Hi, Thank you for your quick reply! Unfortunately it's the same when running VSC as admin. I will try to build with another computer later. Do you think I need to install more extensions?

cyberman54 commented 3 years ago

You don't need any other extension that platformio for VSC. And a working python installation under VSC.

v8-rt commented 3 years ago

Hi cyberman54, it works with VSC (+platformio extension) for macOS. I've tried it on another windows and still had no success. Maybe I am doing something wrong there or their current version has a bug? Idk. But since your paxcounter compiled and uploaded successfully from Mac, I am already happy. Thanks for your quick response! (if I'll try on windows again some day and it works, I'll try to figure out what went wrong)

hungryhunter68 commented 3 years ago

Hi, I have exactly the same issue under windows & linux - unfortunately I have no MAC available to test. Any idea what causes this issue? Thank you very much.