FabianEckermann / ns-3_c-v2x

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

Bug while compiling ./waf --run v2x_communication_example #1

Closed YeisonHunt closed 4 years ago

YeisonHunt commented 4 years ago

bug compiling example

It arrives until 1714 and it raises the error mentioned in the image before.

hinata1999 commented 4 years ago

I got the same error too

Vickey-ZWQ commented 4 years ago

I got the same error too. How to fix it ? Somebody help!

FabianEckermann commented 4 years ago

Looks like your compiler treats warnings as errors. Running CXXFLAGS="-Wall -g" ./waf configure should solve this issue.

Vickey-ZWQ commented 4 years ago

Looks like your compiler treats warnings as errors. Running CXXFLAGS="-Wall -g" ./waf configure should solve this issue.

Thank you FabianEckermann, I've done what you said and it works. I really appreciate your help!