Delete the previous post and rewrite it in detail.
I already complete build example project and now try to build other peoples project.
but when I type 'make all' there is an ERROR as you see below.
What is the problem and how do I solve it?
[Codebox] Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from D:/msys32/home/firmware/new/esp-idf/requirements.txt are satisfied.
Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
App "COSMO_ESP32" version: 1
CC build/main/bt_app_av.o
In file included from D:/msys32/home/cosmo/main/bt_app_av.c:17:0:
D:/msys32/home/cosmo/main/bt_app_av.h:38:22: error: unknown type name 'esp_avrc_tg_cb_event_t'
void bt_app_rc_tg_cb(esp_avrc_tg_cb_event_t event, esp_avrc_tg_cb_param_t *param);
^
D:/msys32/home/cosmo/main/bt_app_av.h:38:52: error: unknown type name 'esp_avrc_tg_cb_param_t'
void bt_app_rc_tg_cb(esp_avrc_tg_cb_event_t event, esp_avrc_tg_cb_param_t *param);
^
D:/msys32/home/cosmo/main/bt_app_av.c:48:8: error: unknown type name 'esp_avrc_rn_evt_cap_mask_t'
static esp_avrc_rn_evt_cap_mask_t s_avrc_peer_rn_cap;
^
D:/msys32/home/cosmo/main/bt_app_av.c: In function 'bt_app_rc_ct_cb':
D:/msys32/home/cosmo/main/bt_app_av.c:98:10: error: 'ESP_AVRC_CT_GET_RN_CAPABILITIES_RSP_EVT' undeclared (first use in this function)
case ESP_AVRC_CT_GET_RN_CAPABILITIES_RSP_EVT: {
^
D:/msys32/home/cosmo/main/bt_app_av.c:98:10: note: each undeclared identifier is reported only once for each function it appears in
D:/msys32/home/cosmo/main/bt_app_av.c: At top level:
D:/msys32/home/cosmo/main/bt_app_av.c:108:22: error: unknown type name 'esp_avrc_tg_cb_event_t'[/Codebox]
unknown type name ERROR
-
- Posts: 9723
- Joined: Thu Nov 26, 2015 4:08 am
Re: unknown type name ERROR
You're probably not including the header file that defines esp_avrc_tg_cb_event_t.
Who is online
Users browsing this forum: No registered users and 296 guests