I’m just trying to include the dallas temperature library but it keep throwing an error about not being able to find the onewire library. This is very strange to me because the error is coming from the library itself, which I can’t edit.
In file included from /src/funguy_monitor.cpp:8:0:
lib/spark-dallas-temperature/src/spark-dallas-temperature.h:27:36: fatal error: ../OneWire/OneWire.h: No such file or directory
#include "../OneWire/OneWire.h"
Do you build the firmware locally?
it seems that the library you use (wich one?) looks for the h-file in directory OneWire, so try placing the library in a directory called OneWire.
What’s the reason to use Spark-Dallas-Temperature instead of DS18B20?
The latter is maintained more regularly and has been properly ported to the Libraries 2.0 structure.
If you are using this with the Particle IDEs, the OneWire lib will be imported automatically as dependency.