-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help would be greatly appreciated! hello, i"m trying to compile using platform.io but got errors #10
Comments
Hey, it looks like a dep for the display support was missing, try building it now |
Oh thanks, I'll get back to you shortly! |
I Still canèt compile.
I think the “include.h” file or "Include” folder is missing or something.
Errors:
"/Users/lefab/Documents/PlatformIO/Projects/LittleBeat/include”,
I have the latest esp32framework installed and the latest esp32boards definitions and path in the platform.ini file
here is are the debug errors:
PIO Core Call Error: "Processing esp32doit-devkit-v1 (platform: espressif32; framework: arduino; board: esp32doit-devkit-v1)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via `-v, --verbose` option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html\nPLATFORM: Espressif 32 (3.5.0) > DOIT ESP32 DEVKIT V1\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\nDEBUG: 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)\nPACKAGES: \n - framework-arduinoespressif32 3.10006.210326 (1.0.6) \n - tool-esptoolpy 1.30100.210531 (3.1.0) \n - toolchain-xtensa32 2.50200.97 (5.2.0)\nLDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf\nLDF Modes: Finder ~ chain, Compatibility ~ soft\nFound 28 compatible libraries\nScanning dependencies...\nNo dependencies\nBuilding in debug mode\nCompiling .pio/build/esp32doit-devkit-v1/src/drummer.cc.o\nCompiling .pio/build/esp32doit-devkit-v1/src/lut.cc.o\nCompiling .pio/build/esp32doit-devkit-v1/src/main.cc.o\nCompiling .pio/build/esp32doit-devkit-v1/src/peaks-drums.cc.o\nCompiling .pio/build/esp32doit-devkit-v1/src/ui.cc.o\nGenerating partitions .pio/build/esp32doit-devkit-v1/partitions.bin\nArchiving .pio/build/esp32doit-devkit-v1/libFrameworkArduinoVariant.a\nIndexing .pio/build/esp32doit-devkit-v1/libFrameworkArduinoVariant.a\nCompiling .pio/build/esp32doit-devkit-v1/FrameworkArduino/Esp.cpp.o\nCompiling .pio/build/esp32doit-devkit-v1/FrameworkArduino/FunctionalInterrupt.cpp.o\nCompiling .pio/build/esp32doit-devkit-v1/FrameworkArduino/HardwareSerial.cpp.o\nCompiling .pio/build/esp32doit-devkit-v1/FrameworkArduino/IPAddress.cpp.o\nCompiling .pio/build/esp32doit-devkit-v1/FrameworkArduino/IPv6Address.cpp.o\n\n\n\nsrc/lut.cc:1:9: warning: #pragma once in main file\n #pragma once\n ^\nIn file included from src/ui.cc:1:0:\nsrc/ui.h:3:24: fatal error: EasyButton.h: No such file or directory\n\n********************************************************************\n* Looking for EasyButton.h dependency? Check our library registry!\n*\n* CLI > platformio lib search \"header:EasyButton.h\"\n* Web > https://registry.platformio.org/search?q=header:EasyButton.h\n*\n********************************************************************\n\ncompilation terminated.\nsrc/main.cc:3:18: fatal error: MIDI.h: No such file or directory\n\n**************************************************************\n* Looking for MIDI.h dependency? Check our library registry!\n*\n* CLI > platformio lib search \"header:MIDI.h\"\n* Web > https://registry.platformio.org/search?q=header:MIDI.h\n*\n**************************************************************\n\ncompilation terminated.\n*** [.pio/build/esp32doit-devkit-v1/src/ui.cc.o] Error 1\n*** [.pio/build/esp32doit-devkit-v1/src/main.cc.o] Error 1\nIn file included from src/peaks-drums.cc:3:0:\nsrc/peaks-drums.h: In member function 'void peaks::FmDrum::Morph(uint16_t, uint16_t)':\nsrc/peaks-drums.h:826:18: warning: variable 'parameters' set but not used [-Wunused-but-set-variable]\n uint16_t parameters[4];\n ^\nIn file included from src/drummer.h:3:0,\n from src/drummer.cc:3:\nsrc/peaks-drums.h: In member function 'void peaks::FmDrum::Morph(uint16_t, uint16_t)':\nsrc/peaks-drums.h:826:18: warning: variable 'parameters' set but not used [-Wunused-but-set-variable]\n uint16_t parameters[4];\n ^\nIn file included from src/drummer.cc:3:0:\nsrc/drummer.h: In member function 'bool Drummer::i2s_write_sample_nb(uint32_t)':\nsrc/drummer.h:148:16: warning: 'int i2s_write_bytes(i2s_port_t, const void*, size_t, TickType_t)' is deprecated [-Wdeprecated-declarations]\n return i2s_write_bytes((i2s_port_t)i2s_num, &sample, sizeof(uint32_t), 100);\n ^\nIn file included from src/drummer.h:1:0,\n from src/drummer.cc:3:\n/Users/lefab/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver/driver/i2s.h:301:5: note: declared here\n int i2s_write_bytes(i2s_port_t i2s_num, const void *src, size_t size, TickType_t ticks_to_wait) __attribute__ ((deprecated));\n ^\nIn file included from src/drummer.cc:3:0:\nsrc/drummer.h:148:16: warning: 'int i2s_write_bytes(i2s_port_t, const void*, size_t, TickType_t)' is deprecated [-Wdeprecated-declarations]\n return i2s_write_bytes((i2s_port_t)i2s_num, &sample, sizeof(uint32_t), 100);\n ^\nIn file included from src/drummer.h:1:0,\n from src/drummer.cc:3:\n/Users/lefab/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver/driver/i2s.h:301:5: note: declared here\n int i2s_write_bytes(i2s_port_t i2s_num, const void *src, size_t size, TickType_t ticks_to_wait) __attribute__ ((deprecated));\n ^\nIn file included from src/drummer.cc:3:0:\nsrc/drummer.h:148:83: warning: 'int i2s_write_bytes(i2s_port_t, const void*, size_t, TickType_t)' is deprecated [-Wdeprecated-declarations]\n return i2s_write_bytes((i2s_port_t)i2s_num, &sample, sizeof(uint32_t), 100);\n ^\nIn file included from src/drummer.h:1:0,\n from src/drummer.cc:3:\n/Users/lefab/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver/driver/i2s.h:301:5: note: declared here\n int i2s_write_bytes(i2s_port_t i2s_num, const void *src, size_t size, TickType_t ticks_to_wait) __attribute__ ((deprecated));\n ^\n========================== [FAILED] Took 2.14 seconds ==========================\nEnvironment Status Duration\n------------------- -------- ------------\nesp32doit-devkit-v1 FAILED 00:00:02.145\n==================== 1 failed, 0 succeeded in 00:00:02.145 ===================="
… On Feb 14, 2022, at 5:50 AM, volca02 ***@***.***> wrote:
Hey, it looks like a dep for the display support was missing, try building it now
—
Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2IJGITVPMJ5G2CAUJ3U3DNBHANCNFSM5ODZLQOA>.
You are receiving this because you authored the thread.
|
Hey, this is a bit hard to read, but it seems like you're missing the dependencies. Not sure how you tried to install them but they are missing. |
Which one exactly? thanks |
I am not sure which dependencies you are referring to? Anyone? |
Could you please point me towards some documentation, I want to make this work. But there is no info on how to proceed, and I can't get to work!!! please, I would appreciate it. |
Hey. I think the missing MIDI.h is the problem now - but you clearly had it installed before. If I were you, I'd try checking out the project again and rebuilding it clean |
And by rebuilding it clean you mean?
I git cloned your repo, did not modify anything at all and then I built it using platformIO.
How can I do this more clean?
Thanks I really appreciate your help
… On Mar 31, 2022, at 1:12 PM, volca02 ***@***.***> wrote:
Hey. I think the missing MIDI.h is the problem now - but you clearly had it installed before. If I were you, I'd try checking out the project again and rebuilding it clean
—
Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2L3DJA3P66OF5QLAXTVCXMIZANCNFSM5ODZLQOA>.
You are receiving this because you authored the thread.
|
I just re-built it, and here are the errors I get:
|
Hey this is hard to read, asi it mixes warnings with errors. |
Hi, could you then tell me what you would need me to do or give to you so that you can actually help me with this problem?
I am just sending you a simple copy-paste of the errors that platform io gives me, but if something else would be more helpful, please let me know.
what can I do to help you help me?
Thanks
… On Apr 1, 2022, at 3:02 AM, volca02 ***@***.***> wrote:
Hey this is hard to read, asi it mixes warnings with errors.
—
Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM22A2KZ4LU2VZTZVFITXELVC2NPFANCNFSM5ODZLQOA>.
You are receiving this because you authored the thread.
|
wiring is fine "i think"
here's the errors i get in the "problems" tab:
and here are the ones i get in the console when compile fails:
The text was updated successfully, but these errors were encountered: