Error - "The current directory is invalid."

General questions regarding the usage of CodeLite
gyuri
CodeLite Curious
Posts: 2
Joined: Sun Jun 03, 2012 2:30 am
Genuine User: Yes
IDE Question: C++
Contact:

Error - "The current directory is invalid."

Post by gyuri »

Whenever I compile the simple "Hello World" program, i get the following error:

----------Build Started--------
C:\windows\system32\cmd.exe /c ""make" -j 2 -f "test_proj.mk" ./Debug/main.o"
----------Building project:[ test_proj - Debug ] (Single File Build)----------
The current directory is invalid.
----------Build Ended----------

I have already created a workspace and project. I'm just compiling the default main.cpp that is created for the project - simple executable (g++). Some information that might be relevant:

Windows 7, 64-bit
Codelite v3.5.5377
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error - "The current directory is invalid."

Post by eranif »

Did you install MinGW or are you using Cygwin?
I notice that your command line is using "make" and not mingw32-make

Did you try and install codelite with MinGW?

If you want *are* using cygwin and want to try MinGW, try this installer:
http://sourceforge.net/projects/codelit ... e/download

Eran
Make sure you have read the HOW TO POST thread
gyuri
CodeLite Curious
Posts: 2
Joined: Sun Jun 03, 2012 2:30 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Error - "The current directory is invalid."

Post by gyuri »

I'm using GNU Make 3.81, according to make -v.

I was able to get around this problem by saving my workspace and project to a folder created in the C:\ instead of the default location. Thanks.
Post Reply