winpcap

The industry-standard windows packet capture library

Latest version: 4.1.2

Add to xmake.lua

add_requires("winpcap 4.1.2")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2025-01-20T12:33:46.000Z

Platforms

  • windows: x86, x64

Options

shared
Build shared library. · Type: boolean · Default: false

Versions

  • 4.1.2

Dependencies

No dependencies declared.

Install with xrepo

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

install

xrepo install "winpcap 4.1.2"

show info

xrepo info "winpcap"

Link a library to your target

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

xmake.lua

add_requires("winpcap 4.1.2")

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

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 "winpcap 4.1.2" shell