<font color='black' size='2' face='arial'>Thanks<font size="2"> for your fast reply,<br>
<br>
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>
<br>
To answer your second question, i pulled from  <font face="Arial, Helvetica, sans-serif"></font></font>git clone https://github.com/cawka/ns-3-dev-ndnSIM.git<font size="2"><br>
<br>
Thanks a lot,<br>
<br>
Marco<br>
</font>

<div> <br>

</div>



<div> <br>

</div>



<div> <br>

</div>



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

From: Spyridon (Spyros) Mastorakis <spiros.mastorakis@gmail.com><br>

To: marco.ulgelmo <marco.ulgelmo@aol.com><br>

CC: ndnsim <ndnsim@lists.cs.ucla.edu><br>

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

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

<br>






<div id="AOLMsgPart_1_c211708d-5712-4941-ab44-f836c1fe36d0">


<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=" aolReplacedBody">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="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 target="_blank" 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 3:36 PM, <a href="mailto:marco.ulgelmo@aol.com" class="">marco.ulgelmo@aol.com</a> wrote:</div>

<br class="Apple-interchange-newline">

<div class=""><font class="" face="arial" size="2"><font class="" size="2">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 href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class=""></div>

</blockquote></div>

<br class=""></div>

</div>


</div>





</div>

</font>