<div dir="ltr"><div>Dear Alex, <br></div><div><br></div><div>Can you please tell what was the problem? <br></div><div><br></div><div>Best regards,</div><div>Ahmed.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 18 mars 2019 à 20:46, Ahmed BENMOUSSA <<a href="mailto:ah.benmoussa@lagh-univ.dz">ah.benmoussa@lagh-univ.dz</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear Alex, <br></div><div><br></div><div>IT'S WORKING! Thank so so so much for your precious help. I really appreciate.  <br></div><div>I tested the "ndn-simple" and it's working. <br></div><div>I also tested the scenario that I was working on before I had a critical problem with my PC. and it's working. <br></div><div>I have a paper to submit very soon. You saved me. <br></div><div><br></div><div>Thank you again for help Alex. That was the best support that I ever had. Quick and efficient. Really thank you :)<br></div><div><br></div><div>With all my respect, <br></div><div>Ahmed.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 18 mars 2019 à 20:28, Alex Afanasyev <<a href="mailto:aa@cs.fiu.edu" target="_blank">aa@cs.fiu.edu</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hmm.. Can you try update and check again?  Pushed one more fix.<div><br></div><div>-</div><div>Alex<br><div><div><br><blockquote type="cite"><div>On Mar 18, 2019, at 3:22 PM, Ahmed BENMOUSSA <<a href="mailto:ah.benmoussa@lagh-univ.dz" target="_blank">ah.benmoussa@lagh-univ.dz</a>> wrote:</div><br class="gmail-m_-1073562080845749800gmail-m_-8410408265665734684Apple-interchange-newline"><div><div dir="ltr"><div>ndnSIM directory is in my home folder. <br></div><div>ndnSIM <br></div><div>   |_________ns-3</div><div>   |_________pybindgen</div><div>   |_________scenario <br></div><div><br></div><div>ns-3 repo : <a href="https://github.com/named-data-ndnSIM/ns-3-dev.git" target="_blank">https://github.com/named-data-ndnSIM/ns-3-dev.git</a></div><div>I also executed: git clone --recursive <a href="https://github.com/named-data-ndnSIM/ndnSIM.git" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM.git</a> ns-3/src/ndnSIM</div><div>pybindgen repo: <a href="https://github.com/named-data-ndnSIM/pybindgen.git" target="_blank">https://github.com/named-data-ndnSIM/pybindgen.git</a></div><div>scenario repo: <a href="https://github.com/named-data-ndnSIM/scenario-template.git" target="_blank">https://github.com/named-data-ndnSIM/scenario-template.git</a></div><div><br></div><div>I first compiled ns-3: <br></div><div><b><span style="font-family:monospace,monospace">./waf configure --enable-example</span></b></div><div><b><span style="font-family:monospace,monospace">./waf </span></b><br></div><div>I tried ndn-simple it worked (with and without visualizer). <br></div><div><br></div><div>Then I download the "scenario" repo</div><div>back to the ns-3 folder and executed: <br></div><div><b><span style="font-family:monospace,monospace">./waf configure -d optimized <br></span></b></div><div><b><span style="font-family:monospace,monospace">./waf <br></span></b></div><div><b><span style="font-family:monospace,monospace">sudo ./waf install </span></b><br></div><div><br></div><div>The scenarios that I tried is ndn-simple (I copied the file to "scenario/scenarios" folder). <br></div><div><br></div><div>I executed the scenario with: <br></div><div><b><span style="font-family:monospace,monospace">./waf --run ndn-simple <br></span></b></div><div><b><span style="font-family:monospace,monospace">./waf --run ndn-simple --vis</span></b><br></div><div><br></div><div>I am struggling with this problems for two day now.</div><div><br></div><div>Kind Regards, <br></div><div>Ahmed.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 18 mars 2019 à 19:43, Alex Afanasyev <<a href="mailto:aa@cs.fiu.edu" target="_blank">aa@cs.fiu.edu</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Then you have to show more (actual repo, scenario, and exact command).  It was working in my local test<br><div><br><blockquote type="cite"><div>On Mar 18, 2019, at 2:41 PM, Ahmed BENMOUSSA <<a href="mailto:ah.benmoussa@lagh-univ.dz" target="_blank">ah.benmoussa@lagh-univ.dz</a>> wrote:</div><br class="gmail-m_-1073562080845749800gmail-m_-8410408265665734684gmail-m_3104910058390366940Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div>Dear again, <br></div><div><br></div><div>I am still having the same errors. <br></div><div>It everything OK with the result of <span style="font-family:monospace,monospace">./waf configure</span>  command <br></div><div><br><font size="1"><b><span style="font-family:comic sans ms,sans-serif">Setting top to                           : /home/watini/ndnSIM/scenario <br>Setting out to                           : /home/watini/ndnSIM/scenario/build <br>Checking for 'gcc' (C compiler)          : /usr/bin/gcc <br>Checking for 'g++' (C++ compiler)        : /usr/bin/g++ <br>Checking C++ compiler version            : 7.3.0 <br>Checking supported CXXFLAGS              : -std=c++14 <br>Checking supported LINKFLAGS             : -fuse-ld=gold <br>Checking for program 'pkg-config'        : /usr/bin/pkg-config <br>Checking for pkg-config version >= '0.0.0' : yes <br>Checking for ns3-core                      : yes <br>Checking for ns3-network                   : yes <br>Checking for ns3-point-to-point            : yes <br>Checking for ns3-applications              : yes <br>Checking for ns3-mobility                  : yes <br>Checking for ns3-ndnSIM                    : yes <br>Checking for ns3-antenna                   : yes <br>Checking for ns3-aodv                      : yes <br>Checking for ns3-bridge                    : yes <br>Checking for ns3-brite                     : not found <br>Checking for ns3-buildings                 : yes <br>Checking for ns3-click                     : not found <br>Checking for ns3-config-store              : yes <br>Checking for ns3-csma                      : yes <br>Checking for ns3-csma-layout               : yes <br>Checking for ns3-dsdv                      : yes <br>Checking for ns3-dsr                       : yes <br>Checking for ns3-emu                       : not found <br>Checking for ns3-energy                    : yes <br>Checking for ns3-fd-net-device             : yes <br>Checking for ns3-flow-monitor              : yes <br>Checking for ns3-internet                  : yes <br>Checking for ns3-lte                       : yes <br>Checking for ns3-mesh                      : yes <br>Checking for ns3-mpi                       : yes <br>Checking for ns3-netanim                   : yes <br>Checking for ns3-nix-vector-routing        : yes <br>Checking for ns3-olsr                      : yes <br>Checking for ns3-openflow                  : not found <br>Checking for ns3-point-to-point-layout     : yes <br>Checking for ns3-propagation               : yes <br>Checking for ns3-spectrum                  : yes <br>Checking for ns3-stats                     : yes <br>Checking for ns3-tap-bridge                : yes <br>Checking for ns3-topology-read             : yes <br>Checking for ns3-uan                       : yes <br>Checking for ns3-virtual-net-device        : yes <br>Checking for ns3-visualizer                : yes <br>Checking for ns3-wifi                      : yes <br>Checking for ns3-wimax                     : yes <br>Checking supported CXXFLAGS                : -O2 -g -pedantic -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -fdiagnostics-color <br>Checking supported LINKFLAGS               : -Wl,-O1 </span></b></font></div><div><font size="1"><b><span style="font-family:comic sans ms,sans-serif"><br></span></b></font></div><div><font size="1"><span style="font-family:comic sans ms,sans-serif"></span></font><font size="2">Thank you in advance Alex, <br></font></div><div><font size="2"><br></font></div><div><font size="2">with my respects,</font></div><div><font size="2">Ahmed.</font><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 18 mars 2019 à 19:19, Alex Afanasyev <<a href="mailto:aa@cs.fiu.edu" target="_blank">aa@cs.fiu.edu</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Sorry, should have tested :)   If you update again, things should be working.<div><br></div><div>-</div><div>Alex<br><div><br><blockquote type="cite"><div>On Mar 18, 2019, at 2:06 PM, Ahmed BENMOUSSA <<a href="mailto:ah.benmoussa@lagh-univ.dz" target="_blank">ah.benmoussa@lagh-univ.dz</a>> wrote:</div><br class="gmail-m_-1073562080845749800gmail-m_-8410408265665734684gmail-m_3104910058390366940gmail-m_-6939342749913597160Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div>Dear Alex, <br></div><div><br></div><div>Thank you very much for your quick answer. I really appreciate. <br></div><div>The scenario is now compiling but it is not executed. I get this errors: <br></div><div><br></div><div><font size="1"><b><span style="font-family:comic sans ms,sans-serif">[2/2] Linking scenarios/ndn-simple<br>Waf: Leaving directory `/home/watini/ndnSIM/scenario/build'<br>'build' finished successfully (11.710s)<br>Traceback (most recent call last):<br>  File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Scripting.py", line 119, in waf_entry_point<br>    run_commands()<br>  File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Scripting.py", line 181, in run_commands<br>    run_command('shutdown')<br>  File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Scripting.py", line 170, in run_command<br>    ctx.execute()<br>  File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Context.py", line 85, in execute<br>    self.recurse([os.path.dirname(g_module.root_path)])<br>  File "/home/watini/ndnSIM/scenario/.waf-2.0.14-a8a9afc5d151494252697f8fa4ba3fbc/waflib/Context.py", line 126, in recurse<br>    user_function(self)<br>  File "/home/watini/ndnSIM/scenario/wscript", line 124, in shutdown<br>    return subprocess.call (argv)<br>  File "/usr/lib/python2.7/subprocess.py", line 172, in call<br>    return Popen(*popenargs, **kwargs).wait()<br>  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__<br>    errread, errwrite)<br>  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child<br>    raise child_exception<br>OSError: [Errno 2] No such file or directory<br></span></b></font></div><div><br></div><div>With all my respects, <br></div><div>Ahmed.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 18 mars 2019 à 18:51, Alex Afanasyev <<a href="mailto:aa@cs.fiu.edu" target="_blank">aa@cs.fiu.edu</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi Ahmed,<div><br></div><div>Can you please pull updates from scenario-template repository.  I just pushed updates that should address your problem.</div><div><br></div><div>-</div><div>Alex<br><div><br><blockquote type="cite"><div>On Mar 18, 2019, at 1:46 PM, Ahmed BENMOUSSA <<a href="mailto:ah.benmoussa@lagh-univ.dz" target="_blank">ah.benmoussa@lagh-univ.dz</a>> wrote:</div><br class="gmail-m_-1073562080845749800gmail-m_-8410408265665734684gmail-m_3104910058390366940gmail-m_-6939342749913597160gmail-m_-4595813169226714816Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div>Dear everyone,  <br></div><div><br></div><div>I installed and compiled ndnSIM. everything is OK. when I compile with " --enable-example" it works I can execute the available simulation examples. <br></div><div><br></div><div>The problem is with the scenario template. <font face="arial,helvetica,sans-serif">I compiled with "-d optimize" and installed them.</font> I downloaded the scenario template: <br><pre><a href="https://github.com/named-data-ndnSIM/scenario-template.git" target="_blank">https://github.com/named-data-ndnSIM/scenario-template.git</a><br><br></pre><pre><font face="arial,helvetica,sans-serif">But when I try to run a scenario. it gives me the following error message: <br><b><span style="font-family:comic sans ms,sans-serif">...ns-3/build/ns3/ndnSIM/ndn-cxx/detail/common.hpp:49:2: error: #error "ndn-cxx applications must be compiled using the C++14 standard (-std=c++14)"<br> #error "ndn-cxx applications must be compiled using the C++14 standard (-std=c++14)"</span><br></b><br>along with some other compilation errors.<br></font></pre><pre><font face="arial,helvetica,sans-serif"><br>I did some researches but I didn't find anything about this error.<br></font></pre><pre><font face="arial,helvetica,sans-serif">Please help me. <br><br></font></pre><pre><font face="arial,helvetica,sans-serif">I'm using Ubunyu 18.04<br><br></font></pre><pre><font face="arial,helvetica,sans-serif">With all my respects, <br></font></pre><pre><font face="arial,helvetica,sans-serif">Ahmed.<br></font></pre></div></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></div></blockquote></div><br><div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">______________<br>Alex Afanasyev<br>Assistant Professor, SCIS, Florida International University<br>11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br>phone: +1.305.348.4960 (office); <a href="mailto:aa@cs.fiu.edu" target="_blank">email: aa@cs.fiu.edu</a><br>web: <a href="https://users.cs.fiu.edu/~afanasyev/" target="_blank">https://users.cs.fiu.edu/~afanasyev/</a><br><br></div>

