ESP-IDF Version for ESP-WHO samples

Jean-Luc
Posts: 1
Joined: Sun Nov 15, 2015 4:13 am
Contact:

ESP-IDF Version for ESP-WHO samples

Postby Jean-Luc » Thu Mar 14, 2019 9:39 am

So I've started to play with ESP-EYE board and ESP-WHO framework.
I first installed ESP-IDF 3.1.3, but the detection_with_command_line sample would just return camera errors, and recognition_solution would fail to build due to esp_http_server missing.

So I've now removed ESP-IDF 3.1.3, and install ESP-IDF 3.3-beta2 instead. recognition_solution builds fine, it can detect hilexin word, and create an access point to which I can connect with my Ubuntu 18.04 computer. But now when I try to access 192.168.4.1/face_stream in Firefox it will just load forever ("waiting for 192.168.4.1"), and show a white screen.

I guess it may be an issue with the IDF version I'm using. Thanks in advance.

User avatar
joba-1
Posts: 7
Joined: Mon Jan 28, 2019 12:26 am

Re: ESP-IDF Version for ESP-WHO samples

Postby joba-1 » Fri Mar 22, 2019 4:16 pm

Hi Jean-Luc,

looks like I have a similar problem. Maybe it helps knowing this is not a one time error.

I tried to compile the webserver example like this (changing serial port, adding wlan config and selecting AI-Thinker board in menuconfig):

Code: Select all

cd
git  clone --recursive https://github.com/espressif/esp-who.git 
cd esp-who/examples/single_chip/camera_web_server
make defconfig
make menuconfig
make clean
make -j6 flash
and I get this error:

Code: Select all

CC build/main/app_httpd.o
/home/joachim/esp-who/examples/single_chip/camera_web_server/main/app_httpd.c:15:29: fatal error: esp_http_server.h: No such file or directory
compilation terminated.
There was a commit changing the esp-idf version for esp-who very recently, so I guess this is the problem, but I dont know how to revert it (not used to git submodules).

I hope someone can help out here to fix that.

User avatar
joba-1
Posts: 7
Joined: Mon Jan 28, 2019 12:26 am

Re: ESP-IDF Version for ESP-WHO samples

Postby joba-1 » Fri Mar 22, 2019 5:30 pm

I read a bit about git submodules and tested a bit further:

I changed to esp-idf directory/submodule and did a git log to find all commits mentioning http_server.
I checked out commits preceeding those http_server commits one by one and rebuilt:

Code: Select all

cd esp-idf
git checkout <hash>
cd <example-dir>
make clean
make all
This did not help, same error. So I repeated this after changing the include from esp_http_server.h to http_server.h since I read the filename has changed at some point. Still no joy. I give up on this.

Btw. the CameraWebServer example in Arduino IDE compiles just fine, but the web page it serves is dead slow, like over a minute for the initial load and stills or streams only work sometimes, but mostly not :(
Well, at least I know now the hardware could work in principle and is not entirely useless.

Return to “ESP-WHO”

Who is online

Users browsing this forum: No registered users and 2 guests