{"action":"created","issue":{"url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1047","repository_url":"https://api.github.com/repos/AlexeyAB/darknet","labels_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1047/labels{/name}","comments_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1047/comments","events_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1047/events","html_url":"https://github.com/AlexeyAB/darknet/issues/1047","id":332809697,"node_id":"MDU6SXNzdWUzMzI4MDk2OTc=","number":1047,"title":"yolo_console_dll.obj : error LNK2001: unresolved external symbol","user":{"login":"deimsdeutsch","id":39468654,"node_id":"MDQ6VXNlcjM5NDY4NjU0","avatar_url":"https://avatars1.githubusercontent.com/u/39468654?v=4","gravatar_id":"","url":"https://api.github.com/users/deimsdeutsch","html_url":"https://github.com/deimsdeutsch","followers_url":"https://api.github.com/users/deimsdeutsch/followers","following_url":"https://api.github.com/users/deimsdeutsch/following{/other_user}","gists_url":"https://api.github.com/users/deimsdeutsch/gists{/gist_id}","starred_url":"https://api.github.com/users/deimsdeutsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deimsdeutsch/subscriptions","organizations_url":"https://api.github.com/users/deimsdeutsch/orgs","repos_url":"https://api.github.com/users/deimsdeutsch/repos","events_url":"https://api.github.com/users/deimsdeutsch/events{/privacy}","received_events_url":"https://api.github.com/users/deimsdeutsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-15T15:01:36Z","updated_at":"2018-06-19T10:11:32Z","closed_at":null,"author_association":"NONE","body":"Have not been able to compile. Looks like some configuration issue. Any idea how to fix this ?\r\n\r\n```\r\n1>yolo_console_dll.obj : error LNK2001: unresolved external symbol \"__declspec(dllimport) public: class std::vector<struct bbox_t,class std::allocator<struct bbox_t> > __cdecl Detector::tracking_id(class std::vector<struct bbox_t,class std::allocator<struct bbox_t> >,bool,int,int)\" (__imp_?tracking_id@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V23@_NHH@Z)\r\n1>yolo_console_dll.obj : error LNK2001: unresolved external symbol \"__declspec(dllimport) public: int __cdecl Detector::get_net_height(void)const \" (__imp_?get_net_height@Detector@@QEBAHXZ)\r\n1>yolo_console_dll.obj : error LNK2001: unresolved external symbol \"__declspec(dllimport) public: int __cdecl Detector::get_net_width(void)const \" (__imp_?get_net_width@Detector@@QEBAHXZ)\r\n1>yolo_console_dll.obj : error LNK2001: unresolved external symbol \"__declspec(dllimport) public: static void __cdecl Detector::free_image(struct image_t)\" (__imp_?free_image@Detector@@SAXUimage_t@@@Z)\r\n1>yolo_console_dll.obj : error LNK2001: unresolved external symbol \"__declspec(dllimport) public: class std::vector<struct bbox_t,class std::allocator<struct bbox_t> > __cdecl Detector::detect(struct image_t,float,bool)\" (__imp_?detect@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@Uimage_t@@M_N@Z)\r\n1>yolo_console_dll.obj : error LNK2001: unresolved external symbol \"__declspec(dllimport) public: __cdecl Detector::~Detector(void)\" (__imp_??1Detector@@QEAA@XZ)\r\n1>yolo_console_dll.obj : error LNK2001: unresolved external symbol \"__declspec(dllimport) public: __cdecl Detector::Detector(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int)\" (__imp_??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z)\r\n1>E:\\darknet\\build\\darknet\\x64\\yolo_console_dll.exe : fatal error LNK1120: 7 unresolved externals\r\n1>Done building project \"yolo_console_dll.vcxproj\" -- FAILED.\r\n========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========\r\n```"},"comment":{"url":"https://api.github.com/repos/AlexeyAB/darknet/issues/comments/398348126","html_url":"https://github.com/AlexeyAB/darknet/issues/1047#issuecomment-398348126","issue_url":"https://api.github.com/repos/AlexeyAB/darknet/issues/1047","id":398348126,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODM0ODEyNg==","user":{"login":"anujak28","id":39342601,"node_id":"MDQ6VXNlcjM5MzQyNjAx","avatar_url":"https://avatars1.githubusercontent.com/u/39342601?v=4","gravatar_id":"","url":"https://api.github.com/users/anujak28","html_url":"https://github.com/anujak28","followers_url":"https://api.github.com/users/anujak28/followers","following_url":"https://api.github.com/users/anujak28/following{/other_user}","gists_url":"https://api.github.com/users/anujak28/gists{/gist_id}","starred_url":"https://api.github.com/users/anujak28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anujak28/subscriptions","organizations_url":"https://api.github.com/users/anujak28/orgs","repos_url":"https://api.github.com/users/anujak28/repos","events_url":"https://api.github.com/users/anujak28/events{/privacy}","received_events_url":"https://api.github.com/users/anujak28/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T10:11:32Z","updated_at":"2018-06-19T10:11:32Z","author_association":"NONE","body":"I'm facing the same issue. I built `yolo_cpp_dll.sln` successfully and I got this same error while building `yolo_console_dll.sln` "}}
{"actor":{"display_login":"anujak28"}}