{"action":"created","issue":{"url":"https://api.github.com/repos/intel-iot-devkit/how-to-code-samples/issues/8","repository_url":"https://api.github.com/repos/intel-iot-devkit/how-to-code-samples","labels_url":"https://api.github.com/repos/intel-iot-devkit/how-to-code-samples/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/intel-iot-devkit/how-to-code-samples/issues/8/comments","events_url":"https://api.github.com/repos/intel-iot-devkit/how-to-code-samples/issues/8/events","html_url":"https://github.com/intel-iot-devkit/how-to-code-samples/issues/8","id":196300498,"number":8,"title":"cpp/ble-scan-bracelet not compiling","user":{"login":"sideralis","id":8005596,"avatar_url":"https://avatars.githubusercontent.com/u/8005596?v=3","gravatar_id":"","url":"https://api.github.com/users/sideralis","html_url":"https://github.com/sideralis","followers_url":"https://api.github.com/users/sideralis/followers","following_url":"https://api.github.com/users/sideralis/following{/other_user}","gists_url":"https://api.github.com/users/sideralis/gists{/gist_id}","starred_url":"https://api.github.com/users/sideralis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sideralis/subscriptions","organizations_url":"https://api.github.com/users/sideralis/orgs","repos_url":"https://api.github.com/users/sideralis/repos","events_url":"https://api.github.com/users/sideralis/events{/privacy}","received_events_url":"https://api.github.com/users/sideralis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-18T21:29:37Z","updated_at":"2017-01-17T07:44:03Z","closed_at":null,"body":"When trying to compile with Intel System Studio IoT Edition, I am getting a lot of errors:\r\n`docker exec -i c01a0741191ec8070e38d7efba43bf11c58aa18e9a7afc7c8920e19f3e63b808 /bin/bash -c \"cd /workspace/BLE_scan_bracelet/Debug && i586-poky-linux-g++ -std=c++1y -I/usr/include/upm -I/usr/include/mraa -O0 -g3 -Wall -c -fmessage-length=0 -std=c++1y --sysroot= -m32  -march=i586 -c  -ffunction-sections  -fdata-sections -o src/src/ble-scan.o ../src/src/ble-scan.cpp\" `\r\n`In file included from ../src/src/ble-scan.cpp:68:0:`\r\n`/usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_le64(const void*)':`\r\n`/usr/include/bluetooth/bluetooth.h:177:9: error: expected identifier before '*' token`\r\n`  return bt_get_unaligned((const uint64_t *) ptr);`\r\n`        ^`\r\n`...`\r\nI am not familiar with docker and I don't understand how I can modify the file bluetooth.h to try to debug.\r\n"},"comment":{"url":"https://api.github.com/repos/intel-iot-devkit/how-to-code-samples/issues/comments/273043482","html_url":"https://github.com/intel-iot-devkit/how-to-code-samples/issues/8#issuecomment-273043482","issue_url":"https://api.github.com/repos/intel-iot-devkit/how-to-code-samples/issues/8","id":273043482,"user":{"login":"ObjSal","id":1055104,"avatar_url":"https://avatars.githubusercontent.com/u/1055104?v=3","gravatar_id":"","url":"https://api.github.com/users/ObjSal","html_url":"https://github.com/ObjSal","followers_url":"https://api.github.com/users/ObjSal/followers","following_url":"https://api.github.com/users/ObjSal/following{/other_user}","gists_url":"https://api.github.com/users/ObjSal/gists{/gist_id}","starred_url":"https://api.github.com/users/ObjSal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ObjSal/subscriptions","organizations_url":"https://api.github.com/users/ObjSal/orgs","repos_url":"https://api.github.com/users/ObjSal/repos","events_url":"https://api.github.com/users/ObjSal/events{/privacy}","received_events_url":"https://api.github.com/users/ObjSal/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T07:44:03Z","updated_at":"2017-01-17T07:44:03Z","body":"@sideralis your suggestion actually works, Thanks!\r\n\r\nFor reference here's a link to the patch:\r\nhttp://git.kernel.org/cgit/bluetooth/bluez.git/commit/lib/bluetooth.h?id=cf52a40302d0d20ccca22a7a1f53e46ef8abfca8\r\n\r\nLooks like a very old patch, I don't know why Intel is taking a lot time to add this patch, or maybe it's not intel but something to do with the docket images? This is the first time using docker... so just throwing random thoughts."}}
{"actor":{"display_login":"ObjSal"}}