-
Notifications
You must be signed in to change notification settings - Fork 8
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
Comments
It sounds like you’re using a version
of the helics-ns3 binding that is made for HELICS v2.
…On Tuesday, September 19, 2023, stevenlebron ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#51>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6JBZZQAZP6OCZZRPDZVDTX3J7PPANCNFSM6AAAAAA47KS77I>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I just noticed that the fed-filter version has been updated, thanks. |
Hi, nightlark. |
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. |
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.
The text was updated successfully, but these errors were encountered: