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

Make Error #1

Open
Jackkt opened this issue Jun 20, 2019 · 1 comment
Open

Make Error #1

Jackkt opened this issue Jun 20, 2019 · 1 comment

Comments

@Jackkt
Copy link

Jackkt commented Jun 20, 2019

Hey, Im using ESP-EYE and the mingw32 console and I get the error:

$ make flash monitor CXX build/CustomVisionClient/CustomVisionClient.o C:/msys32/home/USERNAME/esp/esp32-custom-vision/components/CustomVisionClient/CustomVisionClient.cpp: In member function 'esp_err_t CustomVisionClient::detect(camera_fb_t*, CustomVisionClient::CustomVisionDetectionResult_t*, float, bool, uint8_t**, size_t*)': C:/msys32/home/USERNAME/esp/esp32-custom-vision/components/CustomVisionClient/CustomVisionClient.cpp:308:9: error: 'struct esp_http_client_config_t' has no member named 'is_async' config.is_async = false; ^ C:/msys32/home/Taylan/esp/esp32-custom-vision/components/CustomVisionClient/CustomVisionClient.cpp:323:14: error: 'ESP_ERR_HTTP_EAGAIN' was not declared in this scope if (err != ESP_ERR_HTTP_EAGAIN) { ^ make[1]: *** [/home/USERNAME/esp/esp-idf/make/component_wrapper.mk:286: CustomVisionClient.o] Error 1 make: *** [C:/msys32/home/USERNAME/esp/esp-idf/make/project.mk:468: component-CustomVisionClient-build] Error 2
I have changed the user name for privacy but everything is exact. The hello world from the examples folder works normally. Thank you in advance and sorry if there is an obvious answer.

@ivanb94
Copy link

ivanb94 commented Sep 5, 2019

Hi @Jackkt,

Error "... has no member named 'is_async'" is caused by using outdated version of esp-idf library which doesn't support the mentioned features. You should pull newer version.

See this link:
https://docs.espressif.com/projects/esp-idf/en/v3.1/get-started/index.html#updating-esp-idf

When you update the library and the error is resolved, you could mark this issue as closed.

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

2 participants