<div dir="ltr">Hi Josh<div><br></div><div>It seems that the branch is outdated. I have rebased it. Please try again with the new procedure:</div><div><br></div><div><br></div><div><div style="font-size:13px">On hostA (OSX with Boost 1.57):</div><div style><ul style><li style="font-size:13px;margin-left:15px">recompile and install ndn-cxx, latest version from GitHub</li><li style="font-size:13px;margin-left:15px">recompile and install NFD</li><ul style><li style="margin-left:15px">after git clone, use the following command to checkout a branch under review:<br>git fetch <a href="http://gerrit.named-data.net/NFD">http://gerrit.named-data.net/NFD</a> refs/changes/44/1444/6 && git checkout FETCH_HEAD<br></li><li style="font-size:13px;margin-left:15px">then compile and install as usual</li></ul><li style="font-size:13px;margin-left:15px">recompile and install ndn-tlv-ping, latest version from GitHub</li></ul><div style="font-size:13px">On hostB (either another OSX with Boost 1.57, or any Ubuntu version):</div></div><div style><ul style><li style="font-size:13px;margin-left:15px">recompile and install ndn-cxx, latest version from GitHub</li><li style="font-size:13px;margin-left:15px">recompile and install NFD</li><ul style><li style="margin-left:15px">after git clone, use the following command to checkout a branch under review:<br>git fetch <a href="http://gerrit.named-data.net/NFD">http://gerrit.named-data.net/NFD</a> refs/changes/44/1444/6 && git checkout FETCH_HEAD<br></li><li style="font-size:13px;margin-left:15px">then compile and install as usual</li></ul><li style="font-size:13px;margin-left:15px">recompile and install ndn-tlv-ping, latest version from GitHub</li></ul></div><div style="font-size:13px"><ol><li style="margin-left:15px">on both hosts: execute `nfd-start`</li><li style="margin-left:15px">on hostA: execute `nfd-status -f | grep 'dev'`, find the number after "faceid="</li><li style="margin-left:15px">on hostA: execute `nfdc register /A 8888`, substitute 8888 with the number found in step 2</li><li style="margin-left:15px">on hostB: run `ndnpingserver /A`</li><li style="margin-left:15px">on hostA: run `ndnping /A`, and press CTRL+C after about 20 seconds</li></ol></div><div style="font-size:13px">Report back with the output from step 3~5.</div></div><div><br></div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 17, 2014 at 5:20 PM, Josh Polterock <span dir="ltr"><<a href="mailto:josh@caida.org" target="_blank">josh@caida.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">During the compile I get the following error:<br>
<br>
[ 51/105] Compiling daemon/mgmt/face-manager.cpp<br>
../daemon/mgmt/status-server.cpp:66:25: error: reference to type 'const<br>
std::string' (aka 'const basic_string<char, char_traits<char>,<br>
allocator<char> >') could not bind to an rvalue of type 'int'<br>
  status->setNfdVersion(NFD_VERSION);<br>
                        ^~~~~~~~~~~<br>
/Users/josh/Downloads/NFD/build/version.hpp:41:21: note: expanded from<br>
macro 'NFD_VERSION'<br>
#define NFD_VERSION 2000<br>
                    ^~~~<br>
/opt/local/include/ndn-cxx/management/nfd-forwarder-status.hpp:84:36:<br>
note: passing argument to parameter 'nfdVersion' here<br>
  setNfdVersion(const std::string& nfdVersion);<br>
                                   ^<br>
1 error generated.<br>
<br>
Waf: Leaving directory `/Users/josh/Downloads/NFD/build'<br>
Build failed<br>
 -> task in 'daemon-objects' failed (exit status 1):<br>
    {task 4550484496: cxx status-server.cpp -> status-server.cpp.3.o}<br>
['/usr/bin/clang++', '-std=c++0x', '-std=c++11', '-stdlib=libc++',<br>
'-pedantic', '-Wall', '-O2', '-g', '-fPIC', '-include',<br>
'/Users/josh/Downloads/NFD/build/core-objects.2',<br>
'-I/Users/josh/Downloads/NFD/build/daemon',<br>
'-I/Users/josh/Downloads/NFD/daemon',<br>
'-I/Users/josh/Downloads/NFD/build', '-I/Users/josh/Downloads/NFD',<br>
'-I/Users/josh/Downloads/NFD/build/core',<br>
'-I/Users/josh/Downloads/NFD/core', '-I/opt/local/include',<br>
'-I/Users/josh/Downloads/NFD/websocketpp', '-DHAVE_NDN_CXX=1',<br>
'../daemon/mgmt/status-server.cpp', '-c', '-o',<br>
'/Users/josh/Downloads/NFD/build/daemon/mgmt/status-server.cpp.3.o']<br>
tao:~/Downloads/NFD $<br><div class=""><div class="h5"><br>
</div></div></blockquote></div></div></div></div>