skeeto / w64devkit

Portable C and C++ Development Kit for x64 (and x86) Windows
The Unlicense
2.66k stars 185 forks source link

Failed to launch login shell #129

Open swarnava112 opened 1 month ago

swarnava112 commented 1 month ago

When I try to launch w64devkit on windows by double-clicking on it. I get the following error :-

image

the files are located under C:\ProgramFiles . And I have admin privilages on the machine. I am using windows 11.

skeeto commented 1 month ago

By design you don't need admin privileges, so that shouldn't matter. (In fact, running it with admin privileges will just create difficulties, so definitely don't do that.) Some possibilities:

As a test, try running bin/sh.exe directly. It won't set up $PATH, but you'll get a shell and the basic unix commands. If it doesn't work, then perhaps there will be more information, like a security pop-up blocking execution.