-
Notifications
You must be signed in to change notification settings - Fork 562
added some notes about development to the README.md #789
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
base: master
Are you sure you want to change the base?
Conversation
hoene
commented
Apr 22, 2025
- i just added my notes on how to compile the driver
- not all complete
- especially on how to support for Win32 driver remains a bit unclear
|
|
||
| ### Development Environment | ||
|
|
||
| Install a Windows. For example, use Windows 11, version 21H2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Install a version of Windows."
|
|
||
| Install a Windows. For example, use Windows 11, version 21H2. | ||
|
|
||
| When you install Visual Studio 2022, select the Desktop development with C++ workload, then under Individual Components add: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Install Visual Studio 2022" should explicitly be stated as a step, for example:
Install Visual Studio 2022. When you do so, select the Desktop development with C++ workload, then under Individual Components add:
|
|
||
| You also need WDK for Windows 11, version 21H2. Download and install it from https://go.microsoft.com/fwlink/?linkid=2166289 | ||
|
|
||
| For addition tasks, like building the documentation, you need roffit. Clone it from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"For additional tasks".
|
|
||
| Then, download https://npcap.com/dist/ npcap-sdk and install it under, e.g. %USERPROFILE%\npcap-sdk-1.14 | ||
|
|
||
| We need Winflex, which can be download at https://github.com/lexxmark/winflexbison/releases . Be sure that it is in environment variable 'Path'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's called WinFlexBison, and you need both Flex and Bison to compile libpcap's filter parser.
|
|
||
| You might also need pkg-config from https://download.gnome.org/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip | ||
|
|
||
| #### Cloing the reposiory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Cloning the repository".