{"action":"created","issue":{"url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/75","repository_url":"https://api.github.com/repos/ryanbinns/ttwatch","labels_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/75/comments","events_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/75/events","html_url":"https://github.com/ryanbinns/ttwatch/issues/75","id":147209115,"number":75,"title":"Porting to freebsd","user":{"login":"polle58","id":18376632,"avatar_url":"https://avatars.githubusercontent.com/u/18376632?v=3","gravatar_id":"","url":"https://api.github.com/users/polle58","html_url":"https://github.com/polle58","followers_url":"https://api.github.com/users/polle58/followers","following_url":"https://api.github.com/users/polle58/following{/other_user}","gists_url":"https://api.github.com/users/polle58/gists{/gist_id}","starred_url":"https://api.github.com/users/polle58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polle58/subscriptions","organizations_url":"https://api.github.com/users/polle58/orgs","repos_url":"https://api.github.com/users/polle58/repos","events_url":"https://api.github.com/users/polle58/events{/privacy}","received_events_url":"https://api.github.com/users/polle58/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-04-10T09:26:59Z","updated_at":"2016-05-18T15:40:38Z","closed_at":null,"body":"I use ttwatch under linuc and it works very good. However I prefer to use freebsd, tried to install ttwatch but it fails according to find libusb. Would it be posible to port ttwtch to freebsd?"},"comment":{"url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/comments/220067456","html_url":"https://github.com/ryanbinns/ttwatch/issues/75#issuecomment-220067456","issue_url":"https://api.github.com/repos/ryanbinns/ttwatch/issues/75","id":220067456,"user":{"login":"polle58","id":18376632,"avatar_url":"https://avatars.githubusercontent.com/u/18376632?v=3","gravatar_id":"","url":"https://api.github.com/users/polle58","html_url":"https://github.com/polle58","followers_url":"https://api.github.com/users/polle58/followers","following_url":"https://api.github.com/users/polle58/following{/other_user}","gists_url":"https://api.github.com/users/polle58/gists{/gist_id}","starred_url":"https://api.github.com/users/polle58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polle58/subscriptions","organizations_url":"https://api.github.com/users/polle58/orgs","repos_url":"https://api.github.com/users/polle58/repos","events_url":"https://api.github.com/users/polle58/events{/privacy}","received_events_url":"https://api.github.com/users/polle58/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T15:40:38Z","updated_at":"2016-05-18T15:40:38Z","body":"When I try with gmake instead of make:\r\n$ cd /home/eddy/Downloads/ttwatch-master\r\n$  mkdir build\r\n$ cd build && cmake .. -Ddaemon=off\r\n-- The C compiler identification is Clang 3.4.1\r\n-- The CXX compiler identification is Clang 3.4.1\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/bin/CC\r\n-- Check for working CXX compiler: /usr/bin/CC -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Found CURL: /usr/local/lib/libcurl.so (found version \"7.48.0\") \r\n-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found version \"1.0.1s\") \r\n-- Found libusb-1.0:\r\n--  - Includes: /usr/include\r\n--  - Libraries: /usr/lib/libusb.so\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/eddy/Downloads/ttwatch-master/build\r\n$ gmake\r\nScanning dependencies of target libttbin\r\n[  5%] Building C object CMakeFiles/libttbin.dir/src/export_csv.c.o\r\n[ 11%] Building C object CMakeFiles/libttbin.dir/src/export_gpx.c.o\r\n[ 16%] Building C object CMakeFiles/libttbin.dir/src/export_kml.c.o\r\n[ 22%] Building C object CMakeFiles/libttbin.dir/src/export_tcx.c.o\r\n[ 27%] Building C object CMakeFiles/libttbin.dir/src/ttbin.c.o\r\n[ 33%] Linking C static library libttbin.a\r\n[ 33%] Built target libttbin\r\nScanning dependencies of target ttbincnv\r\n[ 38%] Building C object CMakeFiles/ttbincnv.dir/src/ttbincnv.c.o\r\n[ 44%] Linking C executable ttbincnv\r\n[ 44%] Built target ttbincnv\r\nScanning dependencies of target libttwatch\r\n[ 50%] Building CXX object CMakeFiles/libttwatch.dir/src/libttwatch.cpp.o\r\n/home/eddy/Downloads/ttwatch-master/src/libttwatch.cpp:14:10: fatal error: 'endian.h' file\r\n      not found\r\n#include \"endian.h\"\r\n         ^\r\n1 error generated.\r\nCMakeFiles/libttwatch.dir/build.make:62: recipe for target 'CMakeFiles/libttwatch.dir/src/libttwatch.cpp.o' failed\r\ngmake[2]: *** [CMakeFiles/libttwatch.dir/src/libttwatch.cpp.o] Error 1\r\nCMakeFiles/Makefile2:249: recipe for target 'CMakeFiles/libttwatch.dir/all' failed\r\ngmake[1]: *** [CMakeFiles/libttwatch.dir/all] Error 2\r\nMakefile:127: recipe for target 'all' failed\r\ngmake: *** [all] Error 2\r\n"}}