{"action":"created","issue":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/261","repository_url":"https://api.github.com/repos/kyamagu/mexopencv","labels_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/261/comments","events_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/261/events","html_url":"https://github.com/kyamagu/mexopencv/issues/261","id":170636910,"number":261,"title":"OpenCV with Matlab2015a and Visual C++ 2012 Mexing issue","user":{"login":"nbibin001","id":15659590,"avatar_url":"https://avatars.githubusercontent.com/u/15659590?v=3","gravatar_id":"","url":"https://api.github.com/users/nbibin001","html_url":"https://github.com/nbibin001","followers_url":"https://api.github.com/users/nbibin001/followers","following_url":"https://api.github.com/users/nbibin001/following{/other_user}","gists_url":"https://api.github.com/users/nbibin001/gists{/gist_id}","starred_url":"https://api.github.com/users/nbibin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbibin001/subscriptions","organizations_url":"https://api.github.com/users/nbibin001/orgs","repos_url":"https://api.github.com/users/nbibin001/repos","events_url":"https://api.github.com/users/nbibin001/events{/privacy}","received_events_url":"https://api.github.com/users/nbibin001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-11T12:44:45Z","updated_at":"2016-08-15T15:30:38Z","closed_at":null,"body":"Hi \r\nI was trying to get the OpenCV going with Matlab 2015a.\r\nI have a 64 bit windows machine, 64 bit Matlab 2015a and Microsoft Visual C++ 2012 (C) coimpiler.\r\nSo as per the instructions I have extracted the opencv-3.1.0.exe to C:\\opencv. And in the build folder\r\nC:\\opencv\\build\\x64 I could see vc12 and vc14 folders. \r\n\r\nThen downloaded the mexopencv-master folder and extracted under C:\\Software\\OpenCV\\mexopencv-master.\r\n\r\nThen opened Matlab 2015a and added the path to the folder C:\\Software\\OpenCV\\mexopencv-master and tried to run the\r\nmake script mexopencv.make. It threw up an error saying that \r\n\r\n\"Error using mexopencv.make>pkg_config (line 294)\r\nOpenCV library path not found: C:\\opencv\\build\\x64\\vc11\\lib\"\r\n\r\nUpon further analysis it looks like the command used in make.m \r\ncc = mex.getCompilerConfigurations('C++', 'Selected') \r\nreturns the cc.Version as 11 but I dont have the vc11 folder under\r\nC:\\opencv\\build\\x64 when the  opencv-3.1.0.exe is extracted.\r\n\r\nI am not sure if I use a different version of opencv exe it will show up the vc11 folder.\r\n\r\nAfter this I have made some changes in the make.m file to select the vc12 folder for mexing.(Not sure if this is the \r\nright thing to do). Then it started mexing all the files and completed successfully. But after that when I tried to\r\nrun the facedetect.m it gave an error as below.\r\n\r\n>>run('C:\\Software\\OpenCV\\mexopencv-master\\samples\\facedetect.m')\r\nInvalid MEX-file 'C:\\Software\\OpenCV\\mexopencv-master\\+cv\\private\\CascadeClassifier_.mexw64': The specified\r\nmodule could not be found.\r\n\r\nError in cv.CascadeClassifier (line 113)\r\n            this.id = CascadeClassifier_(0, 'new');\r\n\r\nError in facedetect (line 8)\r\nclassifier = cv.CascadeClassifier(xml_file);\r\n\r\nError in run (line 64)\r\nevalin('caller', [script ';']);\r\n\r\n\r\nReally appreciate any help/suggestions to resolve this."},"comment":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/comments/239833513","html_url":"https://github.com/kyamagu/mexopencv/issues/261#issuecomment-239833513","issue_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/261","id":239833513,"user":{"login":"nbibin001","id":15659590,"avatar_url":"https://avatars.githubusercontent.com/u/15659590?v=3","gravatar_id":"","url":"https://api.github.com/users/nbibin001","html_url":"https://github.com/nbibin001","followers_url":"https://api.github.com/users/nbibin001/followers","following_url":"https://api.github.com/users/nbibin001/following{/other_user}","gists_url":"https://api.github.com/users/nbibin001/gists{/gist_id}","starred_url":"https://api.github.com/users/nbibin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbibin001/subscriptions","organizations_url":"https://api.github.com/users/nbibin001/orgs","repos_url":"https://api.github.com/users/nbibin001/repos","events_url":"https://api.github.com/users/nbibin001/events{/privacy}","received_events_url":"https://api.github.com/users/nbibin001/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T15:30:38Z","updated_at":"2016-08-15T15:30:38Z","body":"Hey this is great instructions, I decided to choose the first option to compile opencv 3.1.0 using Visual Studio version I have. I have got it compiled and am able to play with Open CV in Matlab 2015a now . Thank you so much for the quick help."}}
{"actor":{"display_login":"nbibin001"}}