You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from uhttpd/lua.c:27:
uhttpd/uhttpd.h:37:10: fatal error: libubox/ustream-ssl.h: No such file or directory
37 | #include
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/uhttpd_lua.dir/build.make:63: CMakeFiles/uhttpd_lua.dir/lua.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/uhttpd_lua.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Then I downloaded libubox from https://git.openwrt.org/project/libubox.git; I didn't find "ustream-ssl.h" in the souce code directory. After installing it on my ubuntu, "/usr/local/include/libubox" doesn't have "ustream-ssl.h".
How can I build uhttpd ?
Expecting your reply, thanks!
The text was updated successfully, but these errors were encountered:
Building uhttpd on non-OpenWrt systems is not supported. In your case you need to install the [[https://git.openwrt.org/?p=project/ustream-ssl.git;a=summary|ustream-ssl]] project as well.
primelyw:
Supply the following if possible:
Tool target: uhttpd(latest version) downloaded from https://git.openwrt.org/project/uhttpd.git.
On my desktop terminal, I downloaded source code of uhttpd from https://git.openwrt.org/project/uhttpd.git.
Build with following commands
git clone https://git.openwrt.org/project/uhttpd.git
mkdir build
cd build
cmake ..
cmake --build .
But falied with this.
In file included from uhttpd/lua.c:27: uhttpd/uhttpd.h:37:10: fatal error: libubox/ustream-ssl.h: No such file or directory 37 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/uhttpd_lua.dir/build.make:63: CMakeFiles/uhttpd_lua.dir/lua.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/uhttpd_lua.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
Then I downloaded libubox from https://git.openwrt.org/project/libubox.git; I didn't find "ustream-ssl.h" in the souce code directory. After installing it on my ubuntu, "/usr/local/include/libubox" doesn't have "ustream-ssl.h".
How can I build uhttpd ?
Expecting your reply, thanks!
The text was updated successfully, but these errors were encountered: