[Mini-NDN] how to compile example file

Ashlesh Gawande (agawande) agawande at memphis.edu
Tue May 30 08:32:26 PDT 2017


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>
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20170530/7ee2bbcd/attachment.html>


More information about the Mini-NDN mailing list