nyuwireless-unipd / ns3-mmwave

ns-3 module for simulating mmWave-based cellular systems. See https://ieeexplore.ieee.org/document/8344116/ (open access) as a reference.
GNU General Public License v2.0
292 stars 190 forks source link

Build issue #252

Closed angihe93 closed 1 year ago

angihe93 commented 1 year ago

Hi, I could not build ns3-mmwave by running ./ns3 configure --disable- python --enable-examples && ./ns3 build. It had several gmake errors. Here is my saved terminal output for reference. I'm running macOS Monterey 12.5.1. Please let me know if there's anything I should try, or if I should provide any additional info. Thanks

Gabrielcarvfer commented 1 year ago

Would you mind trying ./ns3 configure --disable-werror? I haven't seen these warnings with the compilers we are testing in the upstream ns-3 project.

pagmatt commented 1 year ago

Also, could you please try building the mmwave module without adding millicar first ? So that we can better identify where the issue stems from and thus discuss it in the proper repository

angihe93 commented 1 year ago

Thank you. adding --disable-werror flag didn't work, but I was able to build it by removing the line "add_compile_options(-Werror)" in Cmakelists.txt in src/mmwave and src/lte.

pagmatt commented 1 year ago

Sorry for that, we fixed it in our private development repo but we haven't pushed the fix to this public repository yet. We will do it soon!