Sublime Forum

This error was shown in Sublime Text

#1

c/mingw/bin/…/lib/gcc/mingw32/6.3.0/…/…/…/. mingw32/bin/ld.exe: cannot open output file c: \program files\sublime text 3/good exe: permission denied Collect2 exe: error: 1d returned 1 exit status

:point_up_2:This error was shown in my sublime text in c program
I want ,How to fix this error totally
Please every one share the solution.
THANKYOU

0 Likes

#2

The build system you’re using is trying to write a file into C:\Program Files which it cannot do without admin permissions. This is likely because the file you’re editing is also under that location. I’d suggest not saving your files there.

0 Likes

#3

So what solution is this

0 Likes

#4

As I said, don’t save your files inside C:\Program Files. Save them in your documents folder or somewhere else.

0 Likes

#5

I do this but after output are totally not showing

0 Likes

#6

That sounds like a totally different issue, care to share details?

0 Likes