i have downloaded wayland/max6675-thermocouple-amplifier@0.0.1.
When i compile i get cant find max6675.h.
I cant find where this is supposed to be and or how to fix it.
Any help appreciated
i have downloaded wayland/max6675-thermocouple-amplifier@0.0.1.
When i compile i get cant find max6675.h.
I cant find where this is supposed to be and or how to fix it.
Any help appreciated
Looks like XOD should be finding it on it’s own…top of C++ code:
// Tell XOD where it could download the library:
#pragma XOD require “``https://github.com/adafruit/MAX6675-library”
That repo does still exist…
Thanks for the reply, i have already done this but no joy, if i use this link i can see the .h file and a .ccp but the compiler still reports not found.
Generating C++ code for simulation…
Building…
/ws/sketchbook/8aa1cf5226142c3bdfabe9dd6b066725b6af84e0e55bf078b8307892f2e514dc/sketch/sketch.ino:1138:1: error: expected unqualified-id
{{#global}}
^
/ws/sketchbook/8aa1cf5226142c3bdfabe9dd6b066725b6af84e0e55bf078b8307892f2e514dc/sketch/sketch.ino:1139:10: fatal error: ‘max6675.h’ file not found
#include <max6675.h>
^~~~~~~~~~~
2 errors generated.
shared:ERROR: ‘/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/bin/clang++ -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=1 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/include/libcxx -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/lib/libcxxabi/include -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/include/compat -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/include -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/include/libc -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/lib/libc/musl/arch/emscripten -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/local/include -DLLVM_ROOT=/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/bin -DARDUINO_WASM_SIMULATION -DARDUINO_ARCH_WASM -O2 -std=c++11 -nostdlib -fno-exceptions -fno-rtti -c -I/tmp/arduino-sketch-073A33B2F9B1DA505B58C97C03A837E1/sketch -I/ws/arduino_data/packages/xod/hardware/wasm/0.3.2/cores/simulation -I/ws/arduino_data/packages/xod/hardware/wasm/0.3.2/variants/simulation -DEMSCRIPTEN /tmp/arduino-sketch-073A33B2F9B1DA505B58C97C03A837E1/sketch/sketch.ino.cpp -Xclang -isystem/ws/arduino_data/packages/xod/tools/emscripten/1.39.2/emscripten/system/include/SDL -c -o /dev/null -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr’ failed (1)
Error during build: exit status 1
The generated C++ code contains errors. It can be due to a bad node implementation
or if your board is not compatible with XOD runtime code. The original compiler error
message is above. Fix C++ errors to continue. If you believe it is a bug, report the
problem to XOD developers.