<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>My name is Adriana, I study at the Polithecnic University of Madrid, I'm new into NDN, and I trying to use the NDN project following the documentation <a href="https://named-data.net/doc/ndn-cxx/0.6.5/INSTALL.html">https://named-data.net/doc/ndn-cxx/0.6.5/INSTALL.html</a> but I think I've missed something because I cannot run the examples that you show in the webpage above.<br></div><div><br></div><div>I'm working in a ubuntu 16.04 virtual machine and I've done the following so far:</div><div><br></div><div>1. <span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">sudo</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">apt</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">install</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">build</span><span class="gmail-o" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">essential</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">libsqlite3</span><span class="gmail-o" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">dev</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">libboost</span><span class="gmail-o" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-nb" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(0,112,32)">all</span><span class="gmail-o" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">dev</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">libssl</span><span class="gmail-o" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">dev</span></div><div><br></div><div><span style="font-size:11.7px">2. </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">sudo</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">apt</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">install</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">doxygen</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">graphviz</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">python3</span><span class="gmail-o" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">pip</span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">    </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">sudo</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">pip3</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">install</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">sphinx</span><span style="background-color:rgb(247,247,247);font-size:0.9em"> </span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">sphinxcontrib</span><span class="gmail-o" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box;color:rgb(102,102,102)">-</span><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">doxylink</span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box"><br></span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">3. then git clone <a href="https://github.com/named-data/ndn-cxx.git">https://github.com/named-data/ndn-cxx.git</a></span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">4. cd ndn-cxx</span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box"><br></span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box">5. <font color="#666666">then </font></span><font color="#666666"><span style="font-size:11.7px">./waf configure --enable-static --with-examples  and I've got this</span></font></div><div><font color="#666666"><span style="font-size:11.7px"><br></span></font></div><div><font color="#666666"><div><span style="font-size:11.7px">root@ndn-VirtualBox:/home/ndn/ndn-cxx# ./waf configure --enable-static --with-examples</span></div><div><span style="font-size:11.7px">Setting top to                           : /home/ndn/ndn-cxx </span></div><div><span style="font-size:11.7px">Setting out to                           : /home/ndn/ndn-cxx/build </span></div><div><span style="font-size:11.7px">Building static library                  : yes </span></div><div><span style="font-size:11.7px">Building shared library                  : yes </span></div><div><span style="font-size:11.7px">Checking for 'g++' (C++ compiler)        : /usr/bin/g++ </span></div><div><span style="font-size:11.7px">Checking C++ compiler version            : 5.4.0 </span></div><div><span style="font-size:11.7px">Checking supported CXXFLAGS              : -std=c++14 </span></div><div><span style="font-size:11.7px">Checking supported LINKFLAGS             : -fuse-ld=gold </span></div><div><span style="font-size:11.7px">Checking for std::to_string              : yes </span></div><div><span style="font-size:11.7px">Checking for program 'doxygen'           : /usr/bin/doxygen </span></div><div><span style="font-size:11.7px">Checking for program 'tar'               : /bin/tar </span></div><div><span style="font-size:11.7px">Checking for program 'sphinx-build'      : /usr/local/bin/sphinx-build </span></div><div><span style="font-size:11.7px">Checking for program 'sh'                : /bin/sh </span></div><div><span style="font-size:11.7px">Checking for library pthread             : yes </span></div><div><span style="font-size:11.7px">Checking for library rt                  : yes </span></div><div><span style="font-size:11.7px">Checking for function getpass            : yes </span></div><div><span style="font-size:11.7px">Checking for netlink                     : yes </span></div><div><span style="font-size:11.7px">Checking for NETLINK_EXT_ACK             : no </span></div><div><span style="font-size:11.7px">Checking for IFA_FLAGS                   : yes </span></div><div><span style="font-size:11.7px">Checking for program 'pkg-config'        : /usr/bin/pkg-config </span></div><div><span style="font-size:11.7px">Checking for 'sqlite3'                   : yes </span></div><div><span style="font-size:11.7px">Checking for OpenSSL version             : "OpenSSL 1.0.2g-fips  1 Mar 2016" </span></div><div><span style="font-size:11.7px">Checking if OpenSSL library works        : yes </span></div><div><span style="font-size:11.7px">Checking for program 'dpkg-architecture' : /usr/bin/dpkg-architecture </span></div><div><span style="font-size:11.7px">Checking boost includes                  : 1.58.0 </span></div><div><span style="font-size:11.7px">Checking boost libs                      : lib stacktrace_backtrace not found in /usr/lib/x86_64-linux-gnu </span></div><div><span style="font-size:11.7px">Checking boost libs                      : lib stacktrace_basic not found in /usr/lib/x86_64-linux-gnu </span></div><div><span style="font-size:11.7px">Checking boost libs                      : boost_system boost_program_options boost_chrono boost_date_time boost_filesystem boost_thread boost_log </span></div><div><span style="font-size:11.7px">Checking the flags needed to use pthreads : -pthread </span></div><div><span style="font-size:11.7px">Checking for boost linkage                : ok </span></div><div><span style="font-size:11.7px">Checking supported CXXFLAGS               : -O2 -g -pedantic -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -fdiagnostics-color </span></div><div><span style="font-size:11.7px">Checking supported LINKFLAGS              : -Wl,-O1 </span></div><div><span style="font-size:11.7px">'configure' finished successfully (6.172s)</span></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px">6.  ./waf</div><div style="font-size:11.7px">    and it shows:</div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><div>root@ndn-VirtualBox:/home/ndn/ndn-cxx# ./waf</div><div>Waf: Entering directory `/home/ndn/ndn-cxx/build'</div><div>[186/382] Linking build/examples/consumer-with-timer</div><div>[188/382] Linking build/examples/consumer</div><div>[190/382] Linking build/examples/producer</div><div>Waf: Leaving directory `/home/ndn/ndn-cxx/build'</div><div>'build' finished successfully (3.042s)</div></div></font></div><div><font color="#666666"><span style="font-size:11.7px"><br></span></font></div><div><font color="#666666"><span style="font-size:11.7px">7. finally sudo ./waf install</span></font></div><div><font color="#666666"><span style="font-size:11.7px"><br></span></font></div><div><font color="#666666"><span style="font-size:11.7px">and these are the last entries:</span></font></div><div><font color="#666666"><div><span style="font-size:11.7px">- install /usr/local/share/man/man7/ndn-log.7 (from build/docs/manpages/ndn-log.7)</span></div><div><span style="font-size:11.7px">+ install /usr/local/bin/ndnsec (from build/bin/ndnsec)</span></div><div><span style="font-size:11.7px">Waf: Leaving directory `/home/ndn/ndn-cxx/build'</span></div><div><span style="font-size:11.7px">'install' finished successfully (8.435s)</span></div><div><span style="font-size:11.7px"><br></span></div><div><span style="font-size:11.7px"><br></span></div><div><span style="font-size:11.7px">8. when ejecute  </span><span style="font-size:11.7px">sudo ldconfig   nothing is shown:</span></div><div><span style="font-size:11.7px"><br></span></div></font><font color="#666666"><div><div><span style="font-size:11.7px">root@ndn-VirtualBox:/home/ndn/ndn-cxx# sudo ldconfig</span></div><div><span style="font-size:11.7px">root@ndn-VirtualBox:/home/ndn/ndn-cxx# </span></div><div style="font-size:11.7px"><br></div></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px">After that I want to run the examples, I've got this message:</div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><div>root@ndn-VirtualBox:/home/ndn/ndn-cxx# ./build/examples/producer</div><div>ERROR: error while connecting to the forwarder (No such file or directory)</div></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px">The same with the both consumer:</div><div style="font-size:11.7px"><br></div><div><div style="font-size:11.7px">root@ndn-VirtualBox:/home/ndn/ndn-cxx# ./build/examples/consumer</div><div style="font-size:11.7px">Sending /example/testApp/randomData?ndn.MustBeFresh=1&ndn.InterestLifetime=2000</div><div style="font-size:11.7px">WARNING: Interest.CanBePrefix will be set to false in the near future. Please declare a preferred setting via Interest::setDefaultCanBePrefix.</div><div style="font-size:11.7px">ERROR: error while connecting to the forwarder (No such file or directory)</div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><br></div><div><div><span style="font-size:11.7px">root@ndn-VirtualBox:/home/ndn/ndn-cxx# ./build/examples/consumer-with-timer</span></div><div><span style="font-size:11.7px">Sending /example/testApp/randomData?ndn.MustBeFresh=1&ndn.InterestLifetime=2000</span></div><div><span style="font-size:11.7px">WARNING: Interest.CanBePrefix will be set to false in the near future. Please declare a preferred setting via Interest::setDefaultCanBePrefix.</span></div><div><span style="font-size:11.7px">ERROR: error while connecting to the forwarder (No such file or directory)</span></div></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px">I've downloading ndn.-cxx in my home directory:</div><div style="font-size:11.7px"><br></div><div><div style="font-size:11.7px">ndn@ndn-VirtualBox:~$ ls</div><div style="font-size:11.7px">Descargas   Escritorio        Imágenes  ndn-cxx     Público</div><div style="font-size:11.7px">Documentos  examples.desktop  Música    Plantillas  Vídeos</div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px">And I've checked that ndn-cxx library has been installed in /usr/local/lib</div><div style="font-size:11.7px"><br></div><div><div><span style="font-size:11.7px">ndn@ndn-VirtualBox:/usr/local/lib$ ls</span></div><div><span style="font-size:11.7px">libndn-cxx.a   libndn-cxx.so.0.6.6  python2.7</span></div><div><span style="font-size:11.7px">libndn-cxx.so  pkgconfig            python3.5</span></div><div><span style="font-size:11.7px">ndn@ndn-VirtualBox:/usr/local/lib$ </span></div></div><div style="font-size:11.7px"><br></div></div><div style="font-size:11.7px"><br></div><div style="font-size:11.7px">So, the question is why the examples do not deploy?  in the installation guide doesn't say that I have to install NFD in order to deploy those example, so why I've got those message error about the ndn forward.</div><div style="font-size:11.7px"><br></div></div><div style="font-size:11.7px"><span style="color:rgb(34,34,34)">I appreciate any information you can provide, please.</span></div><div style="font-size:11.7px"><span style="color:rgb(34,34,34)"><br></span></div><div style="font-size:11.7px"><span style="color:rgb(34,34,34)"><br></span></div><div style="font-size:11.7px"><span style="color:rgb(34,34,34)">Best Regards,</span></div><div style="font-size:11.7px"><span style="color:rgb(34,34,34)">Adriana</span><br></div><div style="font-size:11.7px"><span style="color:rgb(34,34,34)"> </span><br></div></font></div><div><br></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box"><br></span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box"><br></span></div><div><span class="gmail-n" style="font-size:0.9em;margin:0px;padding:0px;box-sizing:border-box"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>