Do a re-build NOT a build and past the build log from that.
Also, do it in a legal to use folder NOT the desktop!
Tim S.
To get a better view here is what I will do.
Using the same code I made a new testtwo.cpp
First build log (from a fresh new file):
mingw32-g++.exe -c "C:\Users\Owner\Desktop\CSC code\testtwo.cpp" -o "C:\Users\Owner\Desktop\CSC code\testtwo.o"
mingw32-g++.exe -o "C:\Users\Owner\Desktop\CSC code\testtwo.exe" "C:\Users\Owner\Desktop\CSC code\testtwo.o"
Process terminated with status 0 (0 minutes, 9 seconds)
0 errors, 0 warnings
Ran program:
Didnt let me....said it had not been bulit yet do you want to build now?
Clicked yes
Build log from there:
mingw32-g++.exe -c "C:\Users\Owner\Desktop\CSC code\testtwo.cpp" -o "C:\Users\Owner\Desktop\CSC code\testtwo.o"
mingw32-g++.exe -o "C:\Users\Owner\Desktop\CSC code\testtwo.exe" "C:\Users\Owner\Desktop\CSC code\testtwo.o"
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot open output file C:\Users\Owner\Desktop\CSC code\testtwo.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
And here is my code as before:
#include <iostream>
using namespace std;
int main()
{
cout<<"hello"<<endl;
return 0;
}
EDIT: Missed your last minute edit there....what do you mean legal folder? I have a CSC folder that is on my desktop that I store my code in...what do you mean by legal folder?