Include errors in Workbench - Adafruit_DHT_Particle


#1

I’m seeing a new include error in Workbench, this previously worked fine, I’m not sure what happened.

I’ve used the command pallet to install Adafruit_DHT_Particle, but while it can find that library, it’s not finding Particle.h.

The two errors are below. Can anyone point me toward the solution?

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/Users/jim/Particle/projects/TW2/src/TW2.ino).

cannot open source file “Particle.h” (dependency of “Adafruit_DHT_Particle.h”)


#2

Hmmm, my include errors went away when I disabled the error squiggles in Workbench.
Go figure.


#3

Because IntelliSense just squiggles what it can’t make sense of. That doesn’t mean that the compiler won’t be able to understand it.

IntelliSense “warnings” don’t always indicate that there it’s actually an error.