hust-diangroup / ns3-ai

Enable the interaction between ns-3 and popular frameworks using Python, which mean you can train and test your AI algorithms in ns-3 without changing any frameworks you are using now!
GNU General Public License v2.0
244 stars 86 forks source link

Releases and Compatibility #112

Open kitswas opened 8 months ago

kitswas commented 8 months ago

The Latest Release is v1.2.0 which is aligned with ns-3.38. It was released almost a year earlier in June 2023.
v1.2.0 can be built with examples enabled on ns-3.40.

I was also able to build the latest commit off main (7dc5b1b8d574eb587b088fa959a230c2b4e1aa75) which is supposed to align with ns-3.41.

Builds off main, however, fail when examples are enabled and the ns3 version is 3.40. Errors occurs in the vr-burst-generator example (examples/multi-bss/vr-app/model/vr-burst-generator.cc#L64).

no matching function for call to ‘MakeEnumAccessor(ns3::VrBurstGenerator::VrAppName ns3::VrBurstGenerator::*)’ ...

Please tell which commit supports ns3.40 with examples enabled.

lemonixxxx commented 8 months ago

I meet the same problem if you slove the problem please tell me thank very much!!!!!(besides I'm not a native speaker if any word offenses you please forgive me thank's a lot)

SirCrocker commented 8 months ago

Hi, I encountered the same problem and was able to circumvent it by commenting the line "add_subdirectory(multi-bss)" inside the examples' CMakeLists.txt. A better solution is updating the MakeEnumAccessor of the class VrBurstGenerator, I did not try to do it though.

Muhammaduazir69 commented 5 days ago

ns3-ai-installation2

Succesfully configured NS3-AI with NS-3.42(Nov 23, 2024)

Docker Envirenment information ! conda

Ubuntu 20.04 protobuf tag v21.12 with cmake installation NS3-AI/CmakeLists.txt file modifications Replace line 64 at vr-burst-generation.cc file MakeEnumAccessor(&VrBurstGenerator::m_appName),

Done with dynamic resources allocation in 5G-lena(NR) by implementing SDN based Network Slicing using NS3-AI in NS3