You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The following lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/../components/)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(cpp_pthread)
idf.py build
faild with these message:
In file included from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerParam.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerDevice.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerNode.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerNode.cpp:1:
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerType.h:4:10: fatal error: esp_rmaker_core.h: No such file or directory
#include <esp_rmaker_core.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [esp-idf/arduino/CMakeFiles/__idf_arduino.dir/build.make:778: esp-idf/arduino/CMakeFiles/__idf_arduino.dir/libraries/RainMaker/src/RMakerNode.cpp.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerType.cpp:1:
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerType.h:4:10: fatal error: esp_rmaker_core.h: No such file or directory
#include <esp_rmaker_core.h>
^~~~~~~~~~~~~~~~~~~
In file included from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerParam.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerDevice.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerDevice.cpp:1:
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerType.h:4:10: fatal error: esp_rmaker_core.h: No such file or directory
#include <esp_rmaker_core.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
make[2]: *** [esp-idf/arduino/CMakeFiles/__idf_arduino.dir/build.make:817: esp-idf/arduino/CMakeFiles/__idf_arduino.dir/libraries/RainMaker/src/RMakerType.cpp.obj] Error 1
make[2]: *** [esp-idf/arduino/CMakeFiles/__idf_arduino.dir/build.make:804: esp-idf/arduino/CMakeFiles/__idf_arduino.dir/libraries/RainMaker/src/RMakerDevice.cpp.obj] Error 1
In file included from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerParam.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerParam.cpp:1:
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerType.h:4:10: fatal error: esp_rmaker_core.h: No such file or directory
#include <esp_rmaker_core.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [esp-idf/arduino/CMakeFiles/__idf_arduino.dir/build.make:791: esp-idf/arduino/CMakeFiles/__idf_arduino.dir/libraries/RainMaker/src/RMakerParam.cpp.obj] Error 1
In file included from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerParam.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerDevice.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerNode.h:4,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMaker.h:5,
from /mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMaker.cpp:1:
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/RainMaker/src/RMakerType.h:4:10: fatal error: esp_rmaker_core.h: No such file or directory
#include <esp_rmaker_core.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [esp-idf/arduino/CMakeFiles/__idf_arduino.dir/build.make:765: esp-idf/arduino/CMakeFiles/__idf_arduino.dir/libraries/RainMaker/src/RMaker.cpp.obj] Error 1
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp: In function 'void _arduino_event_cb(void*, esp_event_base_t, int32_t, void*)':
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:279:41: warning: unused variable 'event' [-Wunused-variable]
wifi_event_sta_authmode_change_t * event = (wifi_event_sta_authmode_change_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:284:35: warning: unused variable 'event' [-Wunused-variable]
wifi_event_sta_connected_t * event = (wifi_event_sta_connected_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:289:38: warning: unused variable 'event' [-Wunused-variable]
wifi_event_sta_disconnected_t * event = (wifi_event_sta_disconnected_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:294:28: warning: unused variable 'event' [-Wunused-variable]
ip_event_got_ip_t* event = (ip_event_got_ip_t*) event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:306:35: warning: unused variable 'event' [-Wunused-variable]
wifi_event_sta_scan_done_t * event = (wifi_event_sta_scan_done_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:321:34: warning: unused variable 'event' [-Wunused-variable]
wifi_event_ap_probe_req_rx_t * event = (wifi_event_ap_probe_req_rx_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:326:33: warning: unused variable 'event' [-Wunused-variable]
wifi_event_ap_staconnected_t* event = (wifi_event_ap_staconnected_t*) event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:331:36: warning: unused variable 'event' [-Wunused-variable]
wifi_event_ap_stadisconnected_t* event = (wifi_event_ap_stadisconnected_t*) event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:336:36: warning: unused variable 'event' [-Wunused-variable]
ip_event_ap_staipassigned_t * event = (ip_event_ap_staipassigned_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:346:23: warning: unused variable 'eth_handle' [-Wunused-variable]
esp_eth_handle_t eth_handle = *(esp_eth_handle_t *)event_data;
^~~~~~~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:359:28: warning: unused variable 'event' [-Wunused-variable]
ip_event_got_ip_t* event = (ip_event_got_ip_t*) event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:386:41: warning: unused variable 'event' [-Wunused-variable]
wifi_event_sta_wps_fail_reason_t * event = (wifi_event_sta_wps_fail_reason_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:392:36: warning: unused variable 'event' [-Wunused-variable]
wifi_event_sta_wps_er_pin_t * event = (wifi_event_sta_wps_er_pin_t*)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:409:44: warning: unused variable 'event' [-Wunused-variable]
smartconfig_event_got_ssid_pswd_t *event = (smartconfig_event_got_ssid_pswd_t *)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:435:28: warning: unused variable 'event' [-Wunused-variable]
wifi_sta_config_t *event = (wifi_sta_config_t *)event_data;
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp: At global scope:
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiGeneric.cpp:188:21: warning: 'const char* auth_mode_str(int)' defined but not used [-Wunused-function]
static const char * auth_mode_str(int authmode)
^~~~~~~~~~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFi/src/WiFiScan.cpp:45:21: warning: 'const char* cipher_str(int)' defined but not used [-Wunused-function]
static const char * cipher_str(int cipher)
^~~~~~~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFiClientSecure/src/ssl_client.cpp:23:4: error: #error "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher"
# error "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher"
^~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFiClientSecure/src/ssl_client.cpp
In function 'int start_ssl_client(sslclient_context*, const char*, uint32_t, int, const char*, const char*, const char*, const char*, const char*, bool)':
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFiClientSecure/src/ssl_client.cpp:164:15: error: 'mbedtls_ssl_conf_psk' was not declared in this scope
ret = mbedtls_ssl_conf_psk(&ssl_client->ssl_conf, psk, psk_len,
^~~~~~~~~~~~~~~~~~~~
/mnt/d/Develop/espressif/Project/pdm_mic_WiFiUDPClient/components/arduino/libraries/WiFiClientSecure/src/ssl_client.cpp:164:15: note: suggested alternative: 'mbedtls_ssl_conf_sni'
ret = mbedtls_ssl_conf_psk(&ssl_client->ssl_conf, psk, psk_len,
^~~~~~~~~~~~~~~~~~~~
mbedtls_ssl_conf_sni
make[2]: *** [esp-idf/arduino/CMakeFiles/__idf_arduino.dir/build.make:999: esp-idf/arduino/CMakeFiles/__idf_arduino.dir/libraries/WiFiClientSecure/src/ssl_client.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:5095: esp-idf/arduino/CMakeFiles/__idf_arduino.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
make failed with exit code 2
The text was updated successfully, but these errors were encountered:
Step 1:
Step 2:
Step 3: select an example "esp-idf/examples/cxx/pthread$"
Step 4: modify project file "CMakeLists.txt", add components directory
idf.py build
faild with these message:
The text was updated successfully, but these errors were encountered: