Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows 10 SDK detection broken with new SDK #30229
Comments
retep998
added a commit
to retep998/rust
that referenced
this issue
Dec 6, 2015
retep998
added a commit
to retep998/rust
that referenced
this issue
Dec 6, 2015
This was referenced Dec 6, 2015
sfackler
referenced this issue
Dec 13, 2015
Closed
64 bit MSVC nightlies seem to have troubles linking #30358
apasel422
added
the
O-windows
label
Dec 14, 2015
cmr
added
the
O-windows-msvc
label
Dec 14, 2015
retep998
added a commit
to retep998/rust
that referenced
this issue
Dec 14, 2015
bors
added a commit
that referenced
this issue
Dec 15, 2015
This comment has been minimized.
This comment has been minimized.
|
Alas, because this isn't a regression, even when my PR does land, this issue will continue to plague people until it proliferates into stable. |
bors
added a commit
that referenced
this issue
Dec 15, 2015
bors
added a commit
that referenced
this issue
Dec 15, 2015
bors
closed this
in
#30233
Dec 15, 2015
ubsan
added a commit
to ubsan/rust
that referenced
this issue
Dec 22, 2015
micbou
referenced this issue
Jan 5, 2016
Closed
Use MSVC version of the Rust compiler on AppVeyor #293
This comment has been minimized.
This comment has been minimized.
mhristache
commented
Jan 7, 2016
|
Can this be back ported to beta pls? ping @alexcrichton |
This comment has been minimized.
This comment has been minimized.
brson
added
beta-nominated
I-nominated
T-tools
and removed
beta-nominated
I-nominated
T-tools
labels
Jan 7, 2016
brson
added a commit
to brson/rust
that referenced
this issue
Jan 12, 2016
briansmith
referenced this issue
Jan 12, 2016
Closed
cargo build on Windows doesn't work out of the box #12
This comment has been minimized.
This comment has been minimized.
|
I ran into this today with someone, but the file was |
This comment has been minimized.
This comment has been minimized.
|
@steveklabnik In general when someone gets an error where the linker can't find a system library (rather than being unable to find the linker), this is typically because they have an incomplete Windows SDK. To debug this, you'd need to know which paths the linker is searching in (via the |
This comment has been minimized.
This comment has been minimized.
|
Thanks! In the end, my student uninstalled and reinstalled both the Windows stuff and Rust stuff, and it magically worked, so I bet that was it. |
retep998 commentedDec 6, 2015
The new Windows 10 SDK changed some registry values slightly which broke the current Windows 10 SDK detection code.
This results in the linker error
note: LINK : fatal error LNK1181: cannot open input file 'ws2_32.lib'I am working on a PR to
fix thiscompletely overhaul the code for the better.In the meantime you can work around this issue by manually invoking vcvars as done here.