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
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?
compilation terminated.pngwaf configure.png 

kaouthar ouali

unread,
Apr 21, 2024, 10:15:04 AM4/21/24
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
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
to ns-3-users
Hi,
You have to check where to add exactly the command with ns3.30.
Reply all
Reply to author
Forward
0 new messages