{"action":"created","issue":{"url":"https://api.github.com/repos/rkaczorek/astroberry-diy/issues/3","repository_url":"https://api.github.com/repos/rkaczorek/astroberry-diy","labels_url":"https://api.github.com/repos/rkaczorek/astroberry-diy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/rkaczorek/astroberry-diy/issues/3/comments","events_url":"https://api.github.com/repos/rkaczorek/astroberry-diy/issues/3/events","html_url":"https://github.com/rkaczorek/astroberry-diy/issues/3","id":337583839,"node_id":"MDU6SXNzdWUzMzc1ODM4Mzk=","number":3,"title":"rpi_focus cmake error","user":{"login":"jakugab","id":28750916,"node_id":"MDQ6VXNlcjI4NzUwOTE2","avatar_url":"https://avatars2.githubusercontent.com/u/28750916?v=4","gravatar_id":"","url":"https://api.github.com/users/jakugab","html_url":"https://github.com/jakugab","followers_url":"https://api.github.com/users/jakugab/followers","following_url":"https://api.github.com/users/jakugab/following{/other_user}","gists_url":"https://api.github.com/users/jakugab/gists{/gist_id}","starred_url":"https://api.github.com/users/jakugab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakugab/subscriptions","organizations_url":"https://api.github.com/users/jakugab/orgs","repos_url":"https://api.github.com/users/jakugab/repos","events_url":"https://api.github.com/users/jakugab/events{/privacy}","received_events_url":"https://api.github.com/users/jakugab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-02T16:23:55Z","updated_at":"2018-07-04T20:04:20Z","closed_at":null,"author_association":"NONE","body":"Dear Radek!\r\nFirst of all, I'd like to say a great thanks for your work on Astroberry Server and Astroberry DIY.\r\nI have an RPI 3 model B+ with Raspbian, and I wanted to install the Astroberry focuser with cmake, following the installation instructions, but I always got this error message:\r\n\r\nScanning dependencies of target indi_rpifocus\r\n[ 93%] Building CXX object CMakeFiles/indi_rpifocus.dir/rpi_focus.o\r\n/home/pi/astroberry-diy/rpi_focus.cpp: In member function :\r\n/home/pi/astroberry-diy/rpi_focus.cpp:212:73: error:  was not declared in this scope\r\n        SetFocuserCapability(FOCUSER_CAN_ABS_MOVE | FOCUSER_CAN_REL_MOVE);\r\n                                                                        ^\r\nCMakeFiles/indi_rpifocus.dir/build.make:62: recipe for target 'CMakeFiles/indi_rpifocus.dir/rpi_focus.o' failed\r\nmake[2]: *** [CMakeFiles/indi_rpifocus.dir/rpi_focus.o] Error 1\r\nCMakeFiles/Makefile2:215: recipe for target 'CMakeFiles/indi_rpifocus.dir/all' failed\r\nmake[1]: *** [CMakeFiles/indi_rpifocus.dir/all] Error 2\r\nMakefile:127: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\nEarlier the Astroberry Focuser worked perfectly in Kstars installed on my RPI2 with Ubuntu Mate, but unfortunately the SD card injured, and the whole setup destroyed. I don't remember, how I installed the working focuser driver, but when I tried to compile the driver, I got the same error message.\r\nPlease help me to solve this problem! (I am a really-really end-user :-) ).\r\n\r\nThanks in advance\r\nGabor"},"comment":{"url":"https://api.github.com/repos/rkaczorek/astroberry-diy/issues/comments/402551712","html_url":"https://github.com/rkaczorek/astroberry-diy/issues/3#issuecomment-402551712","issue_url":"https://api.github.com/repos/rkaczorek/astroberry-diy/issues/3","id":402551712,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjU1MTcxMg==","user":{"login":"jakugab","id":28750916,"node_id":"MDQ6VXNlcjI4NzUwOTE2","avatar_url":"https://avatars2.githubusercontent.com/u/28750916?v=4","gravatar_id":"","url":"https://api.github.com/users/jakugab","html_url":"https://github.com/jakugab","followers_url":"https://api.github.com/users/jakugab/followers","following_url":"https://api.github.com/users/jakugab/following{/other_user}","gists_url":"https://api.github.com/users/jakugab/gists{/gist_id}","starred_url":"https://api.github.com/users/jakugab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakugab/subscriptions","organizations_url":"https://api.github.com/users/jakugab/orgs","repos_url":"https://api.github.com/users/jakugab/repos","events_url":"https://api.github.com/users/jakugab/events{/privacy}","received_events_url":"https://api.github.com/users/jakugab/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T20:04:20Z","updated_at":"2018-07-04T20:04:20Z","author_association":"NONE","body":"Hi Radek!\r\nI removed the line from rpi_focus.cpp, and I compiled the driver without error. It works perfectly with RPI2 + ubuntu mate + Kstars, RPI2 + Asrtoberry Server and with RPI3+ + Raspbian + libindi1 setup controlled by Kstars Lite. Thank you very much for your help! 😁\r\nGabor "}}
{"actor":{"display_login":"jakugab"}}