Page 1 of 1

incorrect configuration type consodered

Posted: Sun Sep 14, 2008 10:45 am
by hbr_in
OS: XP sp3
Cygwin installed
CL SVN Build Version 2128

1. created new workspace
2. created new project -> executable, gcc
3. did not change any other setting. used all default CL Settings.
4. single file compile -> right click on file, select compile. error as below

Code: Select all

Building: 
"C:/cygwin/bin/make.EXE"  -j 1 -f "test_build.mk" type=Debug ./Debug/main.o
----------Building project:[ test_build -  ] (Single File Build)----------
C:/users/hebbar/project/Tests/codelite/codelite_wrkspc/test_build/main.cpp:0: fatal error: opening dependency file ./Debug/main.o.d: No such file or directory
compilation terminated.
make: *** [Debug/main.o.d] Error 1
1 errors, 0 warnings, total time: 00:00:00 seconds
----------Build Ended----------

5. tried changing project settings -> type to release. & compile. same error

Code: Select all

Building: 
"C:/cygwin/bin/make.EXE"  -j 1 -f "test_build.mk" type=Debug ./Debug/main.o
----------Building project:[ test_build -  ] (Single File Build)----------
C:/users/hebbar/project/Tests/codelite/codelite_wrkspc/test_build/main.cpp:0: fatal error: opening dependency file ./Debug/main.o.d: No such file or directory
compilation terminated.
make: *** [Debug/main.o.d] Error 1
1 errors, 0 warnings, total time: 00:00:00 seconds
----------Build Ended----------
6. changed workspace configuration type to release. then tried single file compile. same error

Code: Select all

Building: 
"C:/cygwin/bin/make.EXE"  -j 1 -f "test_build.mk" type=Release ./Release/main.o
----------Building project:[ test_build -  ] (Single File Build)----------
C:/users/hebbar/project/Tests/codelite/codelite_wrkspc/test_build/main.cpp:0: fatal error: opening dependency file ./Release/main.o.d: No such file or directory
compilation terminated.
make: *** [Release/main.o.d] Error 1
1 errors, 0 warnings, total time: 00:00:00 seconds
----------Build Ended----------
7. solution : create intermediate directory manually. Another proof that makefile->makeDirStep is not running before running compiler command.

8. changes made to workspace configuration settings are not reflected in project settings dialog. need to close project settings window & reopen to see changed settings.

whats happening. i dont know.
hope u will have a working solution soon.

Regards
(slowly-getting-iritated-fan-of-CL)
Gururaja