Error in Rebuilt project but not in Rebuild workspa

General questions regarding the usage of CodeLite
rossi.michele
CodeLite Curious
Posts: 1
Joined: Sat Oct 05, 2013 5:41 pm
Genuine User: Yes
IDE Question: C++
Contact:

Error in Rebuilt project but not in Rebuild workspa

Post by rossi.michele »

I've a new project (console, gcc) very simple, that i use as a demostration for my students. If i try to rebuild project (Rebuild project command), the activity doesn't complete, and the only message is:
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f Makefile"
If i try to rebuild the entire workspace (Rebuild workspace command), the activity completes correctly with this command line:
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f "eser1.mk" all"

Why this difference? I don't make any customization of the compile/build setting. Thanks
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error in Rebuilt project but not in Rebuild workspa

Post by eranif »

Hello,

What happens if you do this:

Open any file from your project in codelite
Right click on the file title (the little tab at the top) and select 'Open shell at file path'
In the CMD window that opens, run the exact command as codelite (make sure you are at the workspace directory):

Code: Select all

C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f Makefile"
Eran
Make sure you have read the HOW TO POST thread
Post Reply