title: fatal error: openssl/aes.h: No such file or directory
body: <p>I have included the file aes.h in the folder where the program is present , but still dont know what else need to do fr this ,any suggestions . Thanks in advance</p>
  
  <pre><code>  root@ubuntu:/home/giri/openssl-1.0.1g1/crypto/aes# gcc -Wall aes1.c -lcrypto
    aes1.c:4:25: fatal error: openssl/aes.h: No such file or directory
    compilation terminated.
  
    here is the code and ls 
    #include &lt;stdio.h&gt;
    #include &lt;stdlib.h&gt;
    #include &lt;string.h&gt;
    #include &lt;openssl/aes.h&gt;
  
    int main(int argc, char **argv)
    {
     int i;
     int keylength;
     printf("Give a key length [only 128 or 192 or 256!]:\n");
     scanf("%d", &amp;keylength);
  
     /* generate a key with a given length */
     unsigned char aes_key[keylength];
     memset(aes_key, 0, sizeof(aes_key));
     if (!RAND_bytes(aes_key, keylength))
    {
      exit(-1);
     }
     aes_key[keylength-1] = '\0';
  
     int inputslength;
     printf("Give an input's length:\n");
     scanf("%d", &amp;inputslength);
  
     /* generate input with a given length */
     unsigned char aes_input[inputslength+1];
     memset(aes_input, '0', sizeof(aes_input));
     aes_input[inputslength] = '\0';
  
  
    root@ubuntu:/home/giri/openssl-1.0.1g1/crypto/aes# ls
    aes1.c     aes_core.c  aes.h       aes_misc.c  aes_x86core.c  Makefile.save
    aes_cbc.c  aes_ctr.c   aes_ige.c   aes_ofb.c   asm            README
    aes_cfb.c  aes_ecb.c   aes_locl.h  aes_wrap.c  Makefile       securiti.c
  </code></pre>