I have searched alot but didn't find anything reasonable to me. I want to link https://libwebsockets.org to a C program. I have tried using builds available here https://ci.appveyor.com/project/lws-team/libwebsockets but those were giving errors when i used websocket server code available here https://gist.github.com/martinsik/3216369 I got these errors when i used build with webserver code
Build Log
I want to know how to build this library myself and i tried notes available here https://libwebsockets.org/lws-api-doc-master/html/md_READMEs_README_8build.html but it was too complicated for me to understand. Can anyone help?