-
Notifications
You must be signed in to change notification settings - Fork 7
Description
In file included from C:\Users\omar.hassan\Downloads\framework32-main\framework32\apps.h:5:0,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:21:
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h: In member function 'void BitcoinTracker::update(TFT_eSPI&)':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:89:60: error: no matching function for call to 'ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonVariant, const char*>::as()'
tft.print(rate.value()["rate"].as<char*>());
^
In file included from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7:0,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:24,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:12:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonVariant, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:89:60: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonVariant, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:89:60: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
In file included from C:\Users\omar.hassan\Downloads\framework32-main\framework32\apps.h:5:0,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:21:
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:91:62: error: no matching function for call to 'ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonVariant, const char*>::as()'
tft.println(rate.value()["code"].as<char*>());
^
In file included from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7:0,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:24,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:12:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonVariant, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:91:62: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonVariant, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:91:62: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
In file included from C:\Users\omar.hassan\Downloads\framework32-main\framework32\apps.h:5:0,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:21:
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:94:72: error: no matching function for call to 'ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>, const char*>::as()'
const char* updated = doc["time"]["updated"].as<char*>();
^
In file included from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7:0,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:24,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:12:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:94:72: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\BitcoinTracker.h:94:72: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino: In function 'void setup()':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:163:7: error: 'TFT_BL' was not declared in this scope
if (TFT_BL > 0) { // TFT_BL has been set in the TFT_eSPI library in the User Setup file TTGO_T_Display.h
^
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:187:88: error: no matching function for call to 'ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>::as()'
const char* tz = configDoc.containsKey("timezone") ? configDoc["timezone"].as<char*>() : "GMT0";
^
In file included from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7:0,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:24,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:12:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:187:88: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:187:88: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:188:91: error: no matching function for call to 'ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>::as()'
clockFormat = configDoc.containsKey("clockFormat") ? configDoc["clockFormat"].as<char*>() : "%H:%M";
^
In file included from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/ElementProxy.hpp:7:0,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Array/JsonArray.hpp:7,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:24,
from c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:12:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::is_same<T, char*>::value) && (! ArduinoJson6200_F1::is_same<T, char>::value)) && (! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value)), T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:188:91: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:53:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: candidate: template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonDocument&, const char*>]
as() const {
^
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: note: template argument deduction/substitution failed:
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp: In substitution of 'template typename ArduinoJson6200_F1::enable_if<ArduinoJson6200_F1::ConverterNeedsWriteableRef::value, T>::type ArduinoJson6200_F1::VariantRefBase::as() const [with T = char*]':
C:\Users\omar.hassan\Downloads\framework32-main\framework32\framework32.ino:188:91: required from here
c:\Users\omar.hassan\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRefBase.hpp:61:3: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, char*>'
Multiple libraries were found for "TFT_eSPI.h"
Used: C:\Users\omar.hassan\Documents\Arduino\libraries\TFT_eSPI
Not used: C:\Users\omar.hassan\Documents\Arduino\libraries\TFT_eSPI_ES32Lab
exit status 1
Compilation error: no matching function for call to 'ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonVariant, const char*>::as()'