Issues with Include
lforche opened this issue · 1 comments
I have included "aes.h" into another header file. I have gotten the following errors. I believe that "aes.h" is in my path, but is that the only reason why these errors would be happening, or is there something else that I am missing? I have put "aes.h" in the same place as my header file that I am working on, but these errors happened still
error: ‘AES_init_ctx’ was not declared in this scope
13 | AES_init_ctx(&ctx, key);
error: ‘void AES_init_ctx(rv32_custom_add(processor_t*, insn_t, reg_t)::AES_ctx*, const uint8_t*)’, declared using local type ‘rv32_custom_add(processor_t*, insn_t, reg_t)::AES_ctx’, is used but never defined [-fpermissive]
52 | void AES_init_ctx(struct AES_ctx* ctx, const uint8_t* key);
Can you provide some more information regarding your issue? (e.g. compiler arguments, and a test program)