{"action":"created","issue":{"url":"https://api.github.com/repos/opentrack/opentrack/issues/726","repository_url":"https://api.github.com/repos/opentrack/opentrack","labels_url":"https://api.github.com/repos/opentrack/opentrack/issues/726/labels{/name}","comments_url":"https://api.github.com/repos/opentrack/opentrack/issues/726/comments","events_url":"https://api.github.com/repos/opentrack/opentrack/issues/726/events","html_url":"https://github.com/opentrack/opentrack/issues/726","id":289152794,"node_id":"MDU6SXNzdWUyODkxNTI3OTQ=","number":726,"title":"linux compilation error ( archlinux , gcc 8.2 ,  qt 5.11 )","user":{"login":"ljgdasfhk","id":25474376,"node_id":"MDQ6VXNlcjI1NDc0Mzc2","avatar_url":"https://avatars1.githubusercontent.com/u/25474376?v=4","gravatar_id":"","url":"https://api.github.com/users/ljgdasfhk","html_url":"https://github.com/ljgdasfhk","followers_url":"https://api.github.com/users/ljgdasfhk/followers","following_url":"https://api.github.com/users/ljgdasfhk/following{/other_user}","gists_url":"https://api.github.com/users/ljgdasfhk/gists{/gist_id}","starred_url":"https://api.github.com/users/ljgdasfhk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljgdasfhk/subscriptions","organizations_url":"https://api.github.com/users/ljgdasfhk/orgs","repos_url":"https://api.github.com/users/ljgdasfhk/repos","events_url":"https://api.github.com/users/ljgdasfhk/events{/privacy}","received_events_url":"https://api.github.com/users/ljgdasfhk/received_events","type":"User","site_admin":false},"labels":[{"id":37806052,"node_id":"MDU6TGFiZWwzNzgwNjA1Mg==","url":"https://api.github.com/repos/opentrack/opentrack/labels/bug","name":"bug","color":"fc2929","default":true},{"id":479787869,"node_id":"MDU6TGFiZWw0Nzk3ODc4Njk=","url":"https://api.github.com/repos/opentrack/opentrack/labels/discussion","name":"discussion","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":113,"created_at":"2018-01-17T06:08:53Z","updated_at":"2018-10-05T14:45:57Z","closed_at":null,"author_association":"NONE","body":"Scanning dependencies of target opentrack-proto-libevdev\r\n[ 77%] Building CXX object proto-libevdev/CMakeFiles/opentrack-proto-libevdev.dir/ftnoir_protocol_libevdev.cpp.o\r\n/home/sobolev/opentrack/proto-libevdev/ftnoir_protocol_libevdev.cpp: In member function 'virtual module_status evdev::initialize()':\r\n/home/sobolev/opentrack/proto-libevdev/ftnoir_protocol_libevdev.cpp:111:22: error: 'tr' was not declared in this scope\r\n         return error(tr(\"Can't open /dev/uinput: %1\").arg(buf));\r\n                      ^~\r\n/home/sobolev/opentrack/proto-libevdev/ftnoir_protocol_libevdev.cpp:111:22: note: suggested alternative: 'tm'\r\n         return error(tr(\"Can't open /dev/uinput: %1\").arg(buf));\r\n                      ^~\r\n                      tm\r\nmake[2]: *** [proto-libevdev/CMakeFiles/opentrack-proto-libevdev.dir/build.make:76: proto-libevdev/CMakeFiles/opentrack-proto-libevdev.dir/ftnoir_protocol_libevdev.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/Makefile2:2769: proto-libevdev/CMakeFiles/opentrack-proto-libevdev.dir/all] Error 2\r\nmake: *** [Makefile:130: all] Error 2"},"comment":{"url":"https://api.github.com/repos/opentrack/opentrack/issues/comments/427390800","html_url":"https://github.com/opentrack/opentrack/issues/726#issuecomment-427390800","issue_url":"https://api.github.com/repos/opentrack/opentrack/issues/726","id":427390800,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzM5MDgwMA==","user":{"login":"sthalik","id":1896811,"node_id":"MDQ6VXNlcjE4OTY4MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1896811?v=4","gravatar_id":"","url":"https://api.github.com/users/sthalik","html_url":"https://github.com/sthalik","followers_url":"https://api.github.com/users/sthalik/followers","following_url":"https://api.github.com/users/sthalik/following{/other_user}","gists_url":"https://api.github.com/users/sthalik/gists{/gist_id}","starred_url":"https://api.github.com/users/sthalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sthalik/subscriptions","organizations_url":"https://api.github.com/users/sthalik/orgs","repos_url":"https://api.github.com/users/sthalik/repos","events_url":"https://api.github.com/users/sthalik/events{/privacy}","received_events_url":"https://api.github.com/users/sthalik/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T14:45:57Z","updated_at":"2018-10-05T14:45:57Z","author_association":"MEMBER","body":"@ljgdasfhk \r\n\r\nReplace this in `cmake/OpenCVFindLibsVideo.cmake`\r\n\r\n```\r\n# --- V4L ---\r\nocv_clear_vars(HAVE_LIBV4L HAVE_CAMV4L HAVE_CAMV4L2 HAVE_VIDEOIO)\r\n[...]\r\nendif(WITH_V4L)\r\n```\r\n\r\n```\r\nocv_clear_vars(HAVE_LIBV4L HAVE_CAMV4L HAVE_CAMV4L2 HAVE_VIDEOIO)\r\nCHECK_MODULE(libv4l1 HAVE_LIBV4L1 VIDEOIO)\r\nCHECK_MODULE(libv4l2 HAVE_LIBV4L2 VIDEOIO)\r\nCHECK_INCLUDE_FILE(linux/videodev.h HAVE_CAMV4L)\r\nCHECK_INCLUDE_FILE(linux/videodev2.h HAVE_CAMV4L2)\r\nCHECK_INCLUDE_FILE(sys/videoio.h HAVE_VIDEOIO)\r\n\r\n# magic!\r\nset(HAVE_LIBV4L YES)\r\n```\r\n\r\nThe problem is that opencv checks for the legacy V4L v1 libraries that aren't useful anymore."}}
{"actor":{"display_login":"sthalik"}}