mz-automation / libiec61850

Official repository for libIEC61850, the open-source library for the IEC 61850 protocols
http://libiec61850.com/libiec61850
GNU General Public License v3.0
863 stars 461 forks source link

WinPcap is no more, upgrade to Npcap #335

Open fossum opened 3 years ago

fossum commented 3 years ago

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 commented 3 years ago

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

Baszti commented 3 years ago

WinPcap 4.1.2 Developer's Pack can be found here:

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

fossum commented 3 years ago

@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.

Baszti commented 3 years ago

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.

fossum commented 3 years ago

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'

Baszti commented 3 years ago

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