-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Rust on Windows via the installer may lead to linking failures/conflicts #13784
Comments
This is HP's fault for putting a MinGW in the PATH. Windows users should manage their own precisely because of all these breakages. |
What's the version of gcc that haskell is providing you? |
@alexcrichton: Short answer, GCC 4.5.2. Long answer:
|
It sounds like this is using an outdated version of mingw that rust no longer supports. I would recommend installing a more recent version of mingw-w64 and having that be farther up in your path than the Haskell version. |
Will do. I don't know if it's a feasible option, but maybe the installer could be made completely standalone, with all dependencies bundled, for 1.0 release? Just some food for thought. |
@pcwiek It's intended that by 1.0 the windows install will have no external mingw dependency. |
That's #11782 |
I had about the same problems. Had in the PATH set first MinGW 4.7.2 but then I switched it to the MinGW 4.8.2 that Qt comes with and all works good... |
I'm having the same problem. I'm using the 32-bit version of Rust and I have MinGW installed in C:\MinGW. If I move the MinGW directory to somewhere else, or rename it to something else, it works. Here's the log I'm getting when it fails:
|
Is this still happening for people? |
@pcwiek, Windows installer is standalone now, can you please verify that it fixed your problem? |
@vadimcn Can't seem to reproduce the same issue anymore; seems to be fixed for me! |
Great! If it still happens for anyone else, please let me knowl |
I have the same problem Compiling sdl2 v0.0.28 (file:///G:/Shankar/Project/Maidsafe/Rust/practise/rust-sdl2) |
I use the Cygwin, and the gcc..etc were installed, because the net error, I didn't install Mingw64 successfully, |
same problem,i use msys2 |
Deduplicate inserted parentheses in binding mode hints
At first glance, it looks like a PATH-related mingw issue. I may be wrong though, happy investigating! :)
Steps:
ld
to PATH), in my case it came with Haskell 2013.2.0.0 for Windows.The text was updated successfully, but these errors were encountered: