{"action":"opened","issue":{"url":"https://api.github.com/repos/intel/nn-hal/issues/9","repository_url":"https://api.github.com/repos/intel/nn-hal","labels_url":"https://api.github.com/repos/intel/nn-hal/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/intel/nn-hal/issues/9/comments","events_url":"https://api.github.com/repos/intel/nn-hal/issues/9/events","html_url":"https://github.com/intel/nn-hal/issues/9","id":356071284,"node_id":"MDU6SXNzdWUzNTYwNzEyODQ=","number":9,"title":"Compilation error while compiling NN-HAL","user":{"login":"kumarkan","id":22826669,"node_id":"MDQ6VXNlcjIyODI2NjY5","avatar_url":"https://avatars1.githubusercontent.com/u/22826669?v=4","gravatar_id":"","url":"https://api.github.com/users/kumarkan","html_url":"https://github.com/kumarkan","followers_url":"https://api.github.com/users/kumarkan/followers","following_url":"https://api.github.com/users/kumarkan/following{/other_user}","gists_url":"https://api.github.com/users/kumarkan/gists{/gist_id}","starred_url":"https://api.github.com/users/kumarkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumarkan/subscriptions","organizations_url":"https://api.github.com/users/kumarkan/orgs","repos_url":"https://api.github.com/users/kumarkan/repos","events_url":"https://api.github.com/users/kumarkan/events{/privacy}","received_events_url":"https://api.github.com/users/kumarkan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-31T17:51:37Z","updated_at":"2018-08-31T17:51:37Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI see this below compilation error while compiling NN-HAL\r\nexternal/nn-hal/Intel_movidius_nn_hal/libncs/ncsdk-1.12.00.01/api/src/usb_link_vsc.c:171:2: error: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Werror,-Wimplicit-function-declaration]\r\n        memset(&header, 0, sizeof(header));\r\n        ^\r\nexternal/nn-hal/Intel_movidius_nn_hal/libncs/ncsdk-1.12.00.01/api/src/usb_link_vsc.c:171:2: note: include the header <string.h> or explicitly provide a declaration for 'memset'\r\nexternal/nn-hal/Intel_movidius_nn_hal/libncs/ncsdk-1.12.00.01/api/src/usb_link_vsc.c:174:2: error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Werror,-Wimplicit-function-declaration]\r\n        strcpy(header.name, name);\r\n        ^\r\nexternal/nn-hal/Intel_movidius_nn_hal/libncs/ncsdk-1.12.00.01/api/src/usb_link_vsc.c:174:2: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'\r\n2 errors generated.\r\n\r\nIssue is fixed after adding adding #include <string.h> to usb_link_vsc.c file. "}}
{"actor":{"display_login":"kumarkan"}}