[ndnSIM] Errors when building ndnsim

Amna Fekih f.amna.fekih at gmail.com
Sun Aug 30 22:12:24 PDT 2020


*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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20200831/68f4099d/attachment.html>


More information about the ndnSIM mailing list