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
    Have you installed AESLib as a library, according to the official instructions? – Peter Bloomfield Nov 24 '14 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 '15 at 9:08
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.

| improve this answer | |
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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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