Eclipse CDT: no rule to make target all

前端 未结 11 1159
野性不改
野性不改 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:12

    You need to change your project settings so that Eclipse-CDT manages your Makefiles for you.

    1. Select Project->Properties from the menu bar.
    2. Click C/C++ Build on the left in the dialog that comes up.
    3. Under the Builder Settings tab on the right, select "Generate Makefiles automatically" under the Makefile generation section.
    4. Hit OK and build again.

提交回复
热议问题