Eclipse Permission Denied [message #1039970] |
Fri, 12 April 2013 21:57 |
Ray Leonard Messages: 2 Registered: April 2013 |
Junior Member |
|
|
Okay, so I run the program once and its fine and dandy, however when I change the code and save, it won't run, now I know that you may suggest "you have to close the running program", as a matter of fact, it is closed. I have checked and double checked this over and over across various IDE's. Here is the errors for eclipse, netbeans, and orwell dev-c++:
Eclipse:
16:47:06 **** Incremental Build of configuration Release for project Programming Project ****
Info: Internal Builder is used for build
g++ -o "Programming Project.exe" "src\\ch_3_excercises.o"
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot open output file Programming Project.exe: Permission denied
collect2: ld returned 1 exit status
16:47:06 Build Finished (took 125ms)
NetBeans:
"/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Users/Ray/Documents/NetBeansProjects/Programming Practice'
"/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/programming_practice.exe
make[2]: Entering directory `/c/Users/Ray/Documents/NetBeansProjects/Programming Practice'
make[2]: stat: dist/Debug/MinGW-Windows/programming_practice.exe: Permission denied
mkdir -p dist/Debug/MinGW-Windows
g++ -o dist/Debug/MinGW-Windows/programming_practice build/Debug/MinGW-Windows/main.o
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot open output file dist/Debug/MinGW-Windows/programming_practice.exe: Permission denied
collect2: ld returned 1 exit status
make[2]: *** [dist/Debug/MinGW-Windows/programming_practice.exe] Error 1
make[2]: Leaving directory `/c/Users/Ray/Documents/NetBeansProjects/Programming Practice'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/c/Users/Ray/Documents/NetBeansProjects/Programming Practice'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 865ms)
And Lastly Orwell Dev-c++:
Compiler: TDM-GCC 4.7.1 64-bit
Executing g++.exe...
g++.exe "C:\Users\Ray\Documents\CC++\Devc++\main.cpp" -o "C:\Users\Ray\Documents\CC++\Devc++\main.exe" -I"C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include" -L"C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib" -static-libgcc
c:/program files (x86)/dev-cpp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file C:\Users\Ray\Documents\CC++\Devc++\main.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
Execution terminated
One last thing, after a few minutes it allows me to run, strange. I think it might have something to do with it not saving instantly, what do you guys think?
Does anyone have a solution to this problem?
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05451 seconds