FabianEckermann / ns-3_c-v2x

Cellular Vehicle-to-Everything (C-V2X) Mode 4 model for ns-3
GNU General Public License v2.0
82 stars 38 forks source link

Error when build the code #5

Closed Tai-Wong closed 3 years ago

Tai-Wong commented 3 years ago

When I build the project, it exits with an error popping out

../src/lte/model/pf-ff-mac-scheduler.cc:1955:42: error: unused variable 'itRnti' [-Werror,-Wunused-variable] std::set ::iterator itRnti = rntiAllocated.find (itLogicalChannels->first.m_rnti); ^ 1 error generated.

Tai-Wong commented 3 years ago

And when I run the command: "./waf configure --enable-examples --enable-tests --disable-werror", I got another error "waf: error: no such option: --disable-Werror"