wifi-example-apps.h: No such file or directory

55 views
Skip to first unread message

saumil shah

unread,
Feb 9, 2018, 4:31:02 AM2/9/18
to ns-3-users
Dear All,

I am working on ns-3-lbt module. For my scenario i am trying to use TimestampTag class in wifi-mac-queue.cc and wifi-net-device.cc files.. So why i have included wifi-example-apps.h file in above mentioned files as below.

#include "wifi-example-apps.h"

But i am getting below error.

../src/wifi/model/wifi-mac-queue.cc:31:31: fatal error: wifi-example-apps.h: No such file or directory
compilation terminated.

../src/wifi/model/wifi-net-device.cc:36:35: fatal error: wifi-example-apps.h: No such file or directory
compilation terminated.


Can anyone help me with this?

Best Regards
Saumil Shah

Tommaso Pecorella

unread,
Feb 10, 2018, 3:24:50 PM2/10/18
to ns-3-users
wifi-example-apps.h is a file defined in an example. The main source code is not able to access it.

My suggestion is to create your own TimestampTag (change the class name).

T.

saumil shah

unread,
Feb 11, 2018, 4:34:10 AM2/11/18
to ns-3-users
Hi Tommaso,

Thank you for the suggestion. I have done the same thing by creating new file just with TimestampTag (with changed name) in wifi module and it worked perfectly.

Best Regards
Saumil

Jhonny Carchi

unread,
Feb 9, 2021, 10:34:30 PM2/9/21
to ns-3-users
puede ayudarme de como crear ese archivo y en que directorio colocarlo

Jhonny Carchi

unread,
Mar 17, 2021, 7:45:59 PM3/17/21
to ns-3-users
please help me to carry out this process, my email is jhonnyc...@gmail.com
Reply all
Reply to author
Forward
0 new messages