<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tanusree Chatterjee</b> <span dir="ltr"><<a href="mailto:tnsr.chatterjee@gmail.com">tnsr.chatterjee@gmail.com</a>></span><br>Date: Sat, Jun 3, 2017 at 1:32 PM<br>Subject: Re: [Mini-NDN] how to compile example file<br>To: "Ashlesh Gawande (agawande)" <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>><br><br><br><div dir="ltr"><div><div>I have done the git clone and then in the cloned directory I have done "git pull origin master" to update before waf steps. It shows it is already updated. After building the NFD, now it again shows the same problem. The screenshot is attached.<br><br></div>--Thanks & Regards,<br></div>Tanusree Chatterjee<br><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Jun 1, 2017 at 6:55 PM, Ashlesh Gawande (agawande) <span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>

<div id="m_9124364767443169816m_-8865845640090940351divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Producer will not show any output unless you run the consumer.</p>
<p><br>
</p>
<p>If you did git clone once - that is enough. Just go to the cloned directory and do "git pull origin master" to update.</p>
<p>Then do the waf steps again.</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_9124364767443169816m_-8865845640090940351divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Tanusree Chatterjee <<a href="mailto:tnsr.chatterjee@gmail.com" target="_blank">tnsr.chatterjee@gmail.com</a>><br>
<b>Sent:</b> Thursday, June 1, 2017 5:39:34 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> DIMPAL SUTAR; <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><div><div class="m_9124364767443169816h5"><br>
<b>Subject:</b> Re: [Mini-NDN] how to compile example file</div></div></font>
<div> </div>
</div><div><div class="m_9124364767443169816h5">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
I faced the same problem while compiling the examples. Though the consumer.cpp and consumer-with-timer.cpp are compiled, the producer.cpp is not showing any output.<br>
<br>
</div>
Another confusion is that should not I get the latest version of ndn-cxx from the link<span style="font-family:monospace,monospace"><br>
git clone <a href="https://github.com/named-data/ndn-cxx" target="_blank">https://github.com/named-data/<wbr>ndn-cxx</a></span> ?<br>
<br>
</div>
After getting the problem in NFD build, instead of the above I have used the following to get the latest version. Though my problem has not been resolved.<br>
<br>
</div>
git pull <a href="https://github.com/named-data/ndn-cxx.git" target="_blank">https://github.com/named-data/<wbr>ndn-cxx.git</a><br>
<div><br>
<br>
</div>
<div>--Thanks & Regards,<br>
</div>
<div>Tanusree Chatterjee<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, May 30, 2017 at 9:02 PM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div id="m_9124364767443169816m_-8865845640090940351m_5442892609768583399divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
It is supposed to be stuck waiting (listening) for an interest:
<div><a href="https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp#L46" class="m_9124364767443169816m_-8865845640090940351m_5442892609768583399OWAAutoLink" id="m_9124364767443169816m_-8865845640090940351m_5442892609768583399LPlnk91329" target="_blank">https://github.com/named-data/<wbr>ndn-cxx/blob/master/examples/p<wbr>roducer.cpp#L46</a><br>
<br>
</div>
<div>Run consumer on another terminal.</div>
<div>(Consumer sends an interest to producer).</div>
<div>
<div></div>
</div>
<div><br>
</div>
<div>You can then use control-C to exit the producer.</div>
<div><br>
</div>
<div>Ashlesh</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_9124364767443169816m_-8865845640090940351m_5442892609768583399divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> DIMPAL SUTAR <<a href="mailto:dimpal.s@somaiya.edu" target="_blank">dimpal.s@somaiya.edu</a>><br>
<b>Sent:</b> Tuesday, May 30, 2017 10:26:10 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Subject:</b> Re: [Mini-NDN] how to compile example file</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div><span style="font-family:monospace,monospace">Hi,<br>
</span></div>
<span style="font-family:monospace,monospace">To install Mini-ndn, I started the installation with its prerequisite library ndn-cxx, for that, I referred the steps from this link-
<a href="https://named-data.net/doc/ndn-cxx/current/INSTALL.html" target="_blank">
https://named-data.net/doc/ndn<wbr>-cxx/current/INSTALL.html</a><br clear="all">
</span>
<div><span style="font-family:monospace,monospace"><br>
</span></div>
<div><span style="font-family:monospace,monospace">step 1<br>
sudo apt-get install build-essential libcrypto++-dev libsqlite3-dev libboost-all-dev libssl-dev<br>
</span>
<pre><span style="font-family:monospace,monospace">step 2<br>sudo apt-get install doxygen graphviz python-sphinx python-pip
sudo pip install sphinxcontrib-doxylink sphinxcontrib-googleanalytics<br><br></span></pre>
<pre><span style="font-family:monospace,monospace">then I downloaded (step 3)<br></span></pre>
<pre><span style="font-family:monospace,monospace">ndn-cxx library from : <br>git clone <a href="https://github.com/named-data/ndn-cxx" target="_blank">https://github.com/named-data/<wbr>ndn-cxx</a><br><br></span></pre>
<pre><span style="font-family:monospace,monospace">step 4<br>./waf configure --with-examples
./waf
sudo ./waf install</span><br><br></pre>
<pre>step 5<br>sudo ldconfig<br><br></pre>
<pre>then to I tested the example files<br></pre>
<pre>by <br>./build/examples/producer,<br></pre>
<pre>Here I am stucked for the output, and not able to decode my mistake in installation<br></pre>
</div>
</div>
<div class="gmail_extra">
<div>
<div class="m_9124364767443169816m_-8865845640090940351h5"><br>
<div class="gmail_quote">On Tue, May 30, 2017 at 8:43 PM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div id="m_9124364767443169816m_-8865845640090940351m_5442892609768583399m_8776778080669976038divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Can you please send the step by step process that you did?</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_9124364767443169816m_-8865845640090940351m_5442892609768583399m_8776778080669976038divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucl<wbr>a.edu</a>>
 on behalf of DIMPAL SUTAR <<a href="mailto:dimpal.s@somaiya.edu" target="_blank">dimpal.s@somaiya.edu</a>><br>
