wineslab / ns-o-ran-ns3-mmwave

GNU General Public License v2.0
18 stars 16 forks source link

Build issue with limits library #10

Closed MarkMCode closed 8 months ago

MarkMCode commented 9 months ago

Hi all,

Following the instructions to set up ns-O-RAN from Open RAN Gym, I ran into an issue building this project with GCC version 11.4.0.

After running ./waf build, I encountered an error involving src/core/helper/csv-reader.cc which indicated that the limits library was not a part of std.

I was able to resolve this and build the project after adding the line #include <limits> to src/core/helper/csv-reader.cc, but I'm curious to find out if this problem was unique to my setup, or if it's a problem related to recent versions of GCC. Either way, I thought this was worth reporting.

This occured on Ubuntu 22.04.3 LTS.

Devaansh-Kumar commented 8 months ago

I faced the same issue, and adding #include <limits> fixed it.

Thecave3 commented 8 months ago

Hi everyone, this is a known issue, please check #1