Building Project Doesn't Work

CodeLite installation/troubleshooting forum
Buggsy.Burns
CodeLite Curious
Posts: 3
Joined: Sat Jan 10, 2015 11:47 pm
Genuine User: Yes
IDE Question: C++
Contact:

Building Project Doesn't Work

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building Project Doesn't Work

Post 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
Make sure you have read the HOW TO POST thread
Buggsy.Burns
CodeLite Curious
Posts: 3
Joined: Sat Jan 10, 2015 11:47 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building Project Doesn't Work

Post by Buggsy.Burns »

Done and done but still no success..
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building Project Doesn't Work

Post by eranif »

What happens when you try to run the build command from a cmd window?

Also, where is the build log?
Make sure you have read the HOW TO POST thread
Buggsy.Burns
CodeLite Curious
Posts: 3
Joined: Sat Jan 10, 2015 11:47 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building Project Doesn't Work

Post 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
Post Reply