[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build error when using WITH_GCRYPT=ON
[Thread Prev] | [Thread Next]
- Subject: Re: Build error when using WITH_GCRYPT=ON
- From: Vic Lee <llyzs@xxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 05 Oct 2009 15:31:16 +0800
- To: libssh@xxxxxxxxxx
Hi Aris, That works. Thanks! Vic On Mon, 2009-10-05 at 09:02 +0200, Aris Adamantiadis wrote: > Hi Vic, > > This is a bug of cmake I already experienced. My workaround is to delete > the CMakeCache.txt file in the build directory when you're going to > change the compilation flags. > > Aris > > Vic Lee a écrit : > > Hi, > > > > I have both openssl and gcrypt and I want to compile libssh with gcrypt, > > so I add this option. > > > > $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug > > -DWITH_GCRYPT=ON .. > > > > When I "make" a lot of compilation error pop up from file dh.c. I found > > out that in config.h, both HAVE_LIBCRYPTO and HAVE_LIBGCRYPT were > > defined to 1. I manually comment "#define HAVE_LIBCRYPTO 1" and it built > > fine. > > > > I am not familiar with cmake system, please help to check how to fix it? > > > > Thanks, > > > > Vic > > > > > > > >
Build error when using WITH_GCRYPT=ON | Vic Lee <llyzs@xxxxxxx> |
Re: Build error when using WITH_GCRYPT=ON | Aris Adamantiadis <aris@xxxxxxxxxxxx> |