{"action":"created","issue":{"url":"https://api.github.com/repos/nyorain/rvg/issues/2","repository_url":"https://api.github.com/repos/nyorain/rvg","labels_url":"https://api.github.com/repos/nyorain/rvg/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/nyorain/rvg/issues/2/comments","events_url":"https://api.github.com/repos/nyorain/rvg/issues/2/events","html_url":"https://github.com/nyorain/rvg/issues/2","id":351901863,"node_id":"MDU6SXNzdWUzNTE5MDE4NjM=","number":2,"title":"Configure ny to run with x11 backend?","user":{"login":"jb55","id":45598,"node_id":"MDQ6VXNlcjQ1NTk4","avatar_url":"https://avatars0.githubusercontent.com/u/45598?v=4","gravatar_id":"","url":"https://api.github.com/users/jb55","html_url":"https://github.com/jb55","followers_url":"https://api.github.com/users/jb55/followers","following_url":"https://api.github.com/users/jb55/following{/other_user}","gists_url":"https://api.github.com/users/jb55/gists{/gist_id}","starred_url":"https://api.github.com/users/jb55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jb55/subscriptions","organizations_url":"https://api.github.com/users/jb55/orgs","repos_url":"https://api.github.com/users/jb55/repos","events_url":"https://api.github.com/users/jb55/events{/privacy}","received_events_url":"https://api.github.com/users/jb55/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-19T13:09:27Z","updated_at":"2018-08-19T15:14:54Z","closed_at":null,"author_association":"NONE","body":"When I try to compile with/without wayland it doesn't configure x11 backend, any idea how to do that? When I configure with wayland libs it doesn't show the warning but still fails at runtime with the message:\r\n\r\n```\r\nterminate called after throwing an instance of 'std::runtime_error'\r\n  what():  ny::Backend: no backend available\r\nzsh: abort      ./build/example/example\r\n```\r\n\r\n[buildlog](https://jb55.com/s/d4861269d36c5fa2.html)\r\n\r\n**WARNING: building ny without any valid backends**\r\n\r\n```\r\n|Executing subproject ny.\r\n|\r\n|Project name: ny\r\n|Native C compiler: gcc (gcc 7.3.0 \"gcc (GCC) 7.3.0\")\r\n|Native C++ compiler: g++ (gcc 7.3.0 \"g++ (GCC) 7.3.0\")\r\n|Dependency threads found: YES (cached)\r\n|Dependency dlg from subproject subprojects/dlg found: YES (cached)\r\n|Dependency nytl from subproject subprojects/nytl found: YES (cached)\r\n|Dependency vulkan found: YES (cached)\r\n|Dependency egl found: NO\r\n|Native dependency xkbcommon found: YES 0.8.0\r\n|Native dependency x11 found: YES 1.6.5\r\n|Native dependency x11-xcb found: YES 1.6.5\r\n|Native dependency xi found: YES 1.7.9\r\n|Native dependency xcursor found: YES 1.1.15\r\n|Native dependency xcb found: YES 1.12\r\n|Dependency xcb-ewmh found: NO\r\n|Dependency xcb-icccm found: NO\r\n|Native dependency xcb-shm found: YES 1.12\r\n|Native dependency xcb-xkb found: YES 1.12\r\n|Native dependency xkbcommon-x11 found: YES 0.8.0\r\n|Dependency wayland-client found: NO\r\n|Dependency wayland-cursor found: NO\r\n|Message: WARNING: building ny without any valid backends\r\n|Configuring config.hpp using configuration\r\n|Build targets in project: 15\r\n```"},"comment":{"url":"https://api.github.com/repos/nyorain/rvg/issues/comments/414134416","html_url":"https://github.com/nyorain/rvg/issues/2#issuecomment-414134416","issue_url":"https://api.github.com/repos/nyorain/rvg/issues/2","id":414134416,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDEzNDQxNg==","user":{"login":"nyorain","id":13062371,"node_id":"MDQ6VXNlcjEzMDYyMzcx","avatar_url":"https://avatars0.githubusercontent.com/u/13062371?v=4","gravatar_id":"","url":"https://api.github.com/users/nyorain","html_url":"https://github.com/nyorain","followers_url":"https://api.github.com/users/nyorain/followers","following_url":"https://api.github.com/users/nyorain/following{/other_user}","gists_url":"https://api.github.com/users/nyorain/gists{/gist_id}","starred_url":"https://api.github.com/users/nyorain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyorain/subscriptions","organizations_url":"https://api.github.com/users/nyorain/orgs","repos_url":"https://api.github.com/users/nyorain/repos","events_url":"https://api.github.com/users/nyorain/events{/privacy}","received_events_url":"https://api.github.com/users/nyorain/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T15:14:54Z","updated_at":"2018-08-19T15:14:54Z","author_association":"OWNER","body":"You need the xcb-ewmh and xcb-icccm libraries for the x11 backend (see the meson log).\r\nI will write an example for glfw as well soon, glfw has fewer dependencies iirc."}}
{"actor":{"display_login":"nyorain"}}