Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: ‘class helics::MessageFederate’ has no member named ‘SendMessage’ #51

Open
stevenlebron opened this issue Sep 20, 2023 · 4 comments

Comments

@stevenlebron
Copy link

Hi, everyone.
When I try to install helics-ns3 and input the command ./waf configure --with-helics=/usr/local --disable-werror --enable-examples --enable-tests, I encounter errors like
../contrib/helics/examples/fed-filter.cc:61:15: error: ‘class helics::MessageFederate’ has no member named ‘SendMessage’; did you mean ‘getMessage’? | mFed->SendMessage(idsource, name+"/"+dstEndpoint, message.data(), message.size()); | ^~~~~~~~~~~ | getMessage
I think that the errors are due to version issues and some function names are changed, but I can't deal with the issue above.
The versions of helics and ns-3 in my system are respectively 3.4.0 and 3.35.
Can you give me some hints to debug this problems?

Thank you in advance.

@nightlark
Copy link
Member

nightlark commented Sep 20, 2023 via email

@chelsea-sccss
Copy link

I just noticed that the fed-filter version has been updated, thanks.

@stevenlebron
Copy link
Author

Hi, nightlark.
I want to use NS 3.38 to simulate some 5G behaviors and then interact with Helics. But in Github, the latest version of helics-ns3 is NS 3.35.
Can NS 3.38 connect with Helics?

@nightlark
Copy link
Member

You can probably use the helics 2 with cmake support branch as an example of how to update the main branch to work with newer versions of ns-3.

Unfortunately I don’t have any projects currently funding my time to work on helics-ns3, and I was told it would be a conflict of interest to work on it in my free time. If someone wants to update the main helics-ns3 branch with cmake support and open a PR, I can merge the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants