<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Marco thank you for the report. I was able to reproduce the error.<div class=""><br class=""></div><div class="">We will come up with a fix as soon as possible.</div><div class=""><br class=""></div><div class="">Thank you.</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Spyridon (Spyros) Mastorakis<br class=""></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Internet Research Laboratory</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">PhD Computer Science<br class="">UCLA</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><br class=""><br class=""></div></div></div></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 14, 2015, at 6:23 PM, <a href="mailto:marco.ulgelmo@aol.com" class="">marco.ulgelmo@aol.com</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><font size="2" face="arial" class="">I've t<font size="2" class="">ried in Ubuntu 12.04 clean install. I followed all the steps here <a href="http://named-data.net/doc/ndn-cxx/current/INSTALL.html" class="">http://named-data.net/doc/ndn-cxx/current/INSTALL.html</a><br class="">
<br class="">
I get the same error. I've tried with both gcc 4.4 and 4.6. Boost library version is 1.48.<br class="">
<br class="">
Complete error message (already opened a ticket in redmine):<br class="">
<br class="">
In file included from ../src/ndnSIM/model/ndn-ns3.cpp:20:0:<br class="">
../src/ndnSIM/model/ndn-ns3.hpp:32:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a type<br class="">
../src/ndnSIM/model/ndn-ns3.cpp:34:39: error: no ‘std::shared_ptr<const _Tp> ns3::ndn::Convert::FromPacket(ns3::Ptr<ns3::Packet>)’ member function declared in class ‘ns3::ndn::Convert’<br class="">
../src/ndnSIM/model/ndn-ns3.cpp:46:10: error: no matching template for ‘ns3::ndn::Convert::FromPacket’ found<br class="">
../src/ndnSIM/model/ndn-ns3.cpp:46:20: error: expected ‘;’ before ‘<’ token<br class="">
../src/ndnSIM/model/ndn-ns3.cpp:49:10: error: no matching template for ‘ns3::ndn::Convert::FromPacket’ found<br class="">
../src/ndnSIM/model/ndn-ns3.cpp:49:20: error: expected ‘;’ before ‘<’ token<br class="">
<br class="">
Regards,<br class="">
<br class="">
Marco<br class="">
</font>

<div class=""> <br class="">

</div>



<div class=""> <br class="">

</div>



<div class=""> <br class="">

</div>



<div style="font-family: arial, helvetica; font-size: 10pt;" class="">-----Original Message-----<br class="">

From: Spiros Mastorakis <<a href="mailto:spiros.mastorakis@gmail.com" class="">spiros.mastorakis@gmail.com</a>><br class="">

To: marco.ulgelmo <<a href="mailto:marco.ulgelmo@aol.com" class="">marco.ulgelmo@aol.com</a>><br class="">

CC: ndnsim <<a href="mailto:ndnsim@lists.cs.ucla.edu" class="">ndnsim@lists.cs.ucla.edu</a>><br class="">

Sent: Thu, 15 Jan 2015 1:18<br class="">

Subject: [ndnSIM] ndnSIM 2.0 compiling error<br class="">

<br class="">






<div id="AOLMsgPart_1_20b166c2-d99b-400a-9a3a-b129fc85cfef" class="">
Hello Marco,

<div class=""><br class="">

</div>



<div class="">If you cloned the NS-3 repo before the update, then probably you are pulling the old version of NS-3, where c++11 is not enabled. </div>



<div class=""><br class="">

</div>



<div class="">Please start over<span class=""></span> with cloning the new version of the NS-3 repo and try to compile again. Please let us about the result. </div>



<div class=""><br class="">

</div>



<div class="">Thank you,</div>



<div class="">Spyros<br class="">

<br class="">

On Wednesday, January 14, 2015,  <<a class="">marco.ulgelmo@aol.com</a>> wrote:<br class="">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="arial" class="">Thanks<font class=""> for your fast reply,<br class="">


<br class="">


i'm currently working on Ubuntu 14.04, i've seen in the website that even if it's not officialy supported, developers could compile successfully.<br class="">


<br class="">


To answer your second question, i pulled from  <font face="Arial, Helvetica, sans-serif" class=""></font></font>git clone <a target="_blank" href="https://github.com/cawka/ns-3-dev-ndnSIM.git" class="">https://github.com/cawka/ns-3-dev-ndnSIM.git</a><font class=""><br class="">


<br class="">


Thanks a lot,<br class="">


<br class="">


Marco<br class="">


</font>



<div class=""> <br class="">



</div>







<div class=""> <br class="">



</div>







<div class=""> <br class="">



</div>







