[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: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 05 Oct 2009 09:02:08 +0200
- To: libssh@xxxxxxxxxx
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 > > >
Re: Build error when using WITH_GCRYPT=ON | Vic Lee <llyzs@xxxxxxx> |
Build error when using WITH_GCRYPT=ON | Vic Lee <llyzs@xxxxxxx> |