Closed kexsic1 closed 1 year ago
Hello, when building a project, the compiler swears at the following files
src/discord/attachment.c:3:10: fatal error: cutils.h: No such file or directory **************************************************************** * Looking for cutils.h dependency? Check our library registry! * * CLI > platformio lib search "header:cutils.h" * Web > https://registry.platformio.org/search?q=header:cutils.h * **************************************************************** #include "cutils.h" ^~~~~~~~~~ compilation terminated. *** [.pio\build\upesy_wroom\src\discord\attachment.c.o] Error 1 src/discord/channel.c:2:10: fatal error: estr.h: No such file or directory ************************************************************** * Looking for estr.h dependency? Check our library registry! * * CLI > platformio lib search "header:estr.h" * Web > https://registry.platformio.org/search?q=header:estr.h * ************************************************************** #include "estr.h" ^~~~~~~~ compilation terminated. In file included from include/discord/private/_discord.h:19, from include/discord/private/_gateway.h:9, from src/discord.c:2: include/discord_ota.h:8:10: fatal error: estr.h: No such file or directory ************************************************************** * Looking for estr.h dependency? Check our library registry! * * CLI > platformio lib search "header:estr.h" * Web > https://registry.platformio.org/search?q=header:estr.h * ************************************************************** #include "estr.h" ^~~~~~~~ compilation terminated. *** [.pio\build\upesy_wroom\src\discord\channel.c.o] Error 1 *** [.pio\build\upesy_wroom\src\discord.c.o] Error 1 ====================================================================== [FAILED] Took 3.35 seconds ======================================================================
Make sure to clone with --recursive flag to ensure that submodules are cloned as well:
--recursive
git clone --recursive https://github.com/abobija/esp-discord
Hello, when building a project, the compiler swears at the following files