ESP32_Explorer icon indicating copy to clipboard operation
ESP32_Explorer copied to clipboard

Looks really useful, but does not build?

Open MiloMindbender opened this issue 5 years ago • 4 comments

Tried to build this but keep getting this error

C:/msys32/home/gcorson/esp/ESP32_Explorer/main/main.cpp:1:20: fatal error: Memory.h: No such file or directory compilation terminated. make[1]: *** [/home/gcorson/esp/esp-idf/make/component_wrapper.mk:290: main.o] Error 1 make: *** [C:/msys32/home/gcorson/esp/esp-idf/make/project.mk:582: component-main-build] Error 2

I did see the other post and downloaded esp32-snippits and changed ESP32_Explorer/components/cpp_utils to point to that directory, but still get the error.

MiloMindbender avatar Apr 19 '19 21:04 MiloMindbender

https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/Memory.h

Remember that in esp-idf every componen needs to have component.mk in its folder.

chegewara avatar Apr 20 '19 15:04 chegewara

Ok, so I got a little farther...copied the cpp_utils directory into the right place in ESP_Explorer project.

But now I get....

C:/msys32/home/gcorson/esp/ESP32_Explorer/components/cpp_utils/HttpRequest.cpp:42:26: fatal error: hwcrypto/sha.h: No such file or directory compilation terminated.

Near as I can see, this directory/file doesn't exist anymore so I'm not sure what to do.

I need to ask again, should this project build or is it out of date and needs a lot of fixes? If I've just got something configured wrong that's one thing, but if the project just doesn't build....well it looks useful and all but not useful enough for me to spend a lot of time debugging the thing if there are a lot of problems.

MiloMindbender avatar Apr 23 '19 22:04 MiloMindbender

This project for sure is out of date, last commit was at december 2017. I cant say how much errors needs to be fixed, because there is a lot changes in esp-idf and cpp_snippets that can cause it.

chegewara avatar Apr 23 '19 22:04 chegewara