Menu

#65 STM32Fx project templates

Version 1.x
closed-fixed
None
5
2015-04-17
2014-07-13
No

Hello,

I wanted to test this plugin.
On the main function I got compile errors on the lines :

timer.sleep(BLINK_ON_TICKS);

Invalid argments '
Candidates are:
void sleep(?)
' main.cpp /Test_01/src line 92 Semantic Error


Eclipse: Luna Release (4.4.0)
Eclipse GCC Cross Compiler Support Version: 8.4.0.201406111759
STM32F4xx C/C++ Project


Can you help me?

Regards

Discussion

  • Liviu Ionescu (ilg)

    • status: open --> accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    be sure you configure the indexer properly and all these errors will go away.

    for reference check the Workspace Preferences.

     
  • Liviu Ionescu (ilg)

    did you fix this?

     
  • Hervé PIPON

    Hervé PIPON - 2014-07-20

    Hello,
    Sorry for not responding sooner but I was quite busy with my work.
    I changee the properties of the workspace's indexer by copying a screen copy of a website.
    Now I have no more error.
    I do not really know what I've done but it works;) I reelly have to find some more explicit documentation on eclipse...
    Now I had to try the debugger.

    Thank you very much for your quick help

     
  • Liviu Ionescu (ilg)

    • status: accepted --> closed-fixed
     
  • collin

    collin - 2015-03-26

    re: timer.sleep(BLINK_ON_TICKS);

    Invalid argments '
    Candidates are:
    void sleep(?)
    ' main.cpp /Test_01/src line 92 Semantic Error
    

    I also have this issue with eclipse kepler SR2
    Can you please elaborate details on how to setup the indexer and workspace preferences to fix this issue?
    thanks

     
  • Liviu Ionescu (ilg)

    the workspace preferences and the indexer are described in the manual pages.

    you might need to do a manual Index build to update it.

     
  • damourti

    damourti - 2015-03-26

    Hi Liviu,
    I updated and checked the workplace preferences and the indexer with the same issue too. My issue is :
    Multiple markers at this line
    - Invalid arguments ' Candidates are: void sleep(?) '
    - Debug Current Instruction Pointer

    Some ideas could be here, not sure though: http://stackoverflow.com/questions/14835869/eclipse-signals-an-error-but-the-code-compiles

    Thanks in advance.

     
    • Liviu Ionescu (ilg)

      a manual Index build usually fixes this.

       
  • Lukas Simma

    Lukas Simma - 2015-04-17

    Had same problem, when i unckeck "Allow heuristic resolution of includes" in Projekt Project -> C/C++ Gerneral -> Indexer,
    then Clean Projekt and Build Project the problem is away.