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

Gregor Jasny gjasny at googlemail.com
Sat Nov 26 03:29:14 EST 2016


Hello,

On 25/11/2016 19:25, Nathan Sizemore wrote:
> 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;

You are using the embedded copy of libarchive. I would suggest you
install the Debian CMake package build dependencies:

  apt-get build-dep cmake

so that you use the system libraries instead of the embedded ones.
Hopefully this will resolve your issue.

Thanks,
Gregor


More information about the CMake mailing list