Go Down

Topic: Including "Arduino.h" on same OS (Read 323 times) previous topic - next topic

metroyanno

There is a Cathedrow/Cryptosuite library, but when I try to compile a sketch, I have an error: pastebin
OS info (screenfetch): pastebin
Arduino IDE v1.8.3

pert

They screwed up the capitalization of the filename. Please do this:
  • Open /home/metroyanno/Arduino/libraries/SHA/sha1_config.h in a text editor.
  • Change line 13 from:

Code: [Select]
  #include "arduino.h"
to:
Code: [Select]
  #include "Arduino.h"
  • Save the file.
  • Try compiling again.

metroyanno


pert

Glad I was able to help! I have submitted a pull request to fix this issue:
https://github.com/bakercp/Cryptosuite/pull/3
Note that the link you posted above is not actually the fork of the library you have installed because the Cathedrow repository doesn't contain the file sha1_config.h and doesn't have the Arduino.h filename issue. I hunted down what I believe to be the primary fork of the library that does have the filename issue to submit the pull request to but there are some other forks as well so it's impossible for me to know which one you are using.

Go Up