[Ns-developers] What's wrong with pybindgen in Cygwin?
Weng Gavin
gavinweng at gmail.com
Thu Aug 28 02:12:08 PDT 2008
With the new rev 564 of pybindgen in Cygwin(Python 2.5.1), the errors are
listed as following:
[456/509] cxx: build/debug/bindings/python/ns3_module_common.cc ->
build/debug/bindings/python/ns3_module_common_3.o
debug/bindings/python/ns3_module_common.cc: In function `PyObject*
_wrap_PyNs3ListErrorModel_GetList(PyNs3ListErrorModel*)':
debug/bindings/python/ns3_module_common.cc:5571: error: no match for
'operator=' in 'retval = ns3::ListErrorModel::GetList() const()'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/list.tcc:121: note:
candidates are: std::list<_Tp, _Alloc>& std::list<_Tp,
_Alloc>::operator=(const std::list<_Tp, _Alloc>&) [with _Tp = unsigned int,
_Alloc = std::allocator<unsigned int>]
debug/bindings/python/ns3_module_common.cc: In function `PyObject*
_wrap_PyNs3ListErrorModel_SetList(PyNs3ListErrorModel*, PyObject*,
PyObject*)':
debug/bindings/python/ns3_module_common.cc:5589: error: no matching function
for call to `ns3::ListErrorModel::SetList(std::list<unsigned int,
std::allocator<unsigned int> >&)'
debug/ns3/error-model.h:215: note: candidates are: void
ns3::ListErrorModel::SetList(const std::list<uint32_t,
std::allocator<uint32_t> >&)
Build failed
-> task failed (err #129):
[bld:///cygdrive/d/Study/WirelessCommunication/NS-3/
repos/ns-3-dev/bindings/python/ns3_module_common_3.o]
How to solve it?
Best wishes & kind regards from yours sincerely,
Gavin Weng
More information about the Ns-developers
mailing list