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

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 🙂 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!

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

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. Regards.

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

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. thanks!!!

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

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.

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

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

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

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