wineslab / ns-o-ran-ns3-mmwave

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

/waf build fails with error : #9

Closed brownbytes closed 11 months ago

brownbytes commented 11 months ago

1039/2989] Compiling src/core/helper/csv-reader.cc ../src/core/helper/csv-reader.cc: In member function ‘bool ns3::CsvReader::GetValueAs(std::string, signed char&) const’: ../src/core/helper/csv-reader.cc:182:26: error: ‘numeric_limits’ is not a member of ‘std’ 182 | if (tempOutput >= std::numeric_limits::min () | ^~~~~~ ../src/core/helper/csv-reader.cc:182:50: error: expected primary-expression before ‘>’ token 182 | if (tempOutput >= std::numeric_limits::min () | ^ ../src/core/helper/csv-reader.cc:182:53: error: ‘::min’ has not been declared; did you mean ‘std::min’?

Solution:

update ns-3-mmwave-oran/src/core/helper/csv-reader.h to include limits

include

Thecave3 commented 11 months ago

Hi, yes. this is a known issue. Check #1 for more details