<div style="font-family: arial, helvetica; font-size: 10pt;" class="">-----Original Message-----<br class="">



From: Spyridon (Spyros) Mastorakis <<a class="">spiros.mastorakis@gmail.com</a>><br class="">



To: marco.ulgelmo <<a class="">marco.ulgelmo@aol.com</a>><br class="">



CC: ndnsim <<a class="">ndnsim@lists.cs.ucla.edu</a>><br class="">



Sent: Thu, 15 Jan 2015 0:50<br class="">



Subject: Re: [ndnSIM] ndnSIM 2.0 compiling error<br class="">



<br class="">










<div class="">




<div style="word-wrap:break-word" class="">Hello Marco,



<div class=""><br class="">

</div>







<div class="">First of all, I would like to ask which is the operating system that you are using. Secondly, I would also like to ask whether you downloaded the new NS-3 version that is uploaded in the “ndnSIM" branch here: </div>







<div class=""><br class="">

</div>







<div class=""><a target="_blank" href="https://github.com/cawka/ns-3-dev-ndnSIM" class="">https://github.com/cawka/ns-3-dev-ndnSIM</a></div>







<div class=""><br class="">

</div>







<div class="">Thank you very much in advance for your answer.</div>







<div class=""><br class="">

</div>







<div class="">



<div class="">




<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">



<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">



<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">



<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">



<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">



<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">



<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">--</div>







<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">Spyridon (Spyros) Mastorakis<br class="">

</div>







<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">Personal Website: <a target="_blank" href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a></div>







<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">Internet Research Laboratory</div>







<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">PhD Computer Science<br class="">

UCLA</div>







<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><br class="">

<br class="">

<br class="">

</div>



</div>



</div>



</div>



</div>



</div>



</div>




</div>




<br class="">





<div class=""><blockquote type="cite" class="">



<div class="">On Jan 14, 2015, at 3:36 PM, <a class="">marco.ulgelmo@aol.com</a> wrote:</div>



<br class="">





<div class=""><font face="arial" class=""><font class="">I've tried to compile the ns-3 module in ndnSIM for some hours.<br class="">


<br class="">


I keep getting the error:<br class="">


<br class="">


In file included from ../src/ndnSIM/model/ndn-ns3.cpp:20:0:<br class="">


../src/ndnSIM/model/ndn-ns3.hpp:32:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a type<br class="">


   static std::shared_ptr<const T><br class="">


          ^<br class="">


../src/ndnSIM/model/ndn-ns3.cpp:34:39: error: no ‘std::shared_ptr<const _Tp> ns3::ndn::Convert::FromPacket(ns3::Ptr<ns3::Packet>)’ member function declared in class ‘ns3::ndn::Convert’<br class="">


 Convert::FromPacket(Ptr<Packet> packet)<br class="">


                                       ^af <br class="">


../src/ndnSIM/model/ndn-ns3.cpp:46:10: error: no matching template for ‘ns3::ndn::Convert::FromPacket’ found<br class="">


 Convert::FromPacket<Interest>(Ptr<Packet> packet);<br class="">


          ^<br class="">


../src/ndnSIM/model/ndn-ns3.cpp:46:20: error: expected ‘;’ before ‘<’ token<br class="">


 Convert::FromPacket<Interest>(Ptr<Packet> packet);<br class="">


                    ^<br class="">


../src/ndnSIM/model/ndn-ns3.cpp:49:10: error: no matching template for ‘ns3::ndn::Convert::FromPacket’ found<br class="">


 Convert::FromPacket<Data>(Ptr<Packet> packet);<br class="">


          ^<br class="">


../src/ndnSIM/model/ndn-ns3.cpp:49:20: error: expected ‘;’ before ‘<’ token<br class="">


 Convert::FromPacket<Data>(Ptr<Packet> packet);<br class="">


<br class="">


I am using compiler version 4.8.2, boost library version 1.54. I tried both ./waf configure with -d optimization and without.<br class="">


I've seen that this error is due to c++ not compiling c++11 statement but compiler flags in ./waf configure are correct and both -std=c++0x and -std=c++11x are set. I tried also with gcc and g++ version 4.4, 4.6 and 4.7 but i keep getting other errors (different than that).<br class="">


<br class="">


Thanks,<br class="">


Marco<br class="">


</font>
</font>_______________________________________________<br class="">

ndnSIM mailing list<br class="">

<a class="">ndnSIM@lists.cs.ucla.edu</a><br class="">

<a target="_blank" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class="">

</div>



</blockquote></div>



<br class="">

</div>



</div>




</div>







</div>



</font></blockquote></div>



</div>





</div>

</font></div></blockquote></div><br class=""></div></body></html>