Sublime Forum

[WinErrorr 5]

#1

Hello, I’m trying to compile my C++ programs, but every time I compile the program this error “[WinError 5]” occurs. My programs are running perfectly on Sublime text 2 but 3 is giving me errors. I’ve checked for the environment variables, the compiler paths are set correctly on MinGW compiler and Cygwin compiler. Please look into the matter and respond ASAP.

[WinError 5] Access is denied
[shell_cmd: g++ “C:\Users\Gaurav\Documents\DRDO\hello.cpp” -o “C:\Users\Gaurav\Documents\DRDO/hello” && “C:\Users\Gaurav\Documents\DRDO/hello”]
[dir: C:\Users\Gaurav\Documents\DRDO]
[path: C:\MinGW\bin;C:\cygwin64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\Users\Gaurav\gcc\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Java\jdk-11.0.1\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\cygwin64\bin]
[Finished]

0 Likes