User forums > Using Code::Blocks

make: *** No rule to make target `Debug'. Stop.

(1/3) > >>

fh.bui:
Hello everyone. I am a bloody new user of code::blocks.

I have some problems compiling a gtk+-project (v.1.x.x) using code::blocks.

I got this error from the build-log:

-------------- Build: Debug in surfwithcodeblock ---------------

Using makefile: Makefile
make: *** No rule to make target `Debug'.  Stop.
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
While i was executing make and make install from the shell, i didnt get this error.

Can someone pls help me to solve this problem?






oBFusCATed:
Start reading here: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Then search the forum for "custom makefile"

fh.bui:
Hello and thank you very much for your fast answer.
But the problems do still remain after binding the custom makefile into the project.

The custom makefile was directly generated after the execution of the configure script.
I have also tried to modify the make command for building the project.

stahta01:
1. Rename the "Debug" target to match the makefile target or edit the makefile to have an "Debug" target
2. Search this site for other ways to do it.

Tim S.

jens:

--- Quote from: stahta01 on May 04, 2011, 03:28:34 pm ---1. Rename the "Debug" target to match the makefile target or edit the makefile to have an "Debug" target
2. Search this site for other ways to do it.

Tim S.

--- End quote ---

You have to fix "Project -> Build options -> Make commands" to fit your needs.

Navigation

[0] Message Index

[#] Next page

Go to full version