</div>
<br></div></div></blockquote></div>
</div></blockquote></div><br><div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">______________<br>Alex Afanasyev<br>Assistant Professor, SCIS, Florida International University<br>11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br>phone: +1.305.348.4960 (office); <a href="mailto:aa@cs.fiu.edu" target="_blank">email: aa@cs.fiu.edu</a><br>web: <a href="https://users.cs.fiu.edu/~afanasyev/" target="_blank">https://users.cs.fiu.edu/~afanasyev/</a><br><br></div>

</div>
<br></div></div></blockquote></div>
</div></blockquote></div><br><div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">______________<br>Alex Afanasyev<br>Assistant Professor, SCIS, Florida International University<br>11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br>phone: +1.305.348.4960 (office); <a href="mailto:aa@cs.fiu.edu" target="_blank">email: aa@cs.fiu.edu</a><br>web: <a href="https://users.cs.fiu.edu/~afanasyev/" target="_blank">https://users.cs.fiu.edu/~afanasyev/</a><br><br></div>

</div>
<br></div></blockquote></div>
</div></blockquote></div><br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">______________<br>Alex Afanasyev<br>Assistant Professor, SCIS, Florida International University<br>11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br>phone: +1.305.348.4960 (office); <a href="mailto:aa@cs.fiu.edu" target="_blank">email: aa@cs.fiu.edu</a><br>web: <a href="https://users.cs.fiu.edu/~afanasyev/" target="_blank">https://users.cs.fiu.edu/~afanasyev/</a><br><br></div>

</div>
<br></div></div></div></blockquote></div>
</blockquote></div>