[ndnSIM] a bug in the ndnSIM source code

Ilya Moiseenko iliamo at ucla.edu
Sun Apr 27 08:25:21 PDT 2014


Hi Zonguy,
what version of Boost is installed on your ubuntu?

Thanks for feedback
Ilya

On Apr 26, 2014, at 10:34 PM, Zongyi Zhao <xinshengzzy at gmail.com> wrote:

> Hi, all,
> I have just installed the ndnSIM in my ubuntu. In the process I have encountered some difficulty. Fortunately I have solved most of them. So here I want to report my discovery about the bug in the source code of ndnSIM.
> When I executed the flowing command:
> ./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib --enable-examples
> ./waf
> The compiler told me the flowing message:
> 
> "../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member function ‘static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes(bool)’:
> ../src/ndnSIM/helper/ndn-global-routing-helper.cc:248:68: error: typedef ‘vertex_descriptor’ locally defined but not used [-Werror=unused-local-typedefs]
> typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;
> ^
> ../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member function ‘static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes(bool)’:
> ../src/ndnSIM/helper/ndn-global-routing-helper.cc:341:68: error: typedef ‘vertex_descriptor’ locally defined but not used [-Werror=unused-local-typedefs]
> typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;"
> 
> So I commented out the line 248 and line 341 in file /src/ndnSIM/helper/ndn-global-routing-helper.cc, then it worked well.
> 
> -- 
> Zongyi Zhao
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list