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
220 stars 80 forks source link

Releases and Compatibility #112

Open kitswas opened 5 months ago

kitswas commented 5 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 5 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 5 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.