1

let's suppose I have folder called AES, in this folder is file "AES.ino" where is code and folder "AESLib" what is library. In "AESLib" is file called "AESLib.h",

now when I try to include AESLib.h with

#include "AESLib/AESLib.h" 

in my AES.ino, then Arduino command line tool complain that its not able to find "AESLib.h"

Where could be the catch?

Thanks

2
  • 2
    Have you installed AESLib as a library, according to the official instructions? Nov 24, 2014 at 12:44
  • Hi Peter, including code as Arduino custom library is another approach and of course working. But this is about including your custom code, without use "library approach"
    – xrep
    May 30, 2015 at 9:08

2 Answers 2

0

Maybe this similar post is what you are looking for. In your case, you should use the path to the sketch folder as 'PROJECT_ROOT'.

Here's the link: https://arduino.stackexchange.com/a/9575/7741

Hope it helps.

0

I have the same problem using the Arduino IDE 1.5.6 beta. Adding the library(s) using the menu (Sketch->include library->something) makes it work until the IDE is closed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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