fatal error: google/protobuf/port_def.inc: No such file or directory
749 views
Skip to first unread message
Shorouk Raafat
unread,
Apr 21, 2024, 9:15:48 AM4/21/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hello all,
I am recently facing a new error related to protobuf package. I am getting the attached error while tying to waf build
I tried to resolve it in multiple online solutions but with no luck. I downgraded the protobuf version to 3.2 as suggested by some users online but it is not working as well.
Any suggestions?
kaouthar ouali
unread,
Apr 21, 2024, 10:15:04 AM4/21/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hi,
in the cmake file (scratch folder), you have to add
find_package(Protobuf REQUIRED)
Shorouk Raafat
unread,
Apr 21, 2024, 2:38:29 PM4/21/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
I'm using NS3.30 not using CMake files
kaouthar ouali
unread,
Apr 22, 2024, 8:34:16 AM4/22/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hi,
You have to check where to add exactly the command with ns3.30.