bepass-org / warp-plus

Warp+Psiphon, an anti censorship utility for iran
MIT License
1.49k stars 252 forks source link

Error loading windtun.dll (the Windows release should contain wintun.dll) #123

Closed salehmontazeran closed 4 months ago

salehmontazeran commented 4 months ago

Version number 1.2.1

Describe the bug when I use --tun-experimental, I get this error: Error creating interface: Error loading wintun.dll DLL: Unable to load library: The specified module could not be found.

Screenshots Screenshot 2024-05-24 231021

Desktop:

AliGh1 commented 4 months ago

You should check here https://github.com/bepass-org/warp-plus/issues/66 Download Wintun driver and place it beside the warp-plus.exe.

Originally posted by @Soberia in https://github.com/bepass-org/warp-plus/issues/66#issuecomment-2129654032

markpash commented 4 months ago

Indeed, in order for tun to work on Windows, the wintun.dll driver needs to be placed next to the exe. In the next version I may include this DLL in the release zip. But the future goal is to embed this into the binary, so no extra DLL files.

salehmontazeran commented 4 months ago

Download Wintun driver and place it beside the warp-plus.exe.

@AliGh1 Dude, I know how to fix it. But the user expects that after unzipping the release archive, they can use the .exe file without any issues.

In the next version I may include this DLL in the release zip. But the future goal is to embed this into the binary, so no extra DLL files.

@markpash Thank you.

markpash commented 4 months ago

The wintun.dll is included in the windows releases (v1.2.2)