<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Have you tried with the following?<div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">LD_LIBRARY_PATH="/usr/local:$LD_LIBRARY_PATH"</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">PKG_CONFIG_PATH="/usr/local/pkgconfig:$PKG_CONFIG_PATH"</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">PATH="/usr/local/bin:$PATH"</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH"</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">INCLUDE_PATH="/usr/local/include:$INCLUDE_PATH"</div><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo;">export LD_LIBRARY_PATH PKG_CONFIG_PATH PATH LIBRARY_PATH INCLUDE_PATH</div></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 17 Nov 2015, at 19:17, Natalya Rozhnova <<a href="mailto:rozhnova.natalya@gmail.com" class="">rozhnova.natalya@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi Marco,<br class=""><br class=""></div>Yes, I see. I downloaded it manually from <a href="http://www.cryptopp.com/#download" class="">http://www.cryptopp.com/#download</a> and installed to /usr/local<br class=""></div>The problem was in cryptopp.hpp that was not found. It was an error in the path to it. <br class=""></div>Now, it compiles but I have another problem when running ndn-simple:<br class="">ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug: error while loading shared libraries: libcryptopp.so: cannot open shared object file: No such file or directory<br class="">Command ['/home/nemo/new_test/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] exited with code 127<br class=""><br class=""></div>Any idea what it may be due to?<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-11-16 15:29 GMT+01:00 Marco Ulgelmo <span dir="ltr" class=""><<a href="mailto:marco.ulgelmo@aol.com" target="_blank" class="">marco.ulgelmo@aol.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What I meant is that the default version of Crypto++ library isn’t working for me either and I was not able to run a test. However by downloading and installing it (just tell me if you have already done so) I was able to correctly run the simulations. The —with-cryptopp is needed to tell the configure script where to find the crypto libraries (otherwise it will find those in the default location and not the one you downloaded).<br class="">
What version of Cryptopp are you currently using?<br class="">
<div class="HOEnZb"><div class="h5"><br class="">
> On 16 Nov 2015, at 11:17, Natalya Rozhnova <<a href="mailto:rozhnova.natalya@gmail.com" class="">rozhnova.natalya@gmail.com</a>> wrote:<br class="">
><br class="">
> Hi Marco,<br class="">
><br class="">
> The problem is not to find the library but to make a test…<br class="">
> As I said in my previous message I tried the option —with-cryptopp=path but it doesn’t change anything.<br class="">
><br class="">
> The error is: CryptoPP is present (so it finds the library) but unusable (don’t get what’s the problem)<br class="">
> Any idea?<br class="">
><br class="">
> Best,<br class="">
> Natalya<br class="">
><br class="">
><br class="">
>> Le 15 nov. 2015 à 13:10, Marco Ulgelmo <<a href="mailto:marco.ulgelmo@aol.com" class="">marco.ulgelmo@aol.com</a>> a écrit :<br class="">
>><br class="">
>> Hi,<br class="">
>><br class="">
>> I resolved that issue by downloading and installing that library separately. When you compile ndnSIM just specify where to find the new library with the --with-cryptopp=/path/to/library<br class="">
>><br class="">
>> Marco Ulgelmo<br class="">
>><br class="">
>>> On 13 Nov 2015, at 17:16, Natalya Rozhnova <<a href="mailto:rozhnova.natalya@gmail.com" class="">rozhnova.natalya@gmail.com</a>> wrote:<br class="">
>>><br class="">
>>> Hi guys,<br class="">
>>><br class="">
>>> I'm trying to compile the ns3 with ndnSIM 2.1 but I have a following problem when configuring :<br class="">
>>><br class="">
>>> CryptoPP is present, but is not usable<br class="">
>>><br class="">
>>> Could you please tell me what's wrong and what I supposed to do to resolve this?<br class="">
>>><br class="">
>>> BTW:<br class="">
>>>> whereis libcryptopp<br class="">
>>> libcryptopp: /usr/local/lib/libcryptopp.a /usr/local/lib/libcryptopp.so<br class="">
>>><br class="">
>>> I have also tried to use the option --with-cryptopp=/usr/local but it doesn't help...<br class="">
>>><br class="">
>>> Thanks in advance for your reply,<br class="">
>>> Best,<br class="">
>>> Natalya<br class="">
>>> _______________________________________________<br class="">
>>> ndnSIM mailing list<br class="">
>>> <a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">
>>> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class="">
>><br class="">
><br class="">
<br class="">
</div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>