Skip to main content
gilad2
Associate II
March 31, 2015
Solved

SPC5 test application - No rule to make target 'all'

  • March 31, 2015
  • 6 replies
  • 1765 views
Posted on March 31, 2015 at 14:41

Hi there,

I have SPC5 studio installed and I updated all the components available (so my core and app wizard are 3.4.3). 

I am trying to run OS-less CAN test application from the wizard, having chosen the EVB I have (the SPC560BADAPT144S), and it won't compile out of the box.

I get make: *** No rule to make target `all'. 

The standard thing to do in this case would be to have eclipse generate the Makefile it needs, but the option ''generate makefiles automatically'' is grayed out in the builder setting tab of C/C++ Build in the project properties.

Any advice would be appreciated.
    This topic has been closed for replies.
    Best answer by Erwan YVIN
    Posted on April 30, 2015 at 10:11

    Hello Gilad ,

    for your information ,

    The next release SPC5Studio 3.5 will integrate Windows 8.1 patch

              Best Regards

                      Erwan

    6 replies

    Erwan YVIN
    ST Employee
    March 31, 2015
    Posted on March 31, 2015 at 15:02

    Hello gilad ,

    First , you have to generate your application :

    The Makefile is automatically generated by SPC5Studio in clicking on the button ''Quick Generate'' (Activity Wizard) or In SPC5Studio Application (Button Generation)

    (Cf Screenshot)

    After you can build your application.

    No need to set the CDT (eclipse environment).

    Best regards

    Erwan

    ________________

    Attachments :

    2015-03-31_145830.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Us&d=%2Fa%2F0X0000000bZf%2FUmYnIJsPswyag6YecoaFy4PmDPY_P1.sP7XxkPiY788&asPdf=false
    gilad2
    gilad2Author
    Associate II
    March 31, 2015
    Posted on March 31, 2015 at 15:29

    Thanks Erwan, I did miss that step somehow.

    After generation however, the build still fails kind of strangely. I get in the console 

    ./components/spc560b_cxx_platform_component/lib/src/boot.s:26:0: fatal error: opening dependency file .dep/boot.o.d: No such file or directory

    (if I enable parallel compiling then I get this for a bunch of other files too), and looking at the boot.s file the compiler marks line 26 (right after the include boot.h) with ''fatal error: opening dependency file .dep/boot.o.d: No such file or directory''

    Am I missing another trivial step somewhere?

    Erwan YVIN
    ST Employee
    March 31, 2015
    Posted on March 31, 2015 at 15:38

    Hello Gilad ,

    Could you remove the components and build directory directory and try again ?

    Generation and compilation.

    the components directory are automatically generated.

                    Best regards

                                   Erwan

    gilad2
    gilad2Author
    Associate II
    March 31, 2015
    Posted on March 31, 2015 at 16:00

    I got the same result.

    I do see that boot.s was generated, but there is no .dep directory in it if there should be one (also not as hidden).

    gilad2
    gilad2Author
    Associate II
    April 2, 2015
    Posted on April 02, 2015 at 17:18

    Hi, 

    I was able to pin down the issue - I am running on windows 8.1.

    When I install and run on windows 7 everything works fine.

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    April 30, 2015
    Posted on April 30, 2015 at 10:11

    Hello Gilad ,

    for your information ,

    The next release SPC5Studio 3.5 will integrate Windows 8.1 patch

              Best Regards

                      Erwan