Fatal error: ns3/lora-module.h

102 views
Skip to first unread message

Sonile Musonda

unread,
Jun 19, 2024, 6:12:43 AM6/19/24
to ns-3-users
I am trying to run code using ns3.40 and getting the following error:
fatal error: ns3/lora-module.h: no such file or directory.
In the code there is a statement ; #include <ns3/lora-module.h>
What could be causing this?

Tommaso Pecorella

unread,
Jun 19, 2024, 11:05:29 AM6/19/24
to ns-3-users
Did you install the lora model?

Sonile Musonda

unread,
Jun 26, 2024, 8:01:06 AM6/26/24
to ns-3-users
Thanks so mcuh, the LoRa module was missing. I managed to install it, thanks a lot.

Sonile Musonda

unread,
Jul 15, 2024, 6:49:57 AM7/15/24
to ns-3-users
When i searched for LoRa Module, I found the LoRaWAN module on nsnam website and also githab and managed to follow the instructions to install it successfully. However when i try to run code Iam still getting the same fatal error: "ns3/lora-module.h: No such file or directory"
On Wednesday, June 19, 2024 at 5:05:29 PM UTC+2 Tommaso Pecorella wrote:

Tommaso Pecorella

unread,
Jul 15, 2024, 8:15:45 AM7/15/24
to ns-3-users
Sorry for the bad news... it's a rather simple trick: It's "ns3/lorawan-module.h" (you misspelled it).
Reply all
Reply to author
Forward
0 new messages