PROBLEM no matching function for call

97 views
Skip to first unread message

meiming yu

unread,
Oct 19, 2017, 10:02:44 AM10/19/17
to ns-3-users
Dear all,

I use ns3 to debug the routing protocol code.When I run ./waf build, it results as follows.

I have been debugging for a long time, but it still shows no matching function for call,  and I think the following bugs are caused by this error.

Does any know what the problem is? Please help me. 

Thanks for your time.

no matching function for call.png

Konstantinos

unread,
Oct 19, 2017, 12:15:46 PM10/19/17
to ns-3-users
Hi

The error message is clear and relates to the instantiation of your custom header, which we can not comment further since you have not provided details.
There is no method to call with this particular characteristics, and more specifically the number of arguments you pass (11) it too much or too little. 
The API provides one method with a single argument and another one with 14.

Regards
K
Message has been deleted

meiming yu

unread,
Oct 20, 2017, 7:19:09 AM10/20/17
to ns-3-users
Hi

Thank you for your answer, your answer inspired me and I finally found that I forgot to use the Set function which leads to the no matching function for call.

Thanks again,

Regards

Meiming

在 2017年10月20日星期五 UTC+8上午12:15:46,Konstantinos写道:
Reply all
Reply to author
Forward
0 new messages