Hello @cmorgan
I tried your both examples as you suggested
1)
https://github.com/chmorgan/libesphttpd_linux_
In this example, even if i followed read-me steps properly ,but when I tried to run make file its following error.
Code: Select all
[ 4%] Performing configure step for 'esphttpd'
CMake Error at /usr/local/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.9/Modules/FindOpenSSL.cmake:388 (find_package_handle_standard_args)
CMakeLists.txt:55 (find_package)
-- Configuring incomplete, errors occurred!
See also "/data/rest/libesphttpd_linux_example/build/esphttpd-prefix/src/esphttpd-build/CMakeFiles/CMakeOutput.log".
CMakeFiles/esphttpd.dir/build.make:105: recipe for target 'esphttpd-prefix/src/esphttpd-stamp/esphttpd-configure' failed
make[2]: *** [esphttpd-prefix/src/esphttpd-stamp/esphttpd-configure] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/esphttpd.dir/all' failed
make[1]: *** [CMakeFiles/esphttpd.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
2)
https://github.com/Spritetm/esphttpd-freertos
I am using esp-idf v2.1 . i arranged this repository as examples are given in idf , but still getting following error when run make file.
Code: Select all
make[1]: *** No rule to make target '/data/rest/new/esp-idf-v2.1/examples/protocols/restful/html/', needed by 'webpages.espfs'. Stop.
/data/rest/new/esp-idf-v2.1/make/project.mk:434: recipe for target 'component-libesphttpd-build' failed
make: *** [component-libesphttpd-build] Error 2
can you please provide proper steps to build this project?