Closed Boscop closed 5 years ago
When I build on Windows command prompt, cmake places enet.lib into build/Debug or build/Release depending on the type of build and the linker could not find it in these subdirectories. Created a pull request (#11) that checks whether the build is debug or not on Windows and sets the link search path accordingly. I went ahead and added the links = "enet"
line to the manifest. Does this patch work for you?
Resolved by #11
Please add
links = "enet"
to Cargo.toml, to only link to enet once, if two deps depend on enet-sys. And withoutlinks = "enet"
it doesn't build, at least with rustc-msvc I get this error:But with
links = "enet"
, everything works with rustc-msvc.