Copyright ©

Mongoose OS Forum


Compiling error simplest_web_server

Hello to all
I'm new to using mongoose, I use ESP32 and I want to use it as a web server. To do this, I have configured ESP as AP and I have established a connection with which I can send the connection time and a html page written in the main.
Now I would like to be able to send the html pages as in the example "restful_serve" (github) but compiling it tells me these errors:

"implicit declaration of function 'mg_http_serve_file' [-Werror = implicit-function-declaration] "
's_http_server_opts' has an incomplete type
invalid use of undefined type 'struct mg_serve_http_opts'

Can someone help me solve? Thank you


Sign In or Register to comment.