{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/pc-ble-driver/issues/11","repository_url":"https://api.github.com/repos/NordicSemiconductor/pc-ble-driver","labels_url":"https://api.github.com/repos/NordicSemiconductor/pc-ble-driver/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/pc-ble-driver/issues/11/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/pc-ble-driver/issues/11/events","html_url":"https://github.com/NordicSemiconductor/pc-ble-driver/issues/11","id":162141764,"number":11,"title":"driver for raspberry pi","user":{"login":"angelovAlex","id":4116419,"avatar_url":"https://avatars.githubusercontent.com/u/4116419?v=3","gravatar_id":"","url":"https://api.github.com/users/angelovAlex","html_url":"https://github.com/angelovAlex","followers_url":"https://api.github.com/users/angelovAlex/followers","following_url":"https://api.github.com/users/angelovAlex/following{/other_user}","gists_url":"https://api.github.com/users/angelovAlex/gists{/gist_id}","starred_url":"https://api.github.com/users/angelovAlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelovAlex/subscriptions","organizations_url":"https://api.github.com/users/angelovAlex/orgs","repos_url":"https://api.github.com/users/angelovAlex/repos","events_url":"https://api.github.com/users/angelovAlex/events{/privacy}","received_events_url":"https://api.github.com/users/angelovAlex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-24T13:00:50Z","updated_at":"2016-06-24T13:15:08Z","closed_at":null,"body":"I tried to compile the driver on raspberry pi. Most of files (87%) were successfully compiled, but there're a lot of compile errors in this file:\r\n`Building CXX object CMakeFiles/pc_ble_driver_obj.dir/src/sd_rpc_impl.cpp.o`\r\n\r\n```\r\nIn file included from /usr/include/c++/4.9/thread:35:0,\r\n                 from /home/pi/command_line_tools/pc-ble-driver/include/internal/transport/serialization_transport.h:45,\r\n                 from /home/pi/command_line_tools/pc-ble-driver/include/internal/adapter_internal.h:42,\r\n                 from /home/pi/command_line_tools/pc-ble-driver/src/sd_rpc_impl.cpp:40:\r\n/usr/include/c++/4.9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.\r\n #error This file requires compiler and library support for the \\\r\n  ^\r\nIn file included from /home/pi/command_line_tools/pc-ble-driver/include/internal/transport/serialization_transport.h:41:0,\r\n                 from /home/pi/command_line_tools/pc-ble-driver/include/internal/adapter_internal.h:42,\r\n                 from /home/pi/command_line_tools/pc-ble-driver/src/sd_rpc_impl.cpp:40:\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:49:14: error: ‘function’ in namespace ‘std’ does not name a template type\r\n typedef std::function<void(sd_rpc_app_status_t code, const char *message)> status_cb_t;\r\n              ^\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:50:14: error: ‘function’ in namespace ‘std’ does not name a template type\r\n typedef std::function<void(uint8_t *data, size_t length)> data_cb_t;\r\n              ^\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:51:14: error: ‘function’ in namespace ‘std’ does not name a template type\r\n typedef std::function<void(sd_rpc_log_severity_t severity, std::string message)> log_cb_t;\r\n              ^\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:56:27: error: ‘status_cb_t’ has not been declared\r\n     virtual uint32_t open(status_cb_t status_callback, data_cb_t data_callback, log_cb_t log_callback);\r\n                           ^\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:56:56: error: ‘data_cb_t’ has not been declared\r\n     virtual uint32_t open(status_cb_t status_callback, data_cb_t data_callback, log_cb_t log_callback);\r\n                                                        ^\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:56:81: error: ‘log_cb_t’ has not been declared\r\n     virtual uint32_t open(status_cb_t status_callback, data_cb_t data_callback, log_cb_t log_callback);\r\n                                                                                 ^\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:63:5: error: ‘status_cb_t’ does not name a type\r\n     status_cb_t statusCallback;\r\n     ^\r\n/home/pi/command_line_tools/pc-ble-driver/include/internal/transport/transport.h:64:5: error: ‘data_cb_t’ does not name a type\r\n     data_cb_t dataCallback;\r\n```\r\nand lots more..."},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/pc-ble-driver/issues/comments/228342098","html_url":"https://github.com/NordicSemiconductor/pc-ble-driver/issues/11#issuecomment-228342098","issue_url":"https://api.github.com/repos/NordicSemiconductor/pc-ble-driver/issues/11","id":228342098,"user":{"login":"carlescufi","id":12450381,"avatar_url":"https://avatars.githubusercontent.com/u/12450381?v=3","gravatar_id":"","url":"https://api.github.com/users/carlescufi","html_url":"https://github.com/carlescufi","followers_url":"https://api.github.com/users/carlescufi/followers","following_url":"https://api.github.com/users/carlescufi/following{/other_user}","gists_url":"https://api.github.com/users/carlescufi/gists{/gist_id}","starred_url":"https://api.github.com/users/carlescufi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlescufi/subscriptions","organizations_url":"https://api.github.com/users/carlescufi/orgs","repos_url":"https://api.github.com/users/carlescufi/repos","events_url":"https://api.github.com/users/carlescufi/events{/privacy}","received_events_url":"https://api.github.com/users/carlescufi/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T13:15:08Z","updated_at":"2016-06-24T13:15:08Z","body":"I see. The RPi has an ARM processor so I haven't really accounted for that or checked it. I will try to build it and report back"}}
{"actor":{"display_login":"carlescufi"}}