Regarding libpcap live packet capture support #35395
-
by default, libpcap vcpkg is not compiling the package with live packet capture support. so to support it, the CMake needs to have Packet_ROOT defined before the check-in libpcap's CMakeLists.txt for the packet capture mechanism is done, how that be accomplished? I tried to add
and I still get the "live packet capture not supported on this system" error. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Check (or share) the cmake config log. |
Beta Was this translation helpful? Give feedback.
-
BTW better change: --DPacket_ROOT="C:/npcap-sdk"
+"-DPacket_ROOT=C:/npcap-sdk" (Rationale: Quote for CMake. CMake will transform for the build tool.) |
Beta Was this translation helpful? Give feedback.
This isn't what was meant. The
+
is was part of the diff format (=added line). So either"-DPacket_ROOT=C:/npcap-sdk"
or
It seems to lack a link library. Check CMake output, or
Packet_LIBRARY
in the cache. I don't know anything about it.