I'm trying to test the libwebsockets API https://github.com/warmcat/libwebsockets/tree/master/minimal-examples/api-tests/api-test-lws_tokenize
Whenever I type
cmake . && make
to build the code. I got following error.
Scanning dependencies of target lws-api-test-lws_tokenize
[ 50%] Building C object CMakeFiles/lws-api-test-lws_tokenize.dir/main.c.obj
C:\Users\pro12\Desktop\New folder (2)\libwebsockets\minimal-examples\api-
tests\api-test-lws_tokenize\main.c:16:27: fatal error: libwebsockets.h: No
such file or directory
#include <libwebsockets.h>
^
compilation terminated.
My question is where to add libwebsockets.h file? I have mingW installed and i'm using gcc compiler. I have libwebsockets build downloaded from here https://ci.appveyor.com/project/lws-team/libwebsockets which is placed at C:\Program Files (x86)/libwebsockets