C:\Dev-Cpp\Bin..\lib\gcc\mingw32\3.4.2........\mingw32\bin\ld.exe: cannot open output file winmain.exe: Permission denied
collect2: ld returned 1 exit status
make.exe: *** [winmain.exe] Error 1
Execution terminated
the winmain.exe is included C:/myproject
i can click on it and have it work (without texture of course)
so yes i can run, but not compile the code without 2 errors.
how can i fix this because i was right in the middle of debugging and it gives me this permission denied headache
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is my compile log:
Compiler: Default compiler
Building Makefile: "C:\ATimetoKill\Makefile.win"
Executing make...
make.exe -f "C:\ATimetoKill\Makefile.win" all
g++.exe CGfxOpenGL.o winmain.o CTargaImage.o -o "winmain.exe" -L"C:/Dev-Cpp/lib" -lopengl32 -lglu32 -mwindows
C:\Dev-Cpp\Bin..\lib\gcc\mingw32\3.4.2........\mingw32\bin\ld.exe: cannot open output file winmain.exe: Permission denied
collect2: ld returned 1 exit status
make.exe: *** [winmain.exe] Error 1
Execution terminated
the winmain.exe is included C:/myproject
i can click on it and have it work (without texture of course)
so yes i can run, but not compile the code without 2 errors.
how can i fix this because i was right in the middle of debugging and it gives me this permission denied headache
This is known to occur for one of two reasons:
1) The winmain.exe process is already running so its .exe file is locked.
2) The "Tea Timer" feature of SpyBot S & D is enabled.
Clifford