Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile (DOIT ESP32 DEVKIT V1) #52

Open
Aaru911 opened this issue Feb 9, 2022 · 0 comments
Open

Unable to compile (DOIT ESP32 DEVKIT V1) #52

Aaru911 opened this issue Feb 9, 2022 · 0 comments

Comments

@Aaru911
Copy link

Aaru911 commented Feb 9, 2022

Invalid library found in /Users/aaru/Documents/Arduino/libraries/esp32-homekit-master: no headers files (.h) found in /Users/aaru/Documents/Arduino/libraries/esp32-homekit-master
In file included from /Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:10:
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:147:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
{.format=homekit_format_string, .string_value=(value), ##VA_ARGS}
^
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/characteristics.h:1088:14: note: in expansion of macro 'HOMEKIT_STRING_'
.value = HOMEKIT_STRING_(serial),
^~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:269:9: note: in expansion of macro 'HOMEKIT_DECLARE_CHARACTERISTIC_SERIAL_NUMBER'
HOMEKIT_DECLARE_CHARACTERISTIC_ ## name( VA_ARGS )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:32:42: note: in expansion of macro 'HOMEKIT_CHARACTERISTIC_'
homekit_characteristic_t serial_number = HOMEKIT_CHARACTERISTIC_(SERIAL_NUMBER, ACCESSORY_SN);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:147:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
{.format=homekit_format_string, .string_value=(value), ##VA_ARGS}
^
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/characteristics.h:974:14: note: in expansion of macro 'HOMEKIT_STRING_'
.value = HOMEKIT_STRING_(manufacturer),
^~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:262:9: note: in expansion of macro 'HOMEKIT_DECLARE_CHARACTERISTIC_MANUFACTURER'
HOMEKIT_DECLARE_CHARACTERISTIC_ ## name( VA_ARGS )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:252:63: note: in expansion of macro 'HOMEKIT_CHARACTERISTIC'
&(homekit_service_t) { .type=HOMEKIT_SERVICE_ ## type, ##VA_ARGS }
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:246:11: note: in expansion of macro 'HOMEKIT_SERVICE'
##VA_ARGS
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:74:5: note: in expansion of macro 'HOMEKIT_ACCESSORY'
HOMEKIT_ACCESSORY(
^~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:147:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
{.format=homekit_format_string, .string_value=(value), ##VA_ARGS}
^
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/characteristics.h:983:14: note: in expansion of macro 'HOMEKIT_STRING
'
.value = HOMEKIT_STRING_(model),
^~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:262:9: note: in expansion of macro 'HOMEKIT_DECLARE_CHARACTERISTIC_MODEL'
HOMEKIT_DECLARE_CHARACTERISTIC_ ## name( VA_ARGS )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:252:63: note: in expansion of macro 'HOMEKIT_CHARACTERISTIC'
&(homekit_service_t) { .type=HOMEKIT_SERVICE_ ## type, ##VA_ARGS }
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:246:11: note: in expansion of macro 'HOMEKIT_SERVICE'
##VA_ARGS
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:74:5: note: in expansion of macro 'HOMEKIT_ACCESSORY'
HOMEKIT_ACCESSORY(
^~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:147:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
{.format=homekit_format_string, .string_value=(value), ##VA_ARGS}
^
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/characteristics.h:836:14: note: in expansion of macro 'HOMEKIT_STRING
'
.value = HOMEKIT_STRING_(revision),
^~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:262:9: note: in expansion of macro 'HOMEKIT_DECLARE_CHARACTERISTIC_FIRMWARE_REVISION'
HOMEKIT_DECLARE_CHARACTERISTIC_ ## name( VA_ARGS )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:252:63: note: in expansion of macro 'HOMEKIT_CHARACTERISTIC'
&(homekit_service_t) { .type=HOMEKIT_SERVICE_ ## type, ##VA_ARGS }
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:246:11: note: in expansion of macro 'HOMEKIT_SERVICE'
##VA_ARGS
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:74:5: note: in expansion of macro 'HOMEKIT_ACCESSORY'
HOMEKIT_ACCESSORY(
^~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:147:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
{.format=homekit_format_string, .string_value=(value), ##VA_ARGS}
^
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/characteristics.h:1002:14: note: in expansion of macro 'HOMEKIT_STRING
'
.value = HOMEKIT_STRING_(name),
^~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:262:9: note: in expansion of macro 'HOMEKIT_DECLARE_CHARACTERISTIC_NAME'
HOMEKIT_DECLARE_CHARACTERISTIC_ ## name( VA_ARGS )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:252:63: note: in expansion of macro 'HOMEKIT_CHARACTERISTIC'
&(homekit_service_t) { .type=HOMEKIT_SERVICE_ ## _type, ##VA_ARGS }
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit/types.h:246:11: note: in expansion of macro 'HOMEKIT_SERVICE'
##VA_ARGS
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:74:5: note: in expansion of macro 'HOMEKIT_ACCESSORY'
HOMEKIT_ACCESSORY(
^~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:101:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.password = "111-11-111",
^~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/examples/ESP32_homekit_wolfssl_4_3_0/ESP32_homekit/builtin_led_accessory.c:103:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
.setupId = "ABCD"
^~~~~~
In file included from /Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/arduino_homekit_server_esp32.cpp:3:
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/arduino_homekit_server_esp32.cpp: In function 'void homekit_server_on_pair_verify(client_context_t*, const byte*, size_t)':
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit_debug.h:40:43: error: 'system_get_free_heap_size' was not declared in this scope
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/esp_xpgm.h:28:56: note: in definition of macro 'XPGM_PRINTF'
#define XPGM_PRINTF(fmt, ...) printf_P(PSTR(fmt) , ##VA_ARGS);
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit_debug.h:40:21: note: in expansion of macro 'INFO'
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/arduino_homekit_server_esp32.cpp:1774:2: note: in expansion of macro 'INFO_HEAP'
INFO_HEAP();
^~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit_debug.h:40:43: note: suggested alternative: 'esp_get_free_heap_size'
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/esp_xpgm.h:28:56: note: in definition of macro 'XPGM_PRINTF'
#define XPGM_PRINTF(fmt, ...) printf_P(PSTR(fmt) , ##VA_ARGS);
^~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/homekit_debug.h:40:21: note: in expansion of macro 'INFO'
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/arduino_homekit_server_esp32.cpp:1774:2: note: in expansion of macro 'INFO_HEAP'
INFO_HEAP();
^~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/arduino_homekit_server_esp32.cpp: In function 'void homekit_server_init(homekit_server_config_t*)':
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/arduino_homekit_server_esp32.cpp:3439:4: error: 'system_restart' was not declared in this scope
system_restart();
^~~~~~~~~~~~~~
/Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master/src/arduino_homekit_server_esp32.cpp:3439:4: note: suggested alternative: 'system_event_t'
system_restart();
^~~~~~~~~~~~~~
system_event_t
Multiple libraries were found for "WiFi.h"
Used: /Users/aaru/Library/Arduino15/packages/esp32/hardware/esp32/2.0.2/libraries/WiFi
Not used: /Users/aaru/Documents/Arduino/libraries/WiFiNINA
Not used: /Users/aaru/Documents/Projects/Home/Arduino.app/Contents/Java/libraries/WiFi
Multiple libraries were found for "arduino_homekit_server.h"
Used: /Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP32-master
Not used: /Users/aaru/Documents/Arduino/libraries/Arduino-HomeKit-ESP8266-master
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant