{"action":"created","issue":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/153","labels_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/153/comments","events_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/153/events","html_url":"https://github.com/kyamagu/mexopencv/issues/153","id":72849434,"number":153,"title":"Error in mexopencv.make (line 149)","user":{"login":"sbowman487","id":12202889,"avatar_url":"https://avatars.githubusercontent.com/u/12202889?v=3","gravatar_id":"","url":"https://api.github.com/users/sbowman487","html_url":"https://github.com/sbowman487","followers_url":"https://api.github.com/users/sbowman487/followers","following_url":"https://api.github.com/users/sbowman487/following{/other_user}","gists_url":"https://api.github.com/users/sbowman487/gists{/gist_id}","starred_url":"https://api.github.com/users/sbowman487/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbowman487/subscriptions","organizations_url":"https://api.github.com/users/sbowman487/orgs","repos_url":"https://api.github.com/users/sbowman487/repos","events_url":"https://api.github.com/users/sbowman487/events{/privacy}","received_events_url":"https://api.github.com/users/sbowman487/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-03T19:04:31Z","updated_at":"2015-12-01T17:45:41Z","closed_at":"2015-05-04T00:35:18Z","body":"I get this error after running mexopencv.make('opencv_path','C:\\Program Files\\opencv\\build').  I've tried using multiple versions of MATLAB, Visual Studio, and OpenCV.  I get the same error every time and have no idea what's going on.  I've even tried on multiple machines, one PC running Windows 7 the other a Mac running Windows 7 through Parallels 10.  The full error is listed below, any help is greatly appreciated.\r\n\r\nmex -largeArrayDims   -I'\\\\psf\\Home\\Downloads\\kyamagu-mexopencv-24b0b0c\\include' -I'c:\\opencv\\build\\include' -L'c:\\opencv\\build\\x64\\vc12\\lib'  -lopencv_calib3d2410 -lopencv_contrib2410 -lopencv_core2410 -lopencv_features2d2410 -lopencv_flann2410 -lopencv_gpu2410 -lopencv_highgui2410 -lopencv_imgproc2410 -lopencv_legacy2410 -lopencv_ml2410 -lopencv_nonfree2410 -lopencv_objdetect2410 -lopencv_ocl2410 -lopencv_photo2410 -lopencv_stitching2410 -lopencv_superres2410 -lopencv_ts2410 -lopencv_video2410 -lopencv_videostab2410 '\\\\psf\\Home\\Downloads\\kyamagu-mexopencv-24b0b0c\\src\\+cv\\drawMatches.cpp' '\\\\psf\\Home\\Downloads\\kyamagu-mexopencv-24b0b0c\\lib\\MxArray.obj' -output '\\\\psf\\Home\\Downloads\\kyamagu-mexopencv-24b0b0c\\+cv\\drawMatches'\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nError using mex\r\n   Creating library \\\\psf\\Home\\Downloads\\kyamagu-mexopencv-24b0b0c\\+cv\\drawMatches.lib and object\r\n   \\\\psf\\Home\\Downloads\\kyamagu-mexopencv-24b0b0c\\+cv\\drawMatches.exp\r\ndrawMatches.obj : error LNK2019: unresolved external symbol \"public: class std::vector<struct\r\ncv::DMatch,class std::allocator<struct cv::DMatch> > __cdecl MxArray::toVector<struct cv::DMatch>(void)const\r\n\" (??$toVector@UDMatch@cv@@@MxArray@@QEBA?AV?$vector@UDMatch@cv@@V?$allocator@UDMatch@cv@@@std@@@std@@XZ)\r\nreferenced in function mexFunction\r\n\\\\psf\\Home\\Downloads\\kyamagu-mexopencv-24b0b0c\\+cv\\drawMatches.mexw64 : fatal error LNK1120: 1 unresolved\r\nexternals\r\n\r\n\r\n\r\nError in mexopencv.make (line 149)\r\n            if ~opts.dryrun, eval(cmd); end"},"comment":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/comments/161044810","html_url":"https://github.com/kyamagu/mexopencv/issues/153#issuecomment-161044810","issue_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/153","id":161044810,"user":{"login":"hgras","id":7266772,"avatar_url":"https://avatars.githubusercontent.com/u/7266772?v=3","gravatar_id":"","url":"https://api.github.com/users/hgras","html_url":"https://github.com/hgras","followers_url":"https://api.github.com/users/hgras/followers","following_url":"https://api.github.com/users/hgras/following{/other_user}","gists_url":"https://api.github.com/users/hgras/gists{/gist_id}","starred_url":"https://api.github.com/users/hgras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgras/subscriptions","organizations_url":"https://api.github.com/users/hgras/orgs","repos_url":"https://api.github.com/users/hgras/repos","events_url":"https://api.github.com/users/hgras/events{/privacy}","received_events_url":"https://api.github.com/users/hgras/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T17:45:41Z","updated_at":"2015-12-01T17:45:41Z","body":"It was not the problem, it tried it. The problem was using 2.4.9 opencv. I fixed it using opencv3"}}