nkolban / ESP32_Explorer

ESP32 Explorer
Apache License 2.0
144 stars 37 forks source link

Build difficulties #12

Closed shcreasey closed 7 years ago

shcreasey commented 7 years ago

Hi Guys, This looks great! I can't wait to try it out (I understand it's a work-in-progress) I'm having the following build errors, any ideas? Thanks, Steve.

In file included from C:/msys32/home/Steve/esp/proj-cpp/explore/components/cpp_utils/BLEUtils.cpp:22:0: C:/msys32/home/Steve/esp/proj-cpp/explore/components/cpp_utils/BLEUtils.cpp: In static member function 'static void BLEUtils::dumpGattClientEvent(esp_gattc_cb_event_t, esp_gatt_if_t, esp_ble_gattc_cb_param_t*)': C:/msys32/home/Steve/esp/proj-cpp/explore/components/cpp_utils/BLEUtils.cpp:1290:52: error: 'struct esp_ble_gattc_cb_param_t::gattc_connect_evt_param' has no member named 'status' BLEUtils::gattStatusToString(evtParam->connect.status).c_str(), ^ C:/msys32/home/Steve/esp/esp-idf/components/log/include/esp_log.h:242:168: note: in definition of macro 'ESP_LOGD'

define ESP_LOGD( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_DEBUG) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); }

                                                                                                                                                                    ^

C:/msys32/home/Steve/esp/proj-cpp/explore/components/cpp_utils/BLEUtils.cpp:1306:55: error: 'struct esp_ble_gattc_cb_param_t::gattc_disconnect_evt_param' has no member named 'status' BLEUtils::gattStatusToString(evtParam->disconnect.status).c_str(), ^ C:/msys32/home/Steve/esp/esp-idf/components/log/include/esp_log.h:242:168: note: in definition of macro 'ESP_LOGD'

define ESP_LOGD( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_DEBUG) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); }

                                                                                                                                                                    ^

C:/msys32/home/Steve/esp/proj-cpp/explore/components/cpp_utils/BLEUtils.cpp: In static member function 'static void BLEUtils::dumpGattServerEvent(esp_gatts_cb_event_t, esp_gatt_if_t, esp_ble_gatts_cb_param_t*)': C:/msys32/home/Steve/esp/proj-cpp/explore/components/cpp_utils/BLEUtils.cpp:1592:23: error: 'struct esp_ble_gatts_cb_param_t::gatts_connect_evt_param' has no member named 'is_connected' evtParam->connect.is_connected); ^ C:/msys32/home/Steve/esp/esp-idf/components/log/include/esp_log.h:242:168: note: in definition of macro 'ESP_LOGD'

define ESP_LOGD( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_DEBUG) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); }

                                                                                                                                                                    ^

C:/msys32/home/Steve/esp/proj-cpp/explore/components/cpp_utils/BLEUtils.cpp:1609:23: error: 'struct esp_ble_gatts_cb_param_t::gatts_connect_evt_param' has no member named 'is_connected' evtParam->connect.is_connected); ^ C:/msys32/home/Steve/esp/esp-idf/components/log/include/esp_log.h:242:168: note: in definition of macro 'ESP_LOGD'

define ESP_LOGD( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_DEBUG) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); }

                                                                                                                                                                    ^

make[1]: [/home/Steve/esp/esp-idf/make/component_wrapper.mk:243: BLEUtils.o] Error 1 make: [C:/msys32/home/Steve/esp/esp-idf/make/project.mk:435: component-cpp_utils-build] Error 2

shcreasey commented 7 years ago

I solved that problem. Git wasn't refreshing the local esp32-snippets repository.

Haven't managed to connect to it yet though.