[CMake] v3.7.0 - archive_cryptor_private.h - compile error

Nathan Sizemore nathanrsizemore at gmail.com
Fri Nov 25 13:25:38 EST 2016


Hello,

I receive the following when building:

[ 40%] Building C object
Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_cryptor.c.o
In file included from
/home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor.c:32:0:
/home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:107:17:
error: field ‘ctx’ has incomplete type
  EVP_CIPHER_CTX ctx;

$ cat /etc/issue
Debian GNU/Linux 8

$ gcc --version
gcc (Debian 4.9.2-10) 4.9.2

Any ideas on how to resolve?


Nathan Sizemore
937-668-7495 | @nathansizemore


More information about the CMake mailing list