nkolban / ESP32_Explorer

ESP32 Explorer
Apache License 2.0
144 stars 37 forks source link

Looks really useful, but does not build? #34

Open MiloMindbender opened 5 years ago

MiloMindbender commented 5 years ago

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.

chegewara commented 5 years ago

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.

MiloMindbender commented 5 years ago

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.

chegewara commented 5 years ago

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.

JoacoG commented 5 months ago

There is an alternative to this project? Something like this would help me a lot.