{"action":"created","issue":{"url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1405","repository_url":"https://api.github.com/repos/warmcat/libwebsockets","labels_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1405/labels{/name}","comments_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1405/comments","events_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1405/events","html_url":"https://github.com/warmcat/libwebsockets/issues/1405","id":359553524,"node_id":"MDU6SXNzdWUzNTk1NTM1MjQ=","number":1405,"title":"LWS_ROLE_WS error on minimal-ws-server-threads example","user":{"login":"annagogolou","id":18115282,"node_id":"MDQ6VXNlcjE4MTE1Mjgy","avatar_url":"https://avatars3.githubusercontent.com/u/18115282?v=4","gravatar_id":"","url":"https://api.github.com/users/annagogolou","html_url":"https://github.com/annagogolou","followers_url":"https://api.github.com/users/annagogolou/followers","following_url":"https://api.github.com/users/annagogolou/following{/other_user}","gists_url":"https://api.github.com/users/annagogolou/gists{/gist_id}","starred_url":"https://api.github.com/users/annagogolou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annagogolou/subscriptions","organizations_url":"https://api.github.com/users/annagogolou/orgs","repos_url":"https://api.github.com/users/annagogolou/repos","events_url":"https://api.github.com/users/annagogolou/events{/privacy}","received_events_url":"https://api.github.com/users/annagogolou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-12T16:11:53Z","updated_at":"2018-09-12T16:14:03Z","closed_at":null,"author_association":"NONE","body":"Hello Andy,\r\n\r\nfollowing the LWS_ROLE_H1 error that clankill3r takes here [https://github.com/warmcat/libwebsockets/issues/1404](https://github.com/warmcat/libwebsockets/issues/1404)\r\n\r\nI also take the error \"This project requires lws must have been configured with LWS_ROLE_WS\", when I try to compile the minimal-ws-server-threads code.\r\n\r\nI am using Linux! Could you please give me any help on that issue?\r\n\r\nWhat I have already done is the following:\r\n1) I removed the build folder from the libwebsockets-master folder.\r\n2) I installed libwebsockets again by running the following commands\r\nmkdir build\r\ncd build\r\ncmake LWS_ROLE_WS=1 ..\r\nmake && sudo make install\r\n\r\necho $LD_LIBRARY_PATH\r\nLD_LIBRARY_PATH=/usr/local/lib\r\necho $LD_LIBRARY_PATH\r\nLD_LIBRARY_PATH=$LD_LIBRARY_PATH/libwebsockets.so.10\r\nexport LD_LIBRARY_PATH\r\necho $LD_LIBRARY_PATH\r\nsudo ldconfig\r\n\r\n3) The file usr/local/include/lws_config.h exists, but there was no #define LWS_ROLE_WS.\r\n4) I wrote manually #define LWS_ROLE_WS in the file usr/local/include/lws_config.h\r\n\r\nNothing works. I am still taking the same error when I run cmake . && make in order to compile the minimal-ws-server-threads code.\r\n\r\nAny help?\r\n\r\nThank you very much,\r\nAnna"},"comment":{"url":"https://api.github.com/repos/warmcat/libwebsockets/issues/comments/420707806","html_url":"https://github.com/warmcat/libwebsockets/issues/1405#issuecomment-420707806","issue_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1405","id":420707806,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDcwNzgwNg==","user":{"login":"annagogolou","id":18115282,"node_id":"MDQ6VXNlcjE4MTE1Mjgy","avatar_url":"https://avatars3.githubusercontent.com/u/18115282?v=4","gravatar_id":"","url":"https://api.github.com/users/annagogolou","html_url":"https://github.com/annagogolou","followers_url":"https://api.github.com/users/annagogolou/followers","following_url":"https://api.github.com/users/annagogolou/following{/other_user}","gists_url":"https://api.github.com/users/annagogolou/gists{/gist_id}","starred_url":"https://api.github.com/users/annagogolou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annagogolou/subscriptions","organizations_url":"https://api.github.com/users/annagogolou/orgs","repos_url":"https://api.github.com/users/annagogolou/repos","events_url":"https://api.github.com/users/annagogolou/events{/privacy}","received_events_url":"https://api.github.com/users/annagogolou/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T16:14:03Z","updated_at":"2018-09-12T16:14:03Z","author_association":"NONE","body":"I talk about this code [https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/ws-server/minimal-ws-server-threads/README.md](https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/ws-server/minimal-ws-server-threads/README.md)\r\n\r\nI cannot compile it.\r\n\r\nThanks again!"}}
{"actor":{"display_login":"annagogolou"}}