{"action":"created","issue":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/297","repository_url":"https://api.github.com/repos/kyamagu/mexopencv","labels_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/297/comments","events_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/297/events","html_url":"https://github.com/kyamagu/mexopencv/issues/297","id":190254274,"number":297,"title":"Matlab2014 with vs2010 \\opencv_contrib issues error LNK2019","user":{"login":"nutsqiang","id":19388084,"avatar_url":"https://avatars.githubusercontent.com/u/19388084?v=3","gravatar_id":"","url":"https://api.github.com/users/nutsqiang","html_url":"https://github.com/nutsqiang","followers_url":"https://api.github.com/users/nutsqiang/followers","following_url":"https://api.github.com/users/nutsqiang/following{/other_user}","gists_url":"https://api.github.com/users/nutsqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/nutsqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutsqiang/subscriptions","organizations_url":"https://api.github.com/users/nutsqiang/orgs","repos_url":"https://api.github.com/users/nutsqiang/repos","events_url":"https://api.github.com/users/nutsqiang/events{/privacy}","received_events_url":"https://api.github.com/users/nutsqiang/received_events","type":"User","site_admin":false},"labels":[{"id":479913241,"url":"https://api.github.com/repos/kyamagu/mexopencv/labels/build/install","name":"build/install","color":"c5def5","default":false},{"id":479914902,"url":"https://api.github.com/repos/kyamagu/mexopencv/labels/opencv-3","name":"opencv-3","color":"fef2c0","default":false},{"id":479917258,"url":"https://api.github.com/repos/kyamagu/mexopencv/labels/windows","name":"windows","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-18T07:33:42Z","updated_at":"2016-11-22T01:51:25Z","closed_at":null,"body":"```\r\nError using mex\r\n   正在创建库 （Creating library）D:\\dev\\mexopencv\\opencv_contrib\\+cv\\private\\Dataset_.lib 和对象（and class）\r\n   D:\\dev\\mexopencv\\opencv_contrib\\+cv\\private\\Dataset_.exp\r\nDataset_.obj : error LNK2019: 无法解析的外部符号（unresolved external symbol）;\r\n \"public: static struct cv::Ptr<class cv::datasets::TRACK_vot> __cdecl cv::datasets::TRACK_vot::create(void)\"\r\n(?create@TRACK_vot@datasets@cv@@SA?AU?$Ptr@VTRACK_vot@datasets@cv@@@3@XZ)，\r\n该符号在函数(this symbol in function) \r\n\"struct cv::Ptr<class cv::datasets::Dataset> __cdecl `anonymous namespace'::create_Dataset(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\"\r\n(?create_Dataset@?A0x7ae8552b@@YA?AU?$Ptr@VDataset@datasets@cv@@@cv@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)\r\n中被引用(be cited)\r\n```\r\n\r\nthe content in bracket is translated for Chinese,my english is very poor.\r\nwhat can I do?\r\n"},"comment":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/comments/262124605","html_url":"https://github.com/kyamagu/mexopencv/issues/297#issuecomment-262124605","issue_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/297","id":262124605,"user":{"login":"nutsqiang","id":19388084,"avatar_url":"https://avatars.githubusercontent.com/u/19388084?v=3","gravatar_id":"","url":"https://api.github.com/users/nutsqiang","html_url":"https://github.com/nutsqiang","followers_url":"https://api.github.com/users/nutsqiang/followers","following_url":"https://api.github.com/users/nutsqiang/following{/other_user}","gists_url":"https://api.github.com/users/nutsqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/nutsqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nutsqiang/subscriptions","organizations_url":"https://api.github.com/users/nutsqiang/orgs","repos_url":"https://api.github.com/users/nutsqiang/repos","events_url":"https://api.github.com/users/nutsqiang/events{/privacy}","received_events_url":"https://api.github.com/users/nutsqiang/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T01:51:25Z","updated_at":"2016-11-22T01:51:25Z","body":"When I input this “mexopencv.make('opencv_path','D:\\dev\\build\\install', 'verbose',2)”,it can mex successful.However,it doesn’t include “opencv_contrib”.\r\nWhen I run “mexopencv.make('opencv_path','D:\\dev\\buildnew\\install', 'opencv_contrib',true)” ,it will show the massage\r\n “错误使用 mex\r\n   正在创建库 D:\\dev\\mexopencv\\opencv_contrib\\+cv\\private\\Dataset_.lib 和对象\r\n   D:\\dev\\mexopencv\\opencv_contrib\\+cv\\private\\Dataset_.exp\r\nDataset_.obj : error LNK2019: 无法解析的外部符号 \"public: static struct cv::Ptr<class cv::datasets::TRACK_vot> __cdecl\r\ncv::datasets::TRACK_vot::create(void)\"\r\n(?create@TRACK_vot@datasets@cv@@SA?AU?$Ptr@VTRACK_vot@datasets@cv@@@3@XZ)，该符号在函数 \"struct cv::Ptr<class\r\ncv::datasets::Dataset> __cdecl `anonymous namespace'::create_Dataset(class std::basic_string<char,struct\r\nstd::char_traits<char>,class std::allocator<char> > const &)\"\r\n(?create_Dataset@?A0x7ae8552b@@YA?AU?$Ptr@VDataset@datasets@cv@@@cv@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)\r\n中被引用\r\n出错 mexopencv.make (line 139)\r\n            if ~opts.dryrun, eval(cmd); end\r\n”\r\nI download from \"https://github.com/opencv/opencv_contrib/releases/tag/3.1.0\",and the mexopencv is the master.So the version should be right.\r\n"}}
{"actor":{"display_login":"nutsqiang"}}