{"action":"created","issue":{"url":"https://api.github.com/repos/diydrones/apm_planner/issues/847","labels_url":"https://api.github.com/repos/diydrones/apm_planner/issues/847/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/apm_planner/issues/847/comments","events_url":"https://api.github.com/repos/diydrones/apm_planner/issues/847/events","html_url":"https://github.com/diydrones/apm_planner/issues/847","id":120758166,"number":847,"title":"Build install problem in Ubuntu 15.10","user":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-07T11:54:48Z","updated_at":"2015-12-07T16:54:30Z","closed_at":null,"body":"Hi,\r\n\r\nThere are some problems in installing apmplanner build in ubuntu 15.10. (the building is fine )\r\n\r\nBut I can't launch apmplanner after sudo make install. \r\nI got this error : \r\n![capture du 2015-12-07 12-46-47](https://cloud.githubusercontent.com/assets/705341/11626125/a77d0aee-9ce0-11e5-91ec-34f46854d49c.png)\r\nThis is related to wrong loading path : DEBUG 2015-12-07T12:46:36.725  QUrl( \"file:///home/khancyr/sncf_ws/qml/PrimaryFlightDisplayQML.qml\" )  \r\nlooking in my term path instead of /usr/share...\r\n\r\nIf I search where is this missing file, I got \r\n````\r\nsudo find / -iname PrimaryFlightDisplayQML.qml\r\n/home/khancyr/Workspace/apm_planner/debian/tmp/usr/share/APMPlanner2/qml/PrimaryFlightDisplayQML.qml\r\n/home/khancyr/Workspace/apm_planner/release/qml/PrimaryFlightDisplayQML.qml\r\n/home/khancyr/Workspace/apm_planner/qml/PrimaryFlightDisplayQML.qml\r\n/share/APMPlanner2/qml/PrimaryFlightDisplayQML.qml\r\n````\r\n\r\nThe first time I run sudo make install , it produce : \r\n````\r\necho Copying files && cp -f -R /home/khancyr/Workspace/apm_planner/qml /home/khancyr/Workspace/apm_planner/release && cp -f -R /home/khancyr/Workspace/apm_planner/sik_uploader /home/khancyr/Workspace/apm_planner/release\r\nCopying files\r\ninstall -m 755 -p \"release/apmplanner2\" \"/home/khancyr/Workspace/apm_planner/debian/tmp/usr/bin/apmplanner2\"\r\ncp -f -R /home/khancyr/Workspace/apm_planner/sik_uploader /home/khancyr/Workspace/apm_planner/debian/tmp/usr/bin/\r\ninstall -m 644 -p /home/khancyr/Workspace/apm_planner/debian/apmplanner2 /home/khancyr/Workspace/apm_planner/debian/tmp/usr/share/menu/\r\nstrip \"/home/khancyr/Workspace/apm_planner/debian/tmp/usr/bin/apmplanner2\"\r\ninstall -m 644 -p /home/khancyr/Workspace/apm_planner/debian/apmplanner2.desktop /home/khancyr/Workspace/apm_planner/debian/tmp/usr/share/applications/\r\ncp -f -R /home/khancyr/Workspace/apm_planner/files /home/khancyr/Workspace/apm_planner/debian/tmp/usr/share/APMPlanner2/\r\ncp -f -R /home/khancyr/Workspace/apm_planner/data /home/khancyr/Workspace/apm_planner/debian/tmp/usr/share/APMPlanner2/\r\ncp -f -R /home/khancyr/Workspace/apm_planner/qml /home/khancyr/Workspace/apm_planner/debian/tmp/usr/share/APMPlanner2/\r\n````\r\n\r\nSo file are not copied to /usr/share ....\r\nRunning sudo make install a second time do the job \r\n````\r\nkhancyr@khancyr-N551JQ:~/Workspace/apm_planner$ sudo make install -j4 -l4\r\ninstall -m 755 -p \"release/apmplanner2\" \"/bin/apmplanner2\"\r\ncp -f -R /home/khancyr/Workspace/apm_planner/sik_uploader /bin/\r\ncp -f -R /home/khancyr/Workspace/apm_planner/files /share/APMPlanner2/\r\ninstall -m 644 -p /home/khancyr/Workspace/apm_planner/debian/apmplanner2 /share/menu/\r\ninstall -m 644 -p /home/khancyr/Workspace/apm_planner/debian/apmplanner2.desktop /share/applications/\r\nstrip \"/bin/apmplanner2\"\r\ncp -f -R /home/khancyr/Workspace/apm_planner/data /share/APMPlanner2/\r\ncp -f -R /home/khancyr/Workspace/apm_planner/qml /share/APMPlanner2/\r\n````\r\n\r\nBut launching apmplanner2 from another directory that build directory doesn't work (cf QURL error)\r\n\r\nI think it is related to apmplanner code more than install command. If you need more log, or that I test more commands, I will be glad to help"},"comment":{"url":"https://api.github.com/repos/diydrones/apm_planner/issues/comments/162590804","html_url":"https://github.com/diydrones/apm_planner/issues/847#issuecomment-162590804","issue_url":"https://api.github.com/repos/diydrones/apm_planner/issues/847","id":162590804,"user":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T16:54:30Z","updated_at":"2015-12-07T16:54:30Z","body":"Form home I get the error. If I am in the apmplanner build directory, it works"}}