alexkirsz / dispatch

Combine internet connections, increase your download speed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

it wont build on windows 10

Kodi4444 opened this issue · comments

i get this error

  = note: LINK : fatal error LNK1181: cannot open input file 'Packet.lib'


error: could not compile `dispatch-proxy` due to previous error

well i got it to install but I had to find and download Packet.lib then put it in C:\Users%Username%.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib.

commented

@Kodi4444 Where did you get packet.lib from?

commented

Wait I found it. For anyone also stuck on the same issue you need to get the right packet.lib for your toolchain from WinPcap 4.1.2 Developer's Pack

Same problem with win 11 + gnu toolchain (mingw64)
Fixed by installing Npcap (which is recommended by WinPcap as it's not maintained anymore)
Packet.lib from sdk/lib/x64 as mentioned above fixed the build error
Had to install it too for packet.dll error
Works fine now

Fixed in #2 (thanks @gregyjames!)