[Libwebsockets] Compilation error

loic nicolas loicnicolas95 at hotmail.fr
Wed Jul 21 22:46:04 CEST 2021


Good evening,

I get this error when I try to run one of the examples:

1> main.obj: error LNK2001: unresolved external symbol _lws_retry_sul_schedule_retry_wsi
1> main.obj: error LNK2001: unresolved external symbol _lws_retry_sul_schedule
1> main.obj: error LNK2001: unresolved external symbol _lws_get_context
1> main.obj: error LNK2001: unresolved external symbol _lws_extension_callback_pm_deflate
1> main.obj: error LNK2001: unresolved external symbol _lws_strncpy
1> main.obj: error LNK2001: unresolved external symbol _lws_callback_http_dummy
1> main.obj: error LNK2001: unresolved external symbol _lws_service
1> main.obj: error LNK2001: unresolved external symbol _lws_sul_schedule
1> main.obj: error LNK2001: unresolved external symbol __lws_log
1> main.obj: error LNK2001: unresolved external symbol _lws_sul_cancel
1> main.obj: error LNK2001: unresolved external symbol _lws_context_destroy
1> main.obj: error LNK2001: unresolved external symbol _lws_create_context
1> main.obj: error LNK2001: unresolved external symbol _lws_cmdline_option_handle_builtin
1> main.obj: error LNK2001: unresolved external symbol _lws_json_simple_find


I compiled the library using visual studio 2019 and i have link websockets.lib
How to deal with this problem please?

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20210721/b728847c/attachment.htm>


More information about the Libwebsockets mailing list