Open Enomis82 opened 2 years ago
Make sure the project file is in the folder
On Sat, Jan 29, 2022, 8:03 PM Colombo Simone @.***> wrote:
during compiling i'm getting this error
C:\Users\enomi\Downloads\NodeMCUtoAzureIoTCentral-main\NodeMCUtoAzureIoTCentral-main\ESP8266\ESP8266\ESP8266\src\iotc\arduino\iotc.cpp: In function 'int _getOperationId(IOTContextInternal, const char, const char, const char, const char, char, char)': C:\Users\enomi\Downloads\NodeMCUtoAzureIoTCentral-main\NodeMCUtoAzureIoTCentral-main\ESP8266\ESP8266\ESP8266\src\iotc\arduino\iotc.cpp:84:10: error: 'class BearSSL::WiFiClientSecure' has no member named 'setCACert' 84 | client.setCACert((const uint8_t)SSL_CA_PEM_DEF, | ^
~~~~ C:\Users\enomi\Downloads\NodeMCUtoAzureIoTCentral-main\NodeMCUtoAzureIoTCentral-main\ESP8266\ESP8266\ESP8266\src\iotc\arduino\iotc.cpp: In function 'int iotc_connect(IOTContext, const char, const char, const char, IOTConnectType)': C:\Users\enomi\Downloads\NodeMCUtoAzureIoTCentral-main\NodeMCUtoAzureIoTCentral-main\ESP8266\ESP8266\ESP8266\src\iotc\arduino\iotc.cpp:301:24: error: 'class BearSSL::WiFiClientSecure' has no member named 'setCACert' 301 | internal->tlsClient->setCACert((const uint8_t)SSL_CA_PEM_DEF, | ^~~~~ exit status 1Error compiling for board NodeMCU 0.9 (ESP-12 Module).
— Reply to this email directly, view it on GitHub https://github.com/adesolasamuel/NodeMCUtoAzureIoTCentral/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANHEGDHHPQD5CLGBAQQDXW3UYQ2WZANCNFSM5NDG3WXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
I also encountered this issue. I was trying to compile for Adafruit Feather HUZZAH, using the Arduino core here: https://github.com/esp8266/Arduino
I had to explicitly downgrade the ESP8266 boards to version 2.7.4
I also encountered this issue.
during compiling i'm getting this error
Error compiling for board NodeMCU 0.9 (ESP-12 Module).