Page 1 of 1

Building Project Doesn't Work

Posted: Sun Jan 11, 2015 12:00 am
by Buggsy.Burns
I have recently downloaded 7.0 beta for code lite. I know this isn't to do with the versions as I have already gone through and tried the 6.1.1 version. I'm using a windows 8 computer and made sure to select the windows option for both of these. When I try and build it comes up with this

C:\Windows\system32\cmd.exe /C "C:/MinGW-4.8.1/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile"
The current directory is invalid.
0 errors, 0 warnings

I have been using the g++ template under the console section and even with the default commands don't work.I would really appreciate if someone could explain to me where I've gone wrong as I really want to continue with C++ and I like the look of this program.
Thankyou

Re: Building Project Doesn't Work

Posted: Sun Jan 11, 2015 12:06 am
by eranif
This question was asked before, and the answer was different for different user. The one I remember is this:
The extra double qoutes that codelite adds to the command breaks the build on some machines. this is now configurable:

Try this: settings->global editor preferences ->terminal->windows only: command executed by CMD....

uncheck the above option
see if it helps.

Another thing to try:
Create the project in a folder with a write permissions (e.g. C:\Users\YOU\Desktop)

And finally (and more important):
Make sure you read the HOW TO POST thread and post all relevant information including the full build log
See my signature for link to that post

Eran

Re: Building Project Doesn't Work

Posted: Sun Jan 11, 2015 12:14 am
by Buggsy.Burns
Done and done but still no success..

Re: Building Project Doesn't Work

Posted: Sun Jan 11, 2015 12:19 am
by eranif
What happens when you try to run the build command from a cmd window?

Also, where is the build log?

Re: Building Project Doesn't Work

Posted: Sun Jan 11, 2015 12:22 am
by Buggsy.Burns
When I try and run it by a cmd window it just comes up with the normal press any key to continue.

I'm also assuming the build log is the build output if it is it just comes up with

C:\Windows\system32\cmd.exe /C C:/MinGW-4.8.1/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
The current directory is invalid.
0 errors, 0 warnings