<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><br></div><div class="edit-comment-hide">
<div class="js-comment-body comment-body markdown-body markdown-format">
<div>Hello Alex and everyone,<br>
Hope you are in best of your health.<br>
I am stuck with ndnSim installation. I followed the step given at <a href="http://ndnsim.net/getting-started.html">http://ndnsim.net/getting-started.html</a>
. Configuration also went fine and showing ndnSim is enabled but in
final step to build NS3 with ndnSIM (./waf) I receive following failure:</div><div><br></div>
<div>../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member
function ‘static void
ns3::ndn::GlobalRoutingHelper::CalculateRoutes(bool)’:<br>
../src/ndnSIM/helper/ndn-global-routing-helper.cc:248:68: error: typedef
‘vertex_descriptor’ locally defined but not used
[-Werror=unused-local-typedefs]<br>
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;<br>
^<br>
../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member
function ‘static void
ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes(bool)’:<br>
../src/ndnSIM/helper/ndn-global-routing-helper.cc:341:68: error: typedef
‘vertex_descriptor’ locally defined but not used
[-Werror=unused-local-typedefs]<br>
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;<br>
^<br>
cc1plus: all warnings being treated as errors<br>
Waf: Leaving directory `/home/mbilal/ndnSIM/ns-3/build'<br>
Build failed<br>
-> task in 'ns3-ndnSIM' failed (exit status 1): <br>
{task 44914384: cxx ndn-global-routing-helper.cc -> ndn-global-routing-helper.cc.1.o}<br>
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror',
'-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..',
'-I/usr/local/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE',
'-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1',
'-DHAVE_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1',
'-DHAVE_GSL=1', '../src/ndnSIM/helper/ndn-global-routing-helper.cc',
'-c', '-o', 'src/ndnSIM/helper/ndn-global-routing-helper.cc.1.o']</div><div><br></div>
<div>Please let me know how to fix this problem. I also tried to configure ndnSIM with NS3.17 but I faced same problem. <br>
Best Regards,<br>
Muhammad Bilal</div>
</div>
</div><div> <br></div></div></body></html>