electricidea / M5Stack-Covid19-Monitor

Code to graphically display the current data of the Covid-19 pandemic
Other
10 stars 2 forks source link

failed to build using pio #1

Open kalon33 opened 4 years ago

kalon33 commented 4 years ago

Trying to build your project, I got this error:

> Executing task: platformio run <

Processing m5stack-grey (platform: espressif32; board: m5stack-grey; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-grey.html
PLATFORM: Espressif 32 1.11.2 > M5Stack GREY ESP32
HARDWARE: ESP32 240MHz, 520KB RAM, 16MB 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: 
 - framework-arduinoespressif32 3.10004.200129 (1.0.4) 
 - tool-esptoolpy 1.20600.0 (2.6.0) 
 - toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 27 compatible libraries
Scanning dependencies...
No dependencies
Error: Nothing to build. Please put your source code files to '/home/nicolas/Téléchargements/m5stack/M5Stack-Covid19-Monitor/src' folder
=========================================================================== [FAILED] Took 0.47 seconds ===========================================================================
The terminal process terminated with exit code: 1

Do you know what I did wrong?

Thanks for your help, and for your nice project.

electricidea commented 4 years ago

Hi Nicolas, You have to put the file platformio.ini into this directory:

/home/nicolas/Téléchargements/m5stack/M5Stack-Covid19-Monitor/

and the file main.cpp into this directory:

/home/nicolas/Téléchargements/m5stack/M5Stack-Covid19-Monitor/src/

Dont forget to install the M5STack library in the pio console:

pio lib install "M5Stack"

Let me know if it is working...

Regards Hans-Günther

Am Mo., 6. Apr. 2020 um 11:19 Uhr schrieb Nicolas Derive < notifications@github.com>:

Trying to build your project, I got this error:

Executing task: platformio run <

Processing m5stack-grey (platform: espressif32; board: m5stack-grey; framework: arduino)


Verbose mode can be enabled via -v, --verbose option

CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-grey.html

PLATFORM: Espressif 32 1.11.2 > M5Stack GREY ESP32

HARDWARE: ESP32 240MHz, 520KB RAM, 16MB 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:

  • framework-arduinoespressif32 3.10004.200129 (1.0.4)

  • tool-esptoolpy 1.20600.0 (2.6.0)

  • toolchain-xtensa32 2.50200.80 (5.2.0)

LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf

LDF Modes: Finder ~ chain, Compatibility ~ soft

Found 27 compatible libraries

Scanning dependencies...

No dependencies

Error: Nothing to build. Please put your source code files to '/home/nicolas/Téléchargements/m5stack/M5Stack-Covid19-Monitor/src' folder

=========================================================================== [FAILED] Took 0.47 seconds ===========================================================================

The terminal process terminated with exit code: 1

Do you know what I did wrong?

Thanks for your help, and for your nice project.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/electricidea/M5Stack-Covid19-Monitor/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6HC7FCRS4GOY6LF3O73T3RLGNCNANCNFSM4MCDJA4Q .

kalon33 commented 4 years ago

Hi Hans-Günther, that worked perfectly, thanks!

electricidea commented 4 years ago

Great. I'm glad it works! Enjoy it and stay healthy!

Am Mo., 6. Apr. 2020 um 13:15 Uhr schrieb Nicolas Derive < notifications@github.com>:

Hi Hans-Günther, that worked perfectly, thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/electricidea/M5Stack-Covid19-Monitor/issues/1#issuecomment-609731176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6HC7D4CB2JA657AOH2O4LRLG2TJANCNFSM4MCDJA4Q .