Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

system.h not reloading

Dear all

I have the problem the system.h is not reloading if in my nios II project even if I regenerate the bsp stuff. And it is a little bit more strange: New defines are not visible. Old definitions are still visible but if I chose "Open Declaration" Eclipse opens the correct system.h with the correct value (even with the new definitions) but I points to wrong location. So for me it looks like there is someting like precompiled version of system.h available but I did not find it.

I have only two projects in my workspace the bsp project and the other one created at the same time. I can delete the system.h and then it is not available anymore in both projects. But if I regenerate the bsp I still have the same problem. I also tried to clean up and rebuild both projects without difference.

I know about the existing topic:

http://www.alteraforum.com/forum/showthread.php?t=13057

This seems to be a very similar problem but not solved so I reask the question.

I use Quartus II 13.1.0

Did anyone else have such problems?

Best regards and thank you in advance.

Dominic

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I created a new workspace, copied files and appropriate makefile sections and it works now. But still something is wrong. If i add manually for example:

    #define test 0

    In my fill i can't see test macro ("selected text cannot be mapped to symbol name").

    How does it really work and if there is a workaround ?

    best, madness

    --- Quote End ---

    It's the indexer issue. One must simpl right click on the project go to Index -> Rebuild and Index -> Freshen all files.

    best,

    madness
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I have exactly the same issue ! It makes me go mad.

    I'm using quartus 12.1sp1 and I have tried I suppose everything exepct creating a new workspace and

    importing a project one more time.

    Does anyone have any ideas ?

    Best, madness
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I created a new workspace, copied files and appropriate makefile sections and it works now. But still something is wrong. If i add manually for example:

    #define test 0

    In my fill i can't see test macro ("selected text cannot be mapped to symbol name").

    How does it really work and if there is a workaround ?

    best, madness