Eclipse CDT: no rule to make target all

前端 未结 11 1187
野性不改
野性不改 2020-12-08 00:22

My Eclipse CDT keeps complaining \"make: *** no rule to make target all\" when I am trying to compile the piece of code below:

#include 
us         


        
11条回答
  •  醉话见心
    2020-12-08 01:06

    "all" is a default setting, even though Behaviour->Build (Incremental build) tab has no variable. I solved as

    1. Go to Project Properties > C/C++ Build > Behaviour Tab.
    2. Leave Build (Incremental Build) Checked.
    3. Enter "test" in the text box next to Build (Incremental Build).
    4. Build Project. You will see error message.
    5. Go back to Build (Incremental Build) and delete "test".
    6. Build Project.

提交回复
热议问题