I've got Codelite v. 2.8.0.4537 (from Ubuntu repositories)
My OS is Xubuntu 11.10
I've tried to compile Hello world example and it fails
----------Build Started--------
/bin/sh -c '"make" -j 4 -f "Test.mk" ./Debug/main.o'
----------Building project:[ Test - Debug ] (Single File Build)----------
<built-in>:0:0: fatal error: opening dependency file ./Debug/main.o.d: No such file or directory
compilation terminated.
make: *** [Debug/main.o.d] Error 1
----------Build Ended----------
0 errors, 0 warnings
gnu gcc compilation fails
- Ludo
- CodeLite Curious
- Posts: 4
- Joined: Fri Dec 02, 2011 8:22 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- Ludo
- CodeLite Curious
- Posts: 4
- Joined: Fri Dec 02, 2011 8:22 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gnu gcc compilation fails
It's doing the same on Windows 7 SP1
Codelite v. 3.0.5041
----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe" -j 4 -f "Test.mk" ./Debug/main.o"
----------Building project:[ Test - Debug ] (Single File Build)----------
<built-in>:0: fatal error: opening dependency file ./Debug/main.o.d: No such file or directory
compilation terminated.
mingw32-make.exe: *** [Debug/main.o.d] Error 1
----------Build Ended----------
0 errors, 0 warnings
Codelite v. 3.0.5041
----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe" -j 4 -f "Test.mk" ./Debug/main.o"
----------Building project:[ Test - Debug ] (Single File Build)----------
<built-in>:0: fatal error: opening dependency file ./Debug/main.o.d: No such file or directory
compilation terminated.
mingw32-make.exe: *** [Debug/main.o.d] Error 1
----------Build Ended----------
0 errors, 0 warnings
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gnu gcc compilation fails
Do you have permission to the location of ./Debug?Ludo wrote: ./Debug/main.o.d:
What happen if you manually create the ./Debug directory?
Eran
Make sure you have read the HOW TO POST thread
- Ludo
- CodeLite Curious
- Posts: 4
- Joined: Fri Dec 02, 2011 8:22 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gnu gcc compilation fails
I've got permission to the location of ./Debug (tried to run Codelite as root too). When I create ./Debug manually it seems to work OK.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gnu gcc compilation fails
I see the problem.. you are trying to compile a single file and to build the project.
The compile single file is dependent on the layout setup properly.
You should (at least once) build the project, this is done by right click on the project and select 'Build' or hit 'F7'
Eran
The compile single file is dependent on the layout setup properly.
You should (at least once) build the project, this is done by right click on the project and select 'Build' or hit 'F7'
Eran
Make sure you have read the HOW TO POST thread
- Ludo
- CodeLite Curious
- Posts: 4
- Joined: Fri Dec 02, 2011 8:22 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gnu gcc compilation fails
Thank you very much