{"action":"closed","issue":{"url":"https://api.github.com/repos/olegstepura/temper-hum-hid/issues/6","labels_url":"https://api.github.com/repos/olegstepura/temper-hum-hid/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/olegstepura/temper-hum-hid/issues/6/comments","events_url":"https://api.github.com/repos/olegstepura/temper-hum-hid/issues/6/events","html_url":"https://github.com/olegstepura/temper-hum-hid/issues/6","id":32009053,"number":6,"title":"How to build","user":{"login":"dg9ngf","id":868315,"avatar_url":"https://avatars.githubusercontent.com/u/868315?v=3","gravatar_id":"","url":"https://api.github.com/users/dg9ngf","html_url":"https://github.com/dg9ngf","followers_url":"https://api.github.com/users/dg9ngf/followers","following_url":"https://api.github.com/users/dg9ngf/following{/other_user}","gists_url":"https://api.github.com/users/dg9ngf/gists{/gist_id}","starred_url":"https://api.github.com/users/dg9ngf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg9ngf/subscriptions","organizations_url":"https://api.github.com/users/dg9ngf/orgs","repos_url":"https://api.github.com/users/dg9ngf/repos","events_url":"https://api.github.com/users/dg9ngf/events{/privacy}","received_events_url":"https://api.github.com/users/dg9ngf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-04-22T20:45:16Z","updated_at":"2015-12-15T21:04:52Z","closed_at":"2015-12-15T21:04:52Z","body":"What are the instructions to build this software?\r\n\r\nI have a Raspberry Pi with Raspbian Linux, based on Debian wheezy. Git and make are installed, I also added the libusb-dev package. I get the following output from 'make':\r\n\r\nrm -f temper-hum-hid\r\ncc -Wall -g `pkg-config libusb-1.0 --cflags` temper-hum-hid-api.c temper-hum-hid-cmd.c temper-hum-hid.c -o temper-hum-hid `pkg-config libusb-1.0 libudev --libs` -lm\r\nPackage libusb-1.0 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libusb-1.0.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libusb-1.0' found\r\nPackage libusb-1.0 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libusb-1.0.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libusb-1.0' found\r\nPackage libudev was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libudev.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'libudev' found\r\ntemper-hum-hid-api.c:11:20: fatal error: libusb.h: Datei oder Verzeichnis nicht gefunden\r\ncompilation terminated.\r\ntemper-hum-hid-cmd.c: In function ‘cmdline_parser_internal’:\r\ntemper-hum-hid-cmd.c:471:7: warning: variable ‘check_required’ set but not used [-Wunused-but-set-variable]\r\nIn file included from temper-hum-hid.c:13:0:\r\ntemper-hum-hid-api.h:15:20: fatal error: libusb.h: Datei oder Verzeichnis nicht gefunden\r\ncompilation terminated.\r\nmake: *** [temper-hum-hid] Fehler 1\r\n"}}