libiec61850 icon indicating copy to clipboard operation
libiec61850 copied to clipboard

WinPcap is no more, upgrade to Npcap

Open fossum opened this issue 4 years ago • 6 comments

Trying to follow the main README the download link in "Building on windows with GOOSE support" doesn't work anymore and Winpcap directs you to Npcap. These should be fixed immediately. I wasn't able to find the dev version on Npcap, so hopefully someone else can help me out as 1.5 doesn't seem to work in Windows without it.

fossum avatar Jun 08 '21 22:06 fossum

Seems using https://nmap.org/npcap/dist/npcap-sdk-1.07.zip allows me to build properly.

fossum avatar Jun 08 '21 22:06 fossum

WinPcap 4.1.2 Developer's Pack can be found here:

https://www.winpcap.org/devel.htm

Baszti avatar Jun 10 '21 07:06 Baszti

@Baszti should we be using that? Or just move to Npcap?

Using my link above allowed me to build, but I don't seem to have a .pyd file, so I guess it didn't work.

fossum avatar Jun 10 '21 17:06 fossum

Of course moving to Npcap is definiteley the right way for the future because Winpcap is no longer maintained and supported I think. But for now it worked for me on Windows 10 following the Readme.

Baszti avatar Jun 10 '21 18:06 Baszti

I guess I wasn't so lucky. I switched to the winpcap version, but still no pyd. Can you tell me what command you use to build the makefiles? I'll post mine for reference. cmake -G "Visual Studio 16 2019" -A Win32 .. -DBUILD_PYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE='C:\Program Files (x86)\Python39-32\python.exe'

fossum avatar Jun 10 '21 21:06 fossum

Oh okay now I got it, you use python, I only use the .NET version and had no issues there.

Baszti avatar Jun 11 '21 07:06 Baszti