Cant get compiler to work

CodeLite installation/troubleshooting forum
jay94
CodeLite Curious
Posts: 1
Joined: Mon Nov 16, 2015 5:48 pm
Genuine User: Yes
IDE Question: C++
Contact:

Cant get compiler to work

Post by jay94 »

Hello,
I'm a novice seeking help.
I recently installed Codelite, and the compiler, the 1st time i run the code it opens the Command screen but its blank, if i try open it again i get this error:
C:\Windows\system32\cmd.exe /C C:/MinGW/gcc/bin/make.exe -j4 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ new - Debug ]----------"
make.exe[1]: Entering directory 'C:/Users/Jay/Documents/new/new'
C:/MinGW/gcc/bin/g++.exe -o ./Debug/new @"new.txt" -L.
c:/mingw/gcc/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file ./Debug/new.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
make.exe[1]: *** [Debug/new] Error 1
make.exe: *** [All] Error 2
new.mk:78: recipe for target 'Debug/new' failed
make.exe[1]: Leaving directory 'C:/Users/Jay/Documents/new/new'
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====
When i restart my machine the code runs but i get no output of "Hello World" on screen.

Your help would be appreciated - Im doing a course on Udemy, and this was the recommended editor. Please forgive me if i sound daft. this is all new to me. thanks.