<html><head>





</head>
<body style="margin-bottom:45px">
    <div style="font-size: 10pt;"><div dir="ltr" style="margin-top:0;margin-bottom:0;">Matteo,</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">I assume that ndn-cxx built successfully and that you're trying to use the new NACK type in NFD?</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">Have you installed the version of ndn-cxx you built so that NFD can find the new headers? If so, try doing a distclean on NFD and completely rebuild it.</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">Eric</div></div><div style="font-size: 10pt;"><div id="LGEmailHeader" dir="ltr" style="margin-top:0;margin-bottom:0;"><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">------ Original message------</div><div dir="ltr" style=
 "margin-top:0;margin-bottom:0;"><b>From: </b>Matteo Bertolino<matteo.bertolino@eurecom.fr></matteo.bertolino@eurecom.fr></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Date: </b>Thu, Feb 9, 2017 9:10 AM</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>To: </b><a href="mailto:nfd-dev@lists.cs.ucla.edu">nfd-dev@lists.cs.ucla.edu</a>;</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Cc: </b></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Subject:</b>[Nfd-dev] Adding a new type of NACK</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div></div><pre>Good morning,I am trying to add a new type of NACK called "PERSONALIZED" in <a href="http://ndn-cxx.Th">ndn-cxx.Th</a>en I modify the strategy method "after receive NACK" with:if (<a href="http://nack.ge">nack.ge</a>tReason() == lp::NackReason::PERSONALIZED) {      log << "I received a PERSONALIZED NACK";}But when I compile I have the error:"PERSONALIZED" is not a member
  of "ndn::lp::NackReason".My steps to add the new NACK were:1) modifying ndn-cxx/src/lp/nack-header.cppadding:case NackReason::PERSONALIZED:os << "MyPersonalNACK";break;in the method operator <<2) adding the equivalent in the method getReason() always in nack-header.cpp3) in nack-header.hpp I add:enum class NackReason {NONE = 0;CONGESTION = 50;...PERSONALIZED = 200;}What did I forgot ?Thanks in advanceBests,Matteo-------------------------------------------------------------------------------This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr">http://webmail.eurecom.fr</a>_______________________________________________Nfd-dev mailing<a href="mailto: listNfd-dev@lists.cs.ucla.eduhtt"> listNfd-dev@lists.cs.ucla.eduhtt</a>p://<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev">www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a></pre></div>


</body></html>