{"action":"created","issue":{"url":"https://api.github.com/repos/cyoung/stratux/issues/545","repository_url":"https://api.github.com/repos/cyoung/stratux","labels_url":"https://api.github.com/repos/cyoung/stratux/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/cyoung/stratux/issues/545/comments","events_url":"https://api.github.com/repos/cyoung/stratux/issues/545/events","html_url":"https://github.com/cyoung/stratux/issues/545","id":195477501,"number":545,"title":"Compile error : missing librtlsdr","user":{"login":"johnpayne","id":3162571,"avatar_url":"https://avatars.githubusercontent.com/u/3162571?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpayne","html_url":"https://github.com/johnpayne","followers_url":"https://api.github.com/users/johnpayne/followers","following_url":"https://api.github.com/users/johnpayne/following{/other_user}","gists_url":"https://api.github.com/users/johnpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpayne/subscriptions","organizations_url":"https://api.github.com/users/johnpayne/orgs","repos_url":"https://api.github.com/users/johnpayne/repos","events_url":"https://api.github.com/users/johnpayne/events{/privacy}","received_events_url":"https://api.github.com/users/johnpayne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-14T09:14:58Z","updated_at":"2016-12-15T16:11:32Z","closed_at":null,"body":"Just cloned the stratux repo.  Attempted to compile and got the following error:\r\n\r\nroot@JPi:/home/pi/stratux# make\r\nmake xdump978\r\nmake[1]: Entering directory '/home/pi/stratux'\r\ncd dump978 && make lib\r\nmake[2]: Entering directory '/home/pi/stratux/dump978'\r\ngcc -c -O2 -g -Wall -Werror -Ifec -fpic -DBUILD_LIB=1 dump978.c fec.c fec/decode_rs_char.c fec/init_rs_char.c\r\ngcc -shared -lm -o ../libdump978.so dump978.o fec.o decode_rs_char.o init_rs_char.o \r\nmake[2]: Leaving directory '/home/pi/stratux/dump978'\r\nsudo cp -f ./libdump978.so /usr/lib/libdump978.so\r\nmake[1]: Leaving directory '/home/pi/stratux'\r\nmake xdump1090\r\nmake[1]: Entering directory '/home/pi/stratux'\r\ngit submodule update --init\r\ncd dump1090 && make\r\nmake[2]: Entering directory '/home/pi/stratux/dump1090'\r\ngcc -DMODES_DUMP1090_VERSION=\\\"v1.15-stratux-3-g9a4fb85\\\" -O2 -g -Wall -Werror -W `pkg-config --cflags librtlsdr`  -c dump1090.c -o dump1090.o\r\n**Package librtlsdr was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `librtlsdr.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'librtlsdr' found\r\ndump1090.c:52:21: fatal error: rtl-sdr.h: No such file or directory\r\n #include <rtl-sdr.h>**\r\n                     ^\r\ncompilation terminated.\r\nMakefile:37: recipe for target 'dump1090.o' failed\r\nmake[2]: *** [dump1090.o] Error 1\r\nmake[2]: Leaving directory '/home/pi/stratux/dump1090'\r\nMakefile:19: recipe for target 'xdump1090' failed\r\nmake[1]: *** [xdump1090] Error 2\r\nmake[1]: Leaving directory '/home/pi/stratux'\r\nMakefile:10: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\n\r\nDo I need to add this library somehow?"},"comment":{"url":"https://api.github.com/repos/cyoung/stratux/issues/comments/267367795","html_url":"https://github.com/cyoung/stratux/issues/545#issuecomment-267367795","issue_url":"https://api.github.com/repos/cyoung/stratux/issues/545","id":267367795,"user":{"login":"johnpayne","id":3162571,"avatar_url":"https://avatars.githubusercontent.com/u/3162571?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpayne","html_url":"https://github.com/johnpayne","followers_url":"https://api.github.com/users/johnpayne/followers","following_url":"https://api.github.com/users/johnpayne/following{/other_user}","gists_url":"https://api.github.com/users/johnpayne/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpayne/subscriptions","organizations_url":"https://api.github.com/users/johnpayne/orgs","repos_url":"https://api.github.com/users/johnpayne/repos","events_url":"https://api.github.com/users/johnpayne/events{/privacy}","received_events_url":"https://api.github.com/users/johnpayne/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T16:11:31Z","updated_at":"2016-12-15T16:11:31Z","body":"Thanks, i'll try that."}}
{"actor":{"display_login":"johnpayne"}}