Build Error on Windows when adding existing source code
Posted: Wed Mar 23, 2011 6:30 am
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
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