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
PCAP can't be selected on vNext #213
Comments
I've been puzzled with this problem for some time (Ok, I haven't done much with PCem this last year), but I've finally found the reason. The problem is that the version of libpcap provided with msys2 does not support windows packet capture and there is a workaround that requires user interaction: Basically, when compiling PCem on msys2, it builds and links to libpcap and its libpcap.dll. libpcap.dll is one of the dlls that need to be copied to pcem.exe folder in order to run it. To fix it, Install npcap (winpcap's successor), and then copy wpcap.dll to pcem.exe folder, and rename it to libpcap.dll, Then, all suddenly works. I added these lines to my build scripts: 64bits:
32bits:
|
I am also seeing this same problem on Linux, where only SLiRP can be selected (and also "Network device" is an empty list.) OS: Compile line (sources from git): PCAP libs:
Has anyone else had this issue? Is there something that I may have missed? Any advice welcome. |
Describe the bug
After compiling PCem from the latest sources you can't choose PCAP, only SLiRP appears in the host configuration dialog.
To Reproduce
Download latest sources and compile them under MSYS2 MinGW64.
I even tried to force PCAP with
cmake -G Ninja -DUSE_NETWORKING=ON -DUSE_PCAP_NETWORKING=ON -DCMAKE_BUILD_TYPE=Release .
but the result was the same.Expected behavior
Both SLiRP and PCAP should appear in the host configuration dialog
Screenshots
vNext:
v17:
Emulator configuration
None needed to open the host configuration dialog.
Host machine
Any running Windows 10/11 x64
The text was updated successfully, but these errors were encountered: