<div dir="auto">Hi Peter,<div dir="auto"><br></div><div dir="auto">Have you attempted compiling it against release 0.6.0? It looks like repo-ng is using version 2 of the security API, which I believe was released with 0.6.0.</div><div dir="auto"><br></div><div dir="auto">Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 18, 2017 11:42 AM, "Gusev, Peter" <<a href="mailto:peter@remap.ucla.edu">peter@remap.ucla.edu</a>> wrote:<br type="attribution"><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 there,
<div><br>
</div>
<div>trying to build repo-ng, have NFD 0.5.1 and ndn-cxx 0.5.1 installed:</div>
<div><br>
</div>
<div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/repo.cpp:</b> In constructor ‘<b>repo::Repo::Repo(boost::asio:<wbr>:io_service&, const repo::RepoConfig&)</b>’:</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/repo.cpp:126:53:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:
</b></span><span style="font-variant-ligatures:no-common-ligatures">no matching function for call to ‘<b>repo::WriteHandle::<wbr>WriteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::<wbr>Scheduler&, ndn::security::<wbr>ValidatorConfig&)</b>’</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">   , m_tcpBulkInsertHandle(<wbr>ioService, m_storageHandle)</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>                                                     ^</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">In file included from
<b>../src/repo.hpp:28:0</b>,</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">                 from
<b>../src/repo.cpp:20</b>:</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/handles/write-handle.<wbr>hpp:70:3:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#33bbc8"><b>note:
</b></span><span style="font-variant-ligatures:no-common-ligatures">candidate: repo::WriteHandle::<wbr>WriteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::<wbr>Scheduler&, ndn::security::v2::Validator&)</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">   WriteHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>   ^</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/handles/write-handle.<wbr>hpp:70:3:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#33bbc8"><b>note:
</b></span><span style="font-variant-ligatures:no-common-ligatures">  no known conversion for argument 5 from ‘<b>ndn::security::<wbr>ValidatorConfig</b>’ to ‘<b>ndn::security::v2::Validator&</b><wbr>’</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/repo.cpp:126:53:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:
</b></span><span style="font-variant-ligatures:no-common-ligatures">no matching function for call to ‘<b>repo::WatchHandle::<wbr>WatchHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::<wbr>Scheduler&, ndn::security::<wbr>ValidatorConfig&)</b>’</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">   , m_tcpBulkInsertHandle(<wbr>ioService, m_storageHandle)</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>                                                     ^</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">In file included from
<b>../src/repo.hpp:29:0</b>,</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">                 from
<b>../src/repo.cpp:20</b>:</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/handles/watch-handle.<wbr>hpp:57:3:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#33bbc8"><b>note:
</b></span><span style="font-variant-ligatures:no-common-ligatures">candidate: repo::WatchHandle::<wbr>WatchHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::<wbr>Scheduler&, ndn::security::v2::Validator&)</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">   WatchHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>   ^</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/handles/watch-handle.<wbr>hpp:57:3:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#33bbc8"><b>note:
</b></span><span style="font-variant-ligatures:no-common-ligatures">  no known conversion for argument 5 from ‘<b>ndn::security::<wbr>ValidatorConfig</b>’ to ‘<b>ndn::security::v2::Validator&</b><wbr>’</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/repo.cpp:126:53:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:
</b></span><span style="font-variant-ligatures:no-common-ligatures">no matching function for call to ‘<b>repo::DeleteHandle::<wbr>DeleteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::<wbr>Scheduler&, ndn::security::<wbr>ValidatorConfig&)</b>’</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">   , m_tcpBulkInsertHandle(<wbr>ioService, m_storageHandle)</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>                                                     ^</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">In file included from
<b>../src/repo.hpp:30:0</b>,</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">                 from
<b>../src/repo.cpp:20</b>:</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/handles/delete-handle.<wbr>hpp:42:3:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#33bbc8"><b>note:
</b></span><span style="font-variant-ligatures:no-common-ligatures">candidate: repo::DeleteHandle::<wbr>DeleteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::<wbr>Scheduler&, ndn::security::v2::Validator&)</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">   DeleteHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>   ^</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>../src/handles/delete-handle.<wbr>hpp:42:3:</b>
</span><span style="font-variant-ligatures:no-common-ligatures;color:#33bbc8"><b>note:
</b></span><span style="font-variant-ligatures:no-common-ligatures">  no known conversion for argument 5 from ‘<b>ndn::security::<wbr>ValidatorConfig</b>’ to ‘<b>ndn::security::v2::Validator&</b><wbr>’</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8);min-height:14px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">Waf: Leaving directory `/home/peter/repo-ng/build'</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>Build failed</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b> -> task in 'ndn-repo-objects' failed (exit status 1): </b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b><span class="m_-2097259094197060046Apple-tab-span" style="white-space:pre-wrap"></span>{task 140519176988496: cxx repo.cpp -> repo.cpp.1.o}</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-pthread', '-I/home/peter/repo-ng/build/<wbr>src',
 '-I/home/peter/repo-ng/src', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '-DHAVE_SQLITE3=1', '../src/repo.cpp', '-c', '-o', '/home/peter/repo-ng/build/<wbr>src/repo.cpp.1.o']</b></span></div>
</div>
<div><br>
<div>Do I need to use older versions of the library/NFD?</div>
<div><br class="m_-2097259094197060046webkit-block-placeholder">
</div>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian: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;word-wrap:break-word">
Thanks, </div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian: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;word-wrap:break-word">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian: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;word-wrap:break-word">
-- <br>
Peter Gusev</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian: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;word-wrap:break-word">
<br>
<i><a href="mailto:peter@remap.ucla.edu" target="_blank">peter@remap.ucla.edu</a><br>
<a href="tel:(213)%20587-2748" value="+12135872748" target="_blank">+1 213 5872748</a><br>
</i></div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian: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;word-wrap:break-word">
<br>
</div>
<div style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<i><font color="#929292">Research Scholar @ </font></i><a href="http://remap.ucla.edu/" target="_blank"><i>REMAP UCLA</i></a><i><font color="#929292"><br>
Video streaming/ICN networks/<wbr>Creative Development</font></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a><br>
<br></blockquote></div></div>