Hi, I was trying to build ns-3 from the ns-3-dev folder, following the README steps when this error appeared:
miguel@tfg:~/tfg_local/ns-3-workspace/ns-allinone-3.37/ns-3.37/src/ns-3-dev$ ./ns3 build
[0/2] Re-checking globbed directories...
[1/916] Building CXX object src/quic/CMakeFiles/libquic-obj.dir/model/quic-l4-protocol.cc.o
FAILED: src/quic/CMakeFiles/libquic-obj.dir/model/quic-l4-protocol.cc.o
...
/home/miguel/tfg_local/ns-3-workspace/ns-allinone-3.37/ns-3.37/src/ns-3-dev/src/quic/model/quic-l4-protocol.cc:775:55: error: ‘const class ns3::Ipv6Header’ has no member named ‘GetSourceAddress’; did you mean ‘ns3::Ipv6Address ns3::Ipv6Header::m_sourceAddress’? (not accessible from this context)
775 | NS_LOG_FUNCTION (this << packet << incomingIpHeader.GetSourceAddress ()
...
home/miguel/tfg_local/ns-3-workspace/ns-allinone-3.37/ns-3.37/src/ns-3-dev/src/quic/model/quic-l4-protocol.cc:776:37: error: ‘const class ns3::Ipv6Header’ has no member named ‘GetDestinationAddress’; did you mean ‘ns3::Ipv6Address ns3::Ipv6Header::m_destinationAddress’? (not accessible from this context)
776 | incomingIpHeader.GetDestinationAddress ());
How can I solve it?
Maybe it's a stupid question, but it's the first time I work with ns3 and QUIC, and I don't know how to handle it yet.
Hi, I was trying to build ns-3 from the ns-3-dev folder, following the README steps when this error appeared:
How can I solve it? Maybe it's a stupid question, but it's the first time I work with ns3 and QUIC, and I don't know how to handle it yet.
I have installed ns-3.37 and Ubuntu 22.04.2 LTS.
Thank you very much in advance.
Regards, Miguel.