I don't think we introduced incompatibilities between 5.6.1 and 5.6.3. That 
means - an ugly but usually effective hack should work: figure where the 5.6.1 
got installed (includes, libraries including shared, cryptest.exe, maybe test 
data), and just overwrite it with the 5.6.3 components. 

Sent from my iPad

> On Feb 16, 2016, at 02:50, Jeffrey Walton <[email protected]> wrote:
> 
> 
>> 
>> But, when I try to compile the code I wish to, using cmake, I get this error:
>> 
>>   Could NOT find CryptoPP: Found unsuitable version "5.6.1", but required is
>>   at least "5.6.2" (found /usr/include)
>> 
>> 
>> How can I fix this? It seems that I have 5.6.1 and 5.6.3 on my machine, but 
>> the 5.6.1 version was installed using apt-get and is taking precedence over 
>> 5.6.3
>> 
>> I imagine it is some kind of symbolic link issue, but I cannot find the 
>> solution.
> 
> The easiest way I found is the following. Its also how the Crypto++ test 
> program does things:
> 
>     g++ -I . foo.c ./libcryptopp.a -o foo.exe
> 
> You can probably do something like the following, too:
> 
>     CRYPTOPP_INCL=/usr/home/jdoe/Desktop/cryptopp
>     CRYPTOPP_LIB=/usr/home/jdoe/Desktop/cryptopp
> 
>     g++ -I $CRYPTOPP_INCL foo.c $CRYPTOPP_LIB/ibcryptopp.a -o foo.exe
> 
> You can probably perform the following, too:
> 
>     g++ -I $CRYPTOPP_INCL foo.c -o foo.exe -L $CRYPTOPP_LIB -lcryptopp
>     LD_LIBRARY_PATH=$CRYPTOPP_LIB:$LD_LIBRARY_PATH; ./foo.exe
> 
> In the end, linking against the static library is probably easiest.
> 
> Jeff
> -- 
> -- 
> You received this message because you are subscribed to the "Crypto++ Users" 
> Google Group.
> To unsubscribe, send an email to [email protected].
> More information about Crypto++ and this group is available at 
> http://www.cryptopp.com.
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to