Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install npcap sdk #22

Open
saltfish233 opened this issue Nov 30, 2021 · 4 comments
Open

How to install npcap sdk #22

saltfish233 opened this issue Nov 30, 2021 · 4 comments

Comments

@saltfish233
Copy link

I don't know how to install it, who can help me?

@saltfish233
Copy link
Author

I'v solve it.

@mountaincastle47
Copy link

I'v solve it.

Bro how do i install pls give me instructions

@jqknono
Copy link

jqknono commented Mar 8, 2022

For Windows,

  1. install choco
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
  1. install make
choco install make
  1. change the Makefile line:
CXXFLAGS = -std=c++17 -g -Wall

to

CXXFLAGS = -std=c++17 -g -Wall -I"D:\code_private\hyenae-ng\npcap-sdk-1.12\Include" -L"D:\code_private\hyenae-ng\npcap-sdk-1.12\Lib\x64"
  1. download the SDK and uncompress to the folder above, NPCap SDK
  2. read INSTALL.md in the repo, make all

@mountaincastle47
Copy link

For Windows,

  1. install choco
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
  1. install make
choco install make
  1. change the Makefile line:
CXXFLAGS = -std=c++17 -g -Wall

to

CXXFLAGS = -std=c++17 -g -Wall -ID:\code_private\hyenae-ng\npcap-sdk-1.12\Include -LD:\code_private\hyenae-ng\npcap-sdk-1.12\Lib\x64
  1. download the SDK and unpress to the folder above, NPCap SDK
  2. read INSTALL.md in the repo, make all

Ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants