For those who use the IDE Platform IO, I have an issue for you. I use to program a home application of sensor reading and use the library "JC_Button.h" to manage buttons. There are other third-party libraries, but this in especial is cumbersome. The project tree is shown below.


The compile log of the build is here. I have few notion of what is happening. In my opinion, the project does not find the necessary lib.

Thank you in advance.

bumped to the homepage by Community 1 hour ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • your log file says the compiler can’t find the header file. check that the include dir exists and that the compiler knows how to find it – hdrz Nov 10 at 7:02

It looks like you are not telling PlatformIO that you need the JC_Button library. Try adding this to your platformio.ini file:

lib_deps =

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.