[Libwebsockets] Minimal examples for webserver

Pranjali Chumbhale pranjalic at safeai.ai
Wed Mar 4 20:12:56 CET 2020


Oh.. missed that part.
It works perfectly now.

Thank you for the prompt response(s).

Regards,
Pranjali


On Wed, Mar 4, 2020 at 11:07 AM Andy Green <andy at warmcat.com> wrote:

>
>
> On 3/4/20 7:02 PM, Pranjali Chumbhale wrote:
> > Hello Andy,
> >
> > Yes, my current directory is example directory.
> >
> > ├── build
>
> This is normally the right thing to do, but for the minimal examples,
> build them literally in-place so they can find the assets, eg
>
> $ cd minimal-examples/http-server/minimal-http-server
> $ cmake . && make && ./lws-minimal-http-server
>
> They are looking for the assets in ./ not ../
>
> You can also do in your case
>
> $ cd ..
> $ build/lws-minimal-http-server
>
> and it'll also work.
>
> -Andy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200304/a5df1141/attachment-0001.htm>


More information about the Libwebsockets mailing list