-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Unable to run Rust in cmd.exe or Powershell on Windows 7 64-bit #7500
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
Comments
A side issue, I attempted to compile the hello example (in PowerShell) from the tutorial while having Strawberry Perl installed, and that caused things to blow up. There were no issues compiling the same file (in PowerShell) after uninstalling Strawberry Perl though. Here's the top few lines of the error that was thrown:
|
Visiting for triage. |
#9662 fixes this for stage0 and for installer distribution. If the expectation is to run stage2\bin\rustc.exe without having dependency dlls on somewhere on the PATH, the answer is "no". |
This is no longer an issue. The nightly installers work in I imagine that this was fixed over time with various patches to remove the libpthread dependencies as well as the migration to mingw-w64. |
The error that comes up in cmd.exe is '...pthreadGC2.dll is missing...', PowerShell doesn't show any errors. After copying the pthreadGC2.dll[1] into the installation directory[2], things were working properly in PowerShell and cmd.exe.
[0] http://www.sourceware.org/pthreads-win32/ - pthread lib home page
[1] ftp://sourceware.org/pub/pthreads-win32/dll-latest/dll/x86/pthreadGC2.dll
[2] C:\MinGW\msys\1.0\local\bin
Edit: This was after compiling from source, the revision at the time was df39932.
The text was updated successfully, but these errors were encountered: