Page 1 of 1

Build Error on Windows when adding existing source code

Posted: Wed Mar 23, 2011 6:30 am
by reiy
Hi,

Platform used is Windows XP; Codelite v2.9.0.4684

When I add an existing source code file from another drive (say drive E:) to a project (say drive C:), there will be build errors as shown in the following:

----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 4 -f "test.mk" all"
----------Building project:[ test - Debug ]----------
mingw32-make.exe: *** No rule to make target `/misc/main.cpp', needed by `Debug/misc_main.o'. Stop.
mingw32-make.exe: *** Waiting for unfinished jobs....
----------Build Ended----------
0 errors, 0 warnings

I think the path for the file "main.cpp" should be "E:/misc/main.cpp". It seems like the makefile rules are not correctly identifying the path of the added existing source code file. Am I correct?

reiy

Re: Build Error on Windows when adding existing source code

Posted: Wed Mar 23, 2011 2:20 pm
by DavidGH
Hi,

I'm afraid it's a CodeLite anti-feature. See e.g. this thread

Regards,

David

Re: Build Error on Windows when adding existing source code

Posted: Wed Mar 23, 2011 2:33 pm
by reiy
That's quite a pity... but thanks for the info anyway!

Hope that one day source codes can exist in different partition... ;)

Rgds,
reiy