[ndnSIM] Errors when building ndnsim

Spyridon Mastorakis smastorakis at unomaha.edu
Mon Aug 31 07:22:25 PDT 2020


That sounds like you are mixing up different version of ndn-cxx with ndnSIM. Please make sure that you use compatible versions or that you install the latest version of ndnSIM from GitHub.

Thanks,

Spyridon (Spyros) Mastorakis
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A
https://sites.google.com/site/spyridonmastorakis

On Aug 31, 2020, at 12:12 AM, Amna Fekih via ndnSIM <ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>> wrote:


Dear ndnSim team,

After running ./waf configure. It's ok
I have some errors while building ndnSIM.
I did not understand the problem and how to solve it.
The result of the execution is as follows:

[2317/3649] Compiling src/ndnSIM/ndn-cxx/ndn-cxx/name-component.cpp
In file included from ../src/ndnSIM/ndn-cxx/ndn-cxx/name-component.cpp:27:
ns3/ndnSIM/ndn-cxx/impl/name-component-types.hpp:383:21: error: constructor for 'ndn::name::detail::ComponentTypeTable' must explicitly initialize the const member 'm_baseType'
ComponentTypeTable::ComponentTypeTable()
                    ^
ns3/ndnSIM/ndn-cxx/impl/name-component-types.hpp:377:23: note: 'm_baseType' declared here
  const ComponentType m_baseType;
                      ^
ns3/ndnSIM/ndn-cxx/impl/name-component-types.hpp:386:3: error: type 'const ndn::name::detail::ComponentType' does not provide a call operator
  m_baseType(nullptr);
  ^~~~~~~~~~
ns3/ndnSIM/ndn-cxx/impl/name-component-types.hpp:392:41: error: default initialization of an object of const type 'const ndn::name::detail::GenericNameComponentType' without a user-provided default constructor
  static const GenericNameComponentType ct8;
                                        ^
                                           {}
3 errors generated.

Waf: Leaving directory `/home/osboxes/workspace/ndnSIM/ns-3/build'
Build failed
 -> task in 'ns3-ndnSIM' failed with exit status 1 (run with -v to display more information)

Is there any help ?
Thanks in advance.



_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu<mailto:ndnSIM at lists.cs.ucla.edu>
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndnsim&d=DwICAg&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=OUsabpdNFAGdmUaQaOKKlihyZgN3vtRcGGVt_lJT5-g&s=b3fsWcQFhUPBJXudXloJS1WVYvYyoO4Muvjij6zfu6M&e=

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20200831/370de43f/attachment.html>


More information about the ndnSIM mailing list