call to member function emit is ambiguous

179 views
Skip to first unread message

zeena usama

unread,
Apr 7, 2022, 1:20:11 PM4/7/22
to OMNeT++ Users
Hi all..

i'm using omnet 5.5.1 with INET 3.6.8 
and i try to install open-flow from this link (https://github.com/inet-framework/openflow)
but i got this error (call to member function emit is ambiguous error) 
does anyone know how i can solve this ??

thank you in advance

zeena usama

unread,
Apr 9, 2022, 2:11:32 AM4/9/22
to OMNeT++ Users
any help ?

Goran Skondrić

unread,
Apr 9, 2022, 4:28:46 AM4/9/22
to OMNeT++ Users
I had a similar problem recently and I don t remember how I solved that ...   *i I installed oversim .. but one of this helped 
- problem with version ... installed correct version of omnet and inet
- correctly add this to omnet (and rebuild) ... do you have some signs next to folders that you added

Hope this help 

Best regards

zeena usama

unread,
Apr 9, 2022, 10:58:54 AM4/9/22
to OMNeT++ Users
sorry i don't exactly understand what you mean  
but this is the error i got..
thanks for reply
error.png

Alfonso Ariza Quintana

unread,
Apr 9, 2022, 1:55:29 PM4/9/22
to omn...@googlegroups.com
Have you tested to use casting?
emit((int)queueSize.msgList.size());

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de zeena usama <zeena....@gmail.com>
Enviado: sábado, 9 de abril de 2022 16:58
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Re: call to member function emit is ambiguous
 
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/7937e4e7-266e-4fed-823e-1b7de72f953cn%40googlegroups.com.

zeena usama

unread,
Apr 9, 2022, 2:39:24 PM4/9/22
to OMNeT++ Users
no i don't
i'll check this 
thank you very much

Muhammad Adeel

unread,
Apr 25, 2022, 5:44:39 AM4/25/22
to OMNeT++ Users
hello zeena does your problem resolved or not, i have the same issue and its not working with me, i have typecasted it to (int)  but not luck. Does cleaning and building of project should be in sequence (inet, openflow) or it doesn't matter. I am sorry i am new to omnetpp.

zeena usama

unread,
Apr 25, 2022, 6:25:29 AM4/25/22
to OMNeT++ Users
no it doesn't
so i used init 3.3.6 with another open-flow version that is able to compile with init 
if you want i can send you the open-flow version i used

i think yes you should build the init first and then the project you are working on

zeena usama

unread,
Apr 25, 2022, 6:27:18 AM4/25/22
to omn...@googlegroups.com
 INIT 3.6.6 *

You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/VWf_HBCSVRM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/f7355e18-bead-44be-9686-ad882faa872en%40googlegroups.com.

Muhammad Adeel

unread,
Apr 25, 2022, 6:30:53 AM4/25/22
to OMNeT++ Users
yes that would be great, send me the openflow version, I am on on omnet 5.4.1

zeena usama

unread,
Apr 25, 2022, 6:44:13 AM4/25/22
to OMNeT++ Users
okay..
i sent it can you acknowledge me if you receive it or not

Muhammad Adeel

unread,
Apr 25, 2022, 6:51:25 AM4/25/22
to omn...@googlegroups.com
Yeah got it. I will test and let you know if it works. Thank you so much.

zeena usama

unread,
Apr 25, 2022, 6:53:15 AM4/25/22
to OMNeT++ Users
ill be wait 

Muhammad Adeel

unread,
May 21, 2022, 10:57:13 AM5/21/22
to OMNeT++ Users
Thank you so much for all the help. I need help, i am doing example and when i am configuring .ini files. Some of the attributes don't work for example RadioMedium. does it have to be the inet version issue?

zeena usama

unread,
May 21, 2022, 11:09:01 AM5/21/22
to OMNeT++ Users
you are welcome..

i don't really understand what you mean by "don't work", do you got an error or what ?
but i don't think the issue is with the version..
it may be a wrong configuration ( try to look for similar example to what you are doing and change it step by step )

hope i can help you a little
feel free to ask anything
 

Muhammad Adeel

unread,
May 21, 2022, 11:16:35 AM5/21/22
to OMNeT++ Users
Capture.PNG
I get this error. 

zeena usama

unread,
May 21, 2022, 11:26:14 AM5/21/22
to OMNeT++ Users
from where you get that module (UnitDiskRadio)?
i don't have much information about the radio medium, but i think you can use (Ieee80211ScalarRadioMedium)
also try to search or ask in the group may someone help you
Reply all
Reply to author
Forward
0 new messages