[Libwebsockets] Minimal examples for webserver
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).
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets