Page 1 of 1

Error - "The current directory is invalid."

Posted: Sun Jun 03, 2012 2:37 am
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

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

Posted: Sun Jun 03, 2012 9:27 am
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

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

Posted: Sun Jun 03, 2012 7:48 pm
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.