{"action":"created","issue":{"url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/428","repository_url":"https://api.github.com/repos/uWebSockets/uWebSockets","labels_url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/428/comments","events_url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/428/events","html_url":"https://github.com/uWebSockets/uWebSockets/issues/428","id":204944405,"number":428,"title":"Can't compile project which includes uWS","user":{"login":"SzAmmi","id":9989553,"avatar_url":"https://avatars.githubusercontent.com/u/9989553?v=3","gravatar_id":"","url":"https://api.github.com/users/SzAmmi","html_url":"https://github.com/SzAmmi","followers_url":"https://api.github.com/users/SzAmmi/followers","following_url":"https://api.github.com/users/SzAmmi/following{/other_user}","gists_url":"https://api.github.com/users/SzAmmi/gists{/gist_id}","starred_url":"https://api.github.com/users/SzAmmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SzAmmi/subscriptions","organizations_url":"https://api.github.com/users/SzAmmi/orgs","repos_url":"https://api.github.com/users/SzAmmi/repos","events_url":"https://api.github.com/users/SzAmmi/events{/privacy}","received_events_url":"https://api.github.com/users/SzAmmi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-02T17:37:33Z","updated_at":"2017-02-03T14:38:31Z","closed_at":"2017-02-03T01:27:00Z","body":"I started writing a game server built with uWS. I can't compile it, I'm using CLion IDE (on Ubuntu) and the compiler gives me this:\r\n\r\n```\r\nerror while loading shared libraries: libuWS.so: cannot open shared object file: No such file or directory\r\n```\r\n\r\nHere's my `CMakeLists.txt`:\r\n```cmake\r\ncmake_minimum_required(VERSION 3.6)\r\nproject(GameServer)\r\n\r\nset(CMAKE_CXX_STANDARD 11)\r\n\r\nset(SOURCE_FILES main.cpp)\r\nadd_executable(GameServer ${SOURCE_FILES})\r\n\r\ntarget_link_libraries(GameServer uWS)\r\ntarget_link_libraries(GameServer z)\r\n```\r\n\r\nI had to add `libz` to my CMakeLists because the compiler said it's missing."},"comment":{"url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/comments/277262242","html_url":"https://github.com/uWebSockets/uWebSockets/issues/428#issuecomment-277262242","issue_url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/428","id":277262242,"user":{"login":"SzAmmi","id":9989553,"avatar_url":"https://avatars.githubusercontent.com/u/9989553?v=3","gravatar_id":"","url":"https://api.github.com/users/SzAmmi","html_url":"https://github.com/SzAmmi","followers_url":"https://api.github.com/users/SzAmmi/followers","following_url":"https://api.github.com/users/SzAmmi/following{/other_user}","gists_url":"https://api.github.com/users/SzAmmi/gists{/gist_id}","starred_url":"https://api.github.com/users/SzAmmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SzAmmi/subscriptions","organizations_url":"https://api.github.com/users/SzAmmi/orgs","repos_url":"https://api.github.com/users/SzAmmi/repos","events_url":"https://api.github.com/users/SzAmmi/events{/privacy}","received_events_url":"https://api.github.com/users/SzAmmi/received_events","type":"User","site_admin":false},"created_at":"2017-02-03T14:38:30Z","updated_at":"2017-02-03T14:38:30Z","body":"@alexhultman I think you should add `libuWS.so` to `/usr/lib` (not `lib64`) because gcc doesn't check `lib64` for default as far as I know."}}
{"actor":{"display_login":"SzAmmi"}}