[Mini-NDN] how to compile example file

Ashlesh Gawande (agawande) agawande at memphis.edu
Thu Jun 1 06:25:51 PDT 2017


Producer will not show any output unless you run the consumer.


If you did git clone once - that is enough. Just go to the cloned directory and do "git pull origin master" to update.

Then do the waf steps again.


Ashlesh

________________________________
From: Tanusree Chatterjee <tnsr.chatterjee at gmail.com>
Sent: Thursday, June 1, 2017 5:39:34 AM
To: Ashlesh Gawande (agawande)
Cc: DIMPAL SUTAR; mini-ndn at lists.cs.ucla.edu
Subject: Re: [Mini-NDN] how to compile example file

Hello,

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.

Another confusion is that should not I get the latest version of ndn-cxx from the link
git clone https://github.com/named-data/ndn-cxx ?

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.

git pull https://github.com/named-data/ndn-cxx.git


--Thanks & Regards,
Tanusree Chatterjee

On Tue, May 30, 2017 at 9:02 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:
It is supposed to be stuck waiting (listening) for an interest:
https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp#L46

Run consumer on another terminal.
(Consumer sends an interest to producer).

You can then use control-C to exit the producer.

Ashlesh
________________________________
From: DIMPAL SUTAR <dimpal.s at somaiya.edu<mailto:dimpal.s at somaiya.edu>>
Sent: Tuesday, May 30, 2017 10:26:10 AM
To: Ashlesh Gawande (agawande)
Subject: Re: [Mini-NDN] how to compile example file

Hi,
To install Mini-ndn, I started the installation with its prerequisite library ndn-cxx, for that, I referred the steps from this link- https://named-data.net/doc/ndn-cxx/current/INSTALL.html

step 1
sudo apt-get install build-essential libcrypto++-dev libsqlite3-dev libboost-all-dev libssl-dev

step 2
sudo apt-get install doxygen graphviz python-sphinx python-pip
sudo pip install sphinxcontrib-doxylink sphinxcontrib-googleanalytics


then I downloaded (step 3)

ndn-cxx library from :
git clone https://github.com/named-data/ndn-cxx


step 4
./waf configure --with-examples
./waf
sudo ./waf install


step 5
sudo ldconfig


then to I tested the example files

by
./build/examples/producer,

Here I am stucked for the output, and not able to decode my mistake in installation

On Tue, May 30, 2017 at 8:43 PM, Ashlesh Gawande (agawande) <agawande at memphis.edu<mailto:agawande at memphis.edu>> wrote:

Can you please send the step by step process that you did?


Ashlesh

________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu<mailto:mini-ndn-bounces at lists.cs.ucla.edu>> on behalf of DIMPAL SUTAR <dimpal.s at somaiya.edu<mailto:dimpal.s at somaiya.edu>>
Sent: Tuesday, May 30, 2017 12:26:36 AM
To: Mini-NDN at lists.cs.ucla.edu<mailto:Mini-NDN at lists.cs.ucla.edu>
Subject: [Mini-NDN] how to compile example file

Hi,
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


--Thank you
Ms. Dimpal S. Sutar
Student of M.Tech Electronics, KJSCE, Mumbai


[http://www.somaiya.edu/media/images/top-layer_footer.jpg]
[http://www.somaiya.edu/media/images/svv-logo-email-footer.jpg]<http://www.somaiya.edu>            [http://www.somaiya.edu/media/images/Medical-Logo-email-footer.jpg] <http://www.somaiya.edu/kjsmc>  [http://www.somaiya.edu/media/images/Nareshwadi-Logo-email-footer.jpg] <http://www.nareshwadi.org> [http://www.somaiya.edu/media/images/Somaiya-Trust-Logo-email-footer.jpg] <http://www.somaiya.edu>  [http://www.somaiya.edu/media/images/HelpAChild-Logo-email-footer.jpg] <http://www.helpachild.in> [http://www.somaiya.edu/media/images/PragatiMandal-Logo-email-footer-1.jpg] <http://nareshwadi.org>



--
Miss. Dimpal S. Sutar
Student of M.Tech Electronics, KJSCE


[http://www.somaiya.edu/media/images/top-layer_footer.jpg]
[http://www.somaiya.edu/media/images/svv-logo-email-footer.jpg]<http://www.somaiya.edu>            [http://www.somaiya.edu/media/images/Medical-Logo-email-footer.jpg] <http://www.somaiya.edu/kjsmc>  [http://www.somaiya.edu/media/images/Nareshwadi-Logo-email-footer.jpg] <http://www.nareshwadi.org> [http://www.somaiya.edu/media/images/Somaiya-Trust-Logo-email-footer.jpg] <http://www.somaiya.edu>  [http://www.somaiya.edu/media/images/HelpAChild-Logo-email-footer.jpg] <http://www.helpachild.in> [http://www.somaiya.edu/media/images/PragatiMandal-Logo-email-footer-1.jpg] <http://nareshwadi.org>

_______________________________________________
Mini-NDN mailing list
Mini-NDN at lists.cs.ucla.edu<mailto:Mini-NDN at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn




--
Tanusree Chatterjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20170601/8d0d7945/attachment-0001.html>


More information about the Mini-NDN mailing list