<div dir="ltr">Hello Yingdi,<div><br></div><div>My bad. I was pulling the update incorrectly (was using 'git pull' as apposed to 'git pull origin master'). Thanks for the help. I could fix this now and compiled the ChronoSync! </div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">My larger goal is to build the NLSR code and was trying to build the dependencies as mentioned here: </span><font face="arial, sans-serif"><a href="http://redmine.named-data.net/projects/nlsr/wiki">http://redmine.named-data.net/projects/nlsr/wiki</a>. I still presume it depends on ndn-cxx, ChronoSync and NFD. </font><span style="font-family:arial,sans-serif">However, after ndn-cxx even NLSR is compiled!! </span></div><div><font face="arial, sans-serif"><br></font></div><div>So couple of new questions: </div><div><ul><li>What kind of coupling exist between NLSR and <span style="font-family:arial,sans-serif">ndn-cxx, ChronoSync, NFD, if it does</span>? Can you please provide some high level architecture details? </li><li><font face="arial, sans-serif">ChronoSync codebase that NLSR uses - is it this <a href="https://github.com/named-data/NLSR/tree/master/nsync">https://github.com/named-data/NLSR/tree/master/nsync</a>? </font><br></li></ul></div><div>At this point, first question is more important for me. </div><div><br></div><div>/anil.</div><div><br></div><div>PS: BTW, my NFD build is now failing, here are the logs.</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>anilj1@insp5521:~/sandbox/NFD$ ./waf </div><div>Waf: Entering directory `/home/anilj1/sandbox/NFD/build'</div><div>[ 17/104] Compiling daemon/face/ndnlp-partial-message-store.cpp</div><div>[ 23/104] Compiling daemon/face/tcp-factory.cpp</div><div>[ 24/104] Compiling daemon/face/udp-channel.cpp</div><div>[ 25/104] Compiling daemon/face/udp-face.cpp</div><div>../daemon/face/ndnlp-partial-message-store.cpp: In member function ‘ndn::Block nfd::ndnlp::PartialMessage::reassemble()’:</div><div>../daemon/face/ndnlp-partial-message-store.cpp:70:65: error: conversion from ‘std::shared_ptr<ndn::Buffer>’ to non-scalar type ‘ndn::BufferPtr {aka boost::shared_ptr<ndn::Buffer>}’ requested</div><div><br></div></blockquote></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 5, 2014 at 9:43 PM, Yingdi Yu <span dir="ltr"><<a href="mailto:yingdi@cs.ucla.edu" target="_blank">yingdi@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Anil,<div><br></div><div>It seems that your ndn-cxx library has not been updated. Please checkout the latest version of ndn-cxx from <a href="https://github.com/named-data/ndn-cxx" target="_blank">https://github.com/named-data/ndn-cxx</a>.</div><div><br></div><div>btw. the ChronoSync which NLSR depends is not exactly the same as the one you are trying to compile. NLSR has its own copy of ChronoSync codebase. </div><div><br><div>
<span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word"><div>Yingdi</div><div><br></div></div></span><br></span><br>
</div>
<br><div><blockquote type="cite"><div><div class="h5"><div>On Nov 5, 2014, at 6:33 PM, Anil Jangam <<a href="mailto:anilj.mailing@gmail.com" target="_blank">anilj.mailing@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I hope this is correct forum to post this question. I just subscribed to the mailing list. </div><div><br></div><div>I am trying to compile ChronoSync, one of the dependencies for building NLSR, and it is failing with a following error log. </div><div><br></div><div>I have successfully built and installed the ndn-cxx; however, the file ndn-cxx/util/digest.hpp does not exist there. </div><div><br></div><div>Can someone please tell me what is missing? </div><div><br></div><div>/anil.</div><div><br></div><div><br></div><div><div>./waf</div><div>Waf: Entering directory `/home/anilj1/sandbox/ChronoSync/build'</div><div>[ 1/11] Compiling src/diff-state-container.cpp</div><div>[ 2/11] Compiling src/diff-state.cpp</div><div>[ 3/11] Compiling src/interest-container.cpp</div><div>[ 4/11] Compiling src/interest-table.cpp</div><div>In file included from ../src/leaf-container.hpp:29:0,</div><div>                 from ../src/state.hpp:29,</div><div>                 from ../src/diff-state.hpp:28,</div><div>                 from ../src/diff-state.cpp:25:</div><div>../src/leaf.hpp:29:35: fatal error: ndn-cxx/util/digest.hpp: No such file or directory</div><div>compilation terminated.</div><div><br></div><div>In file included from ../src/leaf-container.hpp:29:0,</div><div>                 from ../src/state.hpp:29,</div><div>                 from ../src/diff-state.hpp:28,</div><div>                 from ../src/diff-state-container.hpp:29,</div><div>                 from ../src/interest-container.hpp:30,</div><div>                 from ../src/interest-container.cpp:25:</div><div>../src/leaf.hpp:29:35: fatal error: ndn-cxx/util/digest.hpp: No such file or directory</div><div>compilation terminated.</div><div><br></div><div>In file included from ../src/leaf-container.hpp:29:0,</div><div>                 from ../src/state.hpp:29,</div><div>                 from ../src/diff-state.hpp:28,</div><div>                 from ../src/diff-state-container.hpp:29,</div><div>                 from ../src/interest-container.hpp:30,</div><div>                 from ../src/interest-table.hpp:28,</div><div>                 from ../src/interest-table.cpp:25:</div><div>../src/leaf.hpp:29:35: fatal error: ndn-cxx/util/digest.hpp: No such file or directory</div><div>compilation terminated.</div></div><div><br></div></div></div></div>
_______________________________________________<br>Ndn-interest mailing list<br><a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">Ndn-interest@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br></div></blockquote></div><br></div></div></blockquote></div><br></div>