<b>Sent:</b> Tuesday, May 30, 2017 12:26:36 AM<br>
<b>To:</b> <a href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank">Mini-NDN@lists.cs.ucla.edu</a><br>
<b>Subject:</b> [Mini-NDN] how to compile example file</font>
<div> </div>
</div>
<div>
<div>
<div class="m_9124364767443169816m_-8865845640090940351m_5442892609768583399h5">
<div dir="ltr">
<div>
<div>Hi,<br>
</div>
I have a query related to the installation of Mini-NDN. After building the pre-requisite ndn-cxx library, I tried to run the example provided by the library itself. But when I entered the command to run the example file (Producer.cpp), nothing is coming to
 the terminal window (the process of compilation remains as it is forever). Does this compilation of example file take too much time?? I think I have done something wrong, but not able to figure out... can anyone help me<br>
<br>
</div>
<div>
<div>
<div>
<div>
<div><br>
</div>
<div>--Thank you <br>
</div>
<div>
<div class="m_9124364767443169816m_-8865845640090940351m_5442892609768583399m_8776778080669976038gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Ms. Dimpal S. Sutar<br>
</div>
<div>Student of M.Tech Electronics, KJSCE, Mumbai<br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<div style="font-size:1.3em"><img src="http://www.somaiya.edu/media/images/top-layer_footer.jpg"></div>
<div><a href="http://www.somaiya.edu" style="font-size:1.3em" target="_blank"><img style="font-size:1.3em" src="http://www.somaiya.edu/media/images/svv-logo-email-footer.jpg"></a><span style="font-size:1.3em">            </span><a href="http://www.somaiya.edu/kjsmc" style="font-size:1.3em" target="_blank"><img style="font-size:1.3em" src="http://www.somaiya.edu/media/images/Medical-Logo-email-footer.jpg"></a> <a href="http://www.nareshwadi.org" target="_blank"><img style="font-size:62.5%" src="http://www.somaiya.edu/media/images/Nareshwadi-Logo-email-footer.jpg"></a><a href="http://www.somaiya.edu" target="_blank"><img style="font-size:62.5%" src="http://www.somaiya.edu/media/images/Somaiya-Trust-Logo-email-footer.jpg"></a><span style="font-size:1.3em"> </span><a href="http://www.helpachild.in" target="_blank"><img style="font-size:62.5%" src="http://www.somaiya.edu/media/images/HelpAChild-Logo-email-footer.jpg"></a><a href="http://nareshwadi.org" target="_blank"><img style="font-size:1.3em" src="http://www.somaiya.edu/media/images/PragatiMandal-Logo-email-footer-1.jpg"></a></div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
</div>
</div>
<span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888">-- <br>
</font></span>
<div class="m_9124364767443169816m_-8865845640090940351m_5442892609768583399gmail_signature" data-smartmail="gmail_signature">
<span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888"></font></span>
<div dir="ltr"><span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888"></font></span>
<div><span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888"></font></span>
<div dir="ltr"><span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888"></font></span>
<div><span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888"></font></span>
<div dir="ltr"><span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888"></font></span>
<div><span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888"></font></span>
<div dir="ltr"><span class="m_9124364767443169816m_-8865845640090940351HOEnZb"><font color="#888888">
<div>Miss. Dimpal S. Sutar<br>
</div>
</font></span><span>
<div>Student of M.Tech Electronics, KJSCE<br>
</div>
<br>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<span><br>
<div style="font-size:1.3em"><img src="http://www.somaiya.edu/media/images/top-layer_footer.jpg"></div>
<div><a href="http://www.somaiya.edu" style="font-size:1.3em" target="_blank"><img style="font-size:1.3em" src="http://www.somaiya.edu/media/images/svv-logo-email-footer.jpg"></a><span style="font-size:1.3em">            </span><a href="http://www.somaiya.edu/kjsmc" style="font-size:1.3em" target="_blank"><img style="font-size:1.3em" src="http://www.somaiya.edu/media/images/Medical-Logo-email-footer.jpg"></a> <a href="http://www.nareshwadi.org" target="_blank"><img style="font-size:62.5%" src="http://www.somaiya.edu/media/images/Nareshwadi-Logo-email-footer.jpg"></a><a href="http://www.somaiya.edu" target="_blank"><img style="font-size:62.5%" src="http://www.somaiya.edu/media/images/Somaiya-Trust-Logo-email-footer.jpg"></a><span style="font-size:1.3em"> </span><a href="http://www.helpachild.in" target="_blank"><img style="font-size:62.5%" src="http://www.somaiya.edu/media/images/HelpAChild-Logo-email-footer.jpg"></a><a href="http://nareshwadi.org" target="_blank"><img style="font-size:1.3em" src="http://www.somaiya.edu/media/images/PragatiMandal-Logo-email-footer-1.jpg"></a></div>
</span></div>
</div>
<br>
______________________________<wbr>_________________<br>
Mini-NDN mailing list<br>
<a href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank">Mini-NDN@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/mini-ndn</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="m_9124364767443169816m_-8865845640090940351gmail_signature" data-smartmail="gmail_signature">Tanusree Chatterjee<br>
</div>
</div>
</div>
</div>
</div></div></div>

</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_9124364767443169816gmail_signature" data-smartmail="gmail_signature">Tanusree Chatterjee<br></div>
</font></span></div></div>
</div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Tanusree Chatterjee<br>M:9836337175</div>
</div>