npcap_sdk

Npcap is the Nmap Project's packet capture (and sending) library for Microsoft Windows.

Latest version: 1.15

Add to xmake.lua

add_requires("npcap_sdk 1.15")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2025-05-22T10:54:21.000Z

Platforms

  • msys: i386, x86_64
  • mingw: i386, x86_64, arm, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

No configurable options.

Versions

  • 1.12
  • 1.13
  • 1.15

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "npcap_sdk 1.15"

show info

xrepo info "npcap_sdk"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("npcap_sdk 1.15")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("npcap_sdk")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "npcap_sdk 1.15" shell