<div dir="ltr"><div><div><div><div>Hi Marco,<br><br></div>Yes, I see. I downloaded it manually from <a href="http://www.cryptopp.com/#download">http://www.cryptopp.com/#download</a> and installed to /usr/local<br></div>The problem was in cryptopp.hpp that was not found. It was an error in the path to it. <br></div>Now, it compiles but I have another problem when running ndn-simple:<br>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>Command ['/home/nemo/new_test/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] exited with code 127<br><br></div>Any idea what it may be due to?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-16 15:29 GMT+01:00 Marco Ulgelmo <span dir="ltr"><<a href="mailto:marco.ulgelmo@aol.com" target="_blank">marco.ulgelmo@aol.com</a>></span>:<br><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>
What version of Cryptopp are you currently using?<br>
<div class="HOEnZb"><div class="h5"><br>
> On 16 Nov 2015, at 11:17, Natalya Rozhnova <<a href="mailto:rozhnova.natalya@gmail.com">rozhnova.natalya@gmail.com</a>> wrote:<br>
><br>
> Hi Marco,<br>
><br>
> The problem is not to find the library but to make a test…<br>
> As I said in my previous message I tried the option —with-cryptopp=path but it doesn’t change anything.<br>
><br>
> The error is: CryptoPP is present (so it finds the library) but unusable (don’t get what’s the problem)<br>
> Any idea?<br>
><br>
> Best,<br>
> Natalya<br>
><br>
><br>
>> Le 15 nov. 2015 à 13:10, Marco Ulgelmo <<a href="mailto:marco.ulgelmo@aol.com">marco.ulgelmo@aol.com</a>> a écrit :<br>
>><br>
>> Hi,<br>
>><br>
>> 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>
>><br>
>> Marco Ulgelmo<br>
>><br>
>>> On 13 Nov 2015, at 17:16, Natalya Rozhnova <<a href="mailto:rozhnova.natalya@gmail.com">rozhnova.natalya@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi guys,<br>
>>><br>
>>> I'm trying to compile the ns3 with ndnSIM 2.1 but I have a following problem when configuring :<br>
>>><br>
>>> CryptoPP is present, but is not usable<br>
>>><br>
>>> Could you please tell me what's wrong and what I supposed to do to resolve this?<br>
>>><br>
>>> BTW:<br>
>>>> whereis libcryptopp<br>
>>> libcryptopp: /usr/local/lib/libcryptopp.a /usr/local/lib/libcryptopp.so<br>
>>><br>
>>> I have also tried to use the option --with-cryptopp=/usr/local but it doesn't help...<br>
>>><br>
>>> Thanks in advance for your reply,<br>
>>> Best,<br>
>>> Natalya<br>
>>> _______________________________________________<br>
>>> ndnSIM mailing list<br>
>>> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
>>> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
>><br>
><br>
<br>
</div></div></blockquote></div><br></div>