MPLabX2.0 tons of errors, but still compiles and runs

roujesky wrote on Thursday, February 20, 2014:

New to MPLabX, but use FreeRTOS alot… Sounds like a MPLabX problem, but I think folks here could shed light on my problem easier than Microchip :slight_smile:
I get a lot of errors/warnings
“Cannot find include file FreeRTOS.h”
“Cannot find include file task.h”

yet compiles and runs just fine. Can someone shed light on this annoyance?

thanks so much!

rtel wrote on Thursday, February 20, 2014:

Well if it compiles it must be able to find them when it needs to, so I’m afraid I have no idea as it is not something I have seen myself.

When do the errors show up? When you open the project, or when you build the project. If when you build the project then are they all shown before the compiler starts compiling or while it is compiling?

I have seen similar things with other systems where a dependency scanner which is either part of the compiler passes (unlikely in this case as it is GCC) or part of the editor (as it tries to find references to words it finds in the C files) goes a bit weird, but it does not effect the compiler itself.


roujesky wrote on Thursday, February 20, 2014:

the errors/warnings show up in the IDE as red circle with an exclamation mark in the middle. I attached a screenshot of the IDE.


edwards3 wrote on Thursday, February 20, 2014:

If this is anything like Eclipse then the IDE is trying to parse the code in a dumb way and coming up with phoney errors. In Eclipse it can be turned off, don’t know about MPLAB though.

roujesky wrote on Monday, February 24, 2014:

Does anyone know how to make MPLabX not so sensitive to these warnings/errors?


rtel wrote on Tuesday, February 25, 2014:

You are more likely to get an answer to that on a Microchip forum.