magic-wormhole / magic-wormhole.rs

Rust implementation of Magic Wormhole, with new features and enhancements
European Union Public License 1.2
722 stars 78 forks source link

Compile error under Windows/Msys2 #115

Closed piegamesde closed 3 years ago

piegamesde commented 3 years ago

I was trying to compile this under a Windows Msys2 environment. It compiles fine, but the linker then exits with an error: ld.exe: cannot find -lPacket.

This is probably some boring dependency that's missing, but I cannot find which package to install to fix it. Packet is an incredibly generic name and very hard to search for. ^^

I should also note that it compiles with --no-default-features, meaning that the bin feature is causing the error. I tried to narrow it down further, giving me the insight that it is not caused by one of our bin dependencies. We only have env-logger and clap, and removing them does not solve the problem.

piegamesde commented 3 years ago

I finally found the root cause: https://github.com/libpnet/libpnet#windows