{"action":"created","issue":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/146","labels_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/146/comments","events_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/146/events","html_url":"https://github.com/kyamagu/mexopencv/issues/146","id":70289288,"number":146,"title":"Compile Error","user":{"login":"920496044","id":12076375,"avatar_url":"https://avatars.githubusercontent.com/u/12076375?v=3","gravatar_id":"","url":"https://api.github.com/users/920496044","html_url":"https://github.com/920496044","followers_url":"https://api.github.com/users/920496044/followers","following_url":"https://api.github.com/users/920496044/following{/other_user}","gists_url":"https://api.github.com/users/920496044/gists{/gist_id}","starred_url":"https://api.github.com/users/920496044/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/920496044/subscriptions","organizations_url":"https://api.github.com/users/920496044/orgs","repos_url":"https://api.github.com/users/920496044/repos","events_url":"https://api.github.com/users/920496044/events{/privacy}","received_events_url":"https://api.github.com/users/920496044/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-23T02:51:40Z","updated_at":"2015-09-10T07:05:58Z","closed_at":null,"body":"OS：win7\r\nmatlab ver：2015a\r\ncompiler：Microsoft Visual C++ 2012 (C) \r\n\r\neverytime I selected the compiler, I try to run the mexopencv.make, and then I will get the warning information , everytime is it . It let me crazy   +.+ ......so I want to ask for help here  ,\r\n\r\nhere is the matlab commant window information\r\n\r\n=================[ if i select  Microsoft Visual C++ 2012 (C)  compiler ]=====================\r\n\r\n>> mex -setup\r\nMEX configured to use 'Microsoft Visual C++ 2012 (C)' for C language compilation.\r\nWarning: The MATLAB C and Fortran API has changed to support MATLAB\r\n\t variables with more than 2^32-1 elements. In the near future\r\n\t you will be required to update your code to utilize the\r\n\t new API. You can find more information about this at:\r\n\t http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.\r\n\r\nTo choose a different C compiler, select one from the following:\r\nMicrosoft Visual C++ 2012 (C)  mex -setup:C:\\Users\\Marecal\\AppData\\Roaming\\MathWorks\\MATLAB\\R2015a\\mex_C_win64.xml C\r\nMicrosoft Windows SDK 7.1 (C)  mex -setup:'D:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\bin\\win64\\mexopts\\winsdk-7.1_c.xml' C\r\n\r\nTo choose a different language, select one from the following:\r\n mex -setup C++ \r\n mex -setup FORTRAN\r\nMEX configured to use 'Microsoft Visual C++ 2012' for C++ language compilation.\r\nWarning: The MATLAB C and Fortran API has changed to support MATLAB\r\n\t variables with more than 2^32-1 elements. In the near future\r\n\t you will be required to update your code to utilize the\r\n\t new API. You can find more information about this at:\r\n\t http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.\r\n\r\nTo choose a different C++ compiler, select one from the following:\r\nMicrosoft Visual C++ 2012  mex -setup:C:\\Users\\Marecal\\AppData\\Roaming\\MathWorks\\MATLAB\\R2015a\\mex_C++_win64.xml C++\r\nMicrosoft Windows SDK 7.1 (C++)  mex -setup:'D:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\bin\\win64\\mexopts\\winsdk-7.1_cpp.xml' C++\r\nMEX configured to use 'Microsoft Visual C++ 2012' for C++ language compilation.\r\nWarning: The MATLAB C and Fortran API has changed to support MATLAB\r\n\t variables with more than 2^32-1 elements. In the near future\r\n\t you will be required to update your code to utilize the\r\n\t new API. You can find more information about this at:\r\n\t http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.\r\n>> mexopencv.make\r\nSkipped \"E:\\KNIGHT\\matlab\\view\\mexopencv-master\\src\\MxArray.cpp\"\r\nmex -largeArrayDims   -I'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\include' -I'E:\\KNIGHT\\matlab\\view\\Opencv\\include' -L'E:\\KNIGHT\\matlab\\view\\Opencv\\x64\\vc11\\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 'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\src\\+cv\\CamShift.cpp' 'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\lib\\MxArray.obj' -output 'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\+cv\\CamShift'\r\nBuilding with 'Microsoft Visual C++ 2012'.\r\nError using mex\r\nCamShift.cpp\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(781) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=int\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to\r\n        make it an explicit specialization\r\n        e:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(428) : see reference to function template\r\n        instantiation 'cv::Point_<_Tp> MxArray::toPoint_<int>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=int\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(781) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=float\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(789) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=float\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(798) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=int\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(807) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=int\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(813) : warning C4267: 'initializing' : conversion\r\nfrom 'size_t' to 'int', possible loss of data\r\n        e:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(443) : see reference to function template\r\n        instantiation 'cv::Scalar_<_Tp> MxArray::toScalar_<double>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=double\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(819) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(820) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(821) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\ne:\\knight\\matlab\\view\\mexopencv-master\\include\\MxArray.hpp(822) : warning C4344: behavior change: use of\r\nexplicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\ncl : Command line error D8027 : cannot execute 'D:\\Program Files (x86)\\Microsoft Visual Studio\r\n11.0\\VC\\Bin\\amd64\\c2.dll'\r\n\r\n\r\n\r\nError in mexopencv.make (line 149)\r\n            if ~opts.dryrun, eval(cmd); end\r\n \r\n\r\n=================[ if i select  Microsoft Windows SDK 7.1 (C)   compiler ]====================\r\n\r\n>> mex -setup\r\nMEX configured to use 'Microsoft Visual C++ 2012 (C)' for C language compilation.\r\nWarning: The MATLAB C and Fortran API has changed to support MATLAB\r\n\t variables with more than 2^32-1 elements. In the near future\r\n\t you will be required to update your code to utilize the\r\n\t new API. You can find more information about this at:\r\n\t http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.\r\n\r\nTo choose a different C compiler, select one from the following:\r\nMicrosoft Visual C++ 2012 (C)  mex -setup:C:\\Users\\Marecal\\AppData\\Roaming\\MathWorks\\MATLAB\\R2015a\\mex_C_win64.xml C\r\nMicrosoft Windows SDK 7.1 (C)  mex -setup:'D:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\bin\\win64\\mexopts\\winsdk-7.1_c.xml' C\r\n\r\nTo choose a different language, select one from the following:\r\n mex -setup C++ \r\n mex -setup FORTRAN\r\nMEX configured to use 'Microsoft Visual C++ 2012' for C++ language compilation.\r\nWarning: The MATLAB C and Fortran API has changed to support MATLAB\r\n\t variables with more than 2^32-1 elements. In the near future\r\n\t you will be required to update your code to utilize the\r\n\t new API. You can find more information about this at:\r\n\t http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.\r\n\r\nTo choose a different C++ compiler, select one from the following:\r\nMicrosoft Visual C++ 2012  mex -setup:C:\\Users\\Marecal\\AppData\\Roaming\\MathWorks\\MATLAB\\R2015a\\mex_C++_win64.xml C++\r\nMicrosoft Windows SDK 7.1 (C++)  mex -setup:'D:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\bin\\win64\\mexopts\\winsdk-7.1_cpp.xml' C++\r\nMEX configured to use 'Microsoft Windows SDK 7.1 (C++)' for C++ language compilation.\r\nWarning: The MATLAB C and Fortran API has changed to support MATLAB\r\n\t variables with more than 2^32-1 elements. In the near future\r\n\t you will be required to update your code to utilize the\r\n\t new API. You can find more information about this at:\r\n\t http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.\r\n>> mexopencv.make\r\nSkipped \"E:\\KNIGHT\\matlab\\view\\mexopencv-master\\src\\MxArray.cpp\"\r\nmex -largeArrayDims   -I'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\include' -I'E:\\KNIGHT\\matlab\\view\\Opencv\\include' -L'E:\\KNIGHT\\matlab\\view\\Opencv\\x64\\vc10\\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 'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\src\\+cv\\CamShift.cpp' 'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\lib\\MxArray.obj' -output 'E:\\KNIGHT\\matlab\\view\\mexopencv-master\\+cv\\CamShift'\r\nBuilding with 'Microsoft Windows SDK 7.1 (C++)'.\r\nError using mex\r\nCamShift.cpp\r\nd:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\intrin.h(26) : fatal error C1083: Cannot open\r\ninclude file: 'ammintrin.h': No such file or directory\r\n\r\n\r\n\r\nError in mexopencv.make (line 149)\r\n            if ~opts.dryrun, eval(cmd); end\r\n "},"comment":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/comments/139134692","html_url":"https://github.com/kyamagu/mexopencv/issues/146#issuecomment-139134692","issue_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/146","id":139134692,"user":{"login":"samrasiddiqui","id":4002493,"avatar_url":"https://avatars.githubusercontent.com/u/4002493?v=3","gravatar_id":"","url":"https://api.github.com/users/samrasiddiqui","html_url":"https://github.com/samrasiddiqui","followers_url":"https://api.github.com/users/samrasiddiqui/followers","following_url":"https://api.github.com/users/samrasiddiqui/following{/other_user}","gists_url":"https://api.github.com/users/samrasiddiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/samrasiddiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samrasiddiqui/subscriptions","organizations_url":"https://api.github.com/users/samrasiddiqui/orgs","repos_url":"https://api.github.com/users/samrasiddiqui/repos","events_url":"https://api.github.com/users/samrasiddiqui/events{/privacy}","received_events_url":"https://api.github.com/users/samrasiddiqui/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T07:05:57Z","updated_at":"2015-09-10T07:05:57Z","body":"@amroamroamro Compiled successfully, But when I compile an Example mex file located in\r\n`C:\\OpenCV300\\opencv\\samples\\cpp` by command \r\n\r\n`mex -IC:\\OpenCV300\\build\\install\\include facedetect.cpp`\r\n\r\nI am getting error\r\n`Building with 'Microsoft Visual C++ 2012'.\r\nError using mex\r\n   Creating library facedetect.lib and object facedetect.exp\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::fastFree(void *)\" (?fastFree@cv@@YAXPEAX@Z) referenced in function \"public: __cdecl\r\ncv::Mat::~Mat(void)\" (??1Mat@cv@@QEAA@XZ)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"private: char * __cdecl cv::String::allocate(unsigned __int64)\" (?allocate@String@cv@@AEAAPEAD_K@Z)\r\nreferenced in function \"public: __cdecl cv::String::String(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\"\r\n(??0String@cv@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"private: void __cdecl cv::String::deallocate(void)\" (?deallocate@String@cv@@AEAAXXZ) referenced in\r\nfunction \"public: __cdecl cv::String::~String(void)\" (??1String@cv@@QEAA@XZ)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: __cdecl cv::Mat::Mat(class cv::Mat const &,class cv::Rect_<int> const &)\"\r\n(??0Mat@cv@@QEAA@AEBV01@AEBV?$Rect_@H@1@@Z) referenced in function \"public: class cv::Mat __cdecl cv::Mat::operator()(class cv::Rect_<int> const &)const \"\r\n(??RMat@cv@@QEBA?AV01@AEBV?$Rect_@H@1@@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: void __cdecl cv::Mat::copyTo(class cv::_OutputArray const &)const \"\r\n(?copyTo@Mat@cv@@QEBAXAEBV_OutputArray@2@@Z) referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: void __cdecl cv::Mat::create(int,int const *,int)\" (?create@Mat@cv@@QEAAXHPEBHH@Z) referenced in\r\nfunction \"public: __cdecl cv::Mat::Mat(int,int,int)\" (??0Mat@cv@@QEAA@HHH@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: void __cdecl cv::Mat::deallocate(void)\" (?deallocate@Mat@cv@@QEAAXXZ) referenced in function\r\n\"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\"\r\n(?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: void __cdecl cv::Mat::copySize(class cv::Mat const &)\" (?copySize@Mat@cv@@QEAAXAEBV12@@Z)\r\nreferenced in function \"public: class cv::Mat & __cdecl cv::Mat::operator=(class cv::Mat const &)\" (??4Mat@cv@@QEAAAEAV01@AEBV01@@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::flip(class cv::_InputArray const &,class cv::_OutputArray const &,int)\"\r\n(?flip@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@H@Z) referenced in function \"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class\r\ncv::CascadeClassifier &,double,bool)\" (?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvGetTickCount referenced in function \"void __cdecl detectAndDraw(class cv::Mat &,class\r\ncv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\" (?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvGetTickFrequency referenced in function \"void __cdecl detectAndDraw(class cv::Mat &,class\r\ncv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\" (?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"class cv::Mat __cdecl cv::cvarrToMat(void const *,bool,bool,int,class cv::AutoBuffer<double,136> *)\"\r\n(?cvarrToMat@cv@@YA?AVMat@1@PEBX_N1HPEAV?$AutoBuffer@N$0II@@1@@Z) referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: __cdecl cv::CascadeClassifier::CascadeClassifier(void)\" (??0CascadeClassifier@cv@@QEAA@XZ)\r\nreferenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: __cdecl cv::CascadeClassifier::~CascadeClassifier(void)\" (??1CascadeClassifier@cv@@QEAA@XZ)\r\nreferenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: bool __cdecl cv::CascadeClassifier::empty(void)const \" (?empty@CascadeClassifier@cv@@QEBA_NXZ)\r\nreferenced in function \"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\"\r\n(?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: bool __cdecl cv::CascadeClassifier::load(class cv::String const &)\"\r\n(?load@CascadeClassifier@cv@@QEAA_NAEBVString@2@@Z) referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"public: void __cdecl cv::CascadeClassifier::detectMultiScale(class cv::_InputArray const &,class\r\nstd::vector<class cv::Rect_<int>,class std::allocator<class cv::Rect_<int> > > &,double,int,int,class cv::Size_<int>,class cv::Size_<int>)\"\r\n(?detectMultiScale@CascadeClassifier@cv@@QEAAXAEBV_InputArray@2@AEAV?$vector@V?$Rect_@H@cv@@V?$allocator@V?$Rect_@H@cv@@@std@@@std@@NHHV?$Size_@H@2@2@Z) referenced\r\nin function \"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\"\r\n(?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"class cv::Mat __cdecl cv::imread(class cv::String const &,int)\"\r\n(?imread@cv@@YA?AVMat@1@AEBVString@1@H@Z) referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"int __cdecl cv::waitKey(int)\" (?waitKey@cv@@YAHH@Z) referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::imshow(class cv::String const &,class cv::_InputArray const &)\"\r\n(?imshow@cv@@YAXAEBVString@1@AEBV_InputArray@1@@Z) referenced in function \"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class\r\ncv::CascadeClassifier &,double,bool)\" (?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvCreateFileCapture referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvCreateCameraCapture referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvQueryFrame referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvReleaseCapture referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvNamedWindow referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol cvDestroyWindow referenced in function main\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::resize(class cv::_InputArray const &,class cv::_OutputArray const &,class\r\ncv::Size_<int>,double,double,int)\" (?resize@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@V?$Size_@H@1@NNH@Z) referenced in function \"void __cdecl detectAndDraw(class\r\ncv::Mat &,class cv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\" (?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::equalizeHist(class cv::_InputArray const &,class cv::_OutputArray const &)\"\r\n(?equalizeHist@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@@Z) referenced in function \"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier\r\n&,class cv::CascadeClassifier &,double,bool)\" (?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::cvtColor(class cv::_InputArray const &,class cv::_OutputArray const &,int,int)\"\r\n(?cvtColor@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HH@Z) referenced in function \"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class\r\ncv::CascadeClassifier &,double,bool)\" (?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::rectangle(class cv::_InputOutputArray const &,class cv::Point_<int>,class\r\ncv::Point_<int>,class cv::Scalar_<double> const &,int,int,int)\" (?rectangle@cv@@YAXAEBV_InputOutputArray@1@V?$Point_@H@1@1AEBV?$Scalar_@N@1@HHH@Z) referenced in\r\nfunction \"void __cdecl detectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\"\r\n(?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.obj : error LNK2019: unresolved external symbol \"void __cdecl cv::circle(class cv::_InputOutputArray const &,class cv::Point_<int>,int,class\r\ncv::Scalar_<double> const &,int,int,int)\" (?circle@cv@@YAXAEBV_InputOutputArray@1@V?$Point_@H@1@HAEBV?$Scalar_@N@1@HHH@Z) referenced in function \"void __cdecl\r\ndetectAndDraw(class cv::Mat &,class cv::CascadeClassifier &,class cv::CascadeClassifier &,double,bool)\"\r\n(?detectAndDraw@@YAXAEAVMat@cv@@AEAVCascadeClassifier@2@1N_N@Z)\r\nfacedetect.mexw64 : fatal error LNK1120: 31 unresolved externals`\r\n\r\nAs per your directions, result of\r\n\r\n`mex -v -largeArrayDims -I'C:\\OpenCV300\\mexopencv\\include' -I'C:\\OpenCV300\\build\\install\\include' -L'C:\\OpenCV300\\build\\install\\x64\\vc11\\lib' -lopencv_bgsegm300 -lopencv_calib3d300 -lopencv_core300 -lopencv_features2d300 -lopencv_flann300 -lopencv_hal300 -lopencv_highgui300 -lopencv_imgcodecs300 -lopencv_imgproc300 -lopencv_latentsvm300 -lopencv_ml300 -lopencv_objdetect300 -lopencv_optflow300 -lopencv_photo300 -lopencv_shape300 -lopencv_stitching300 -lopencv_superres300 -lopencv_video300 -lopencv_videoio300 -lopencv_videostab300 -lopencv_xfeatures2d300 'C:\\OpenCV300\\mexopencv\\src\\+cv\\CLAHE.cpp' 'C:\\OpenCV300\\mexopencv\\lib\\MxArray.obj' 'C:\\OpenCV300\\mexopencv\\lib\\mexopencv_features2d.obj' `\r\n is\r\n------------------------------------------------------------------------------------------------------------------------------- \r\n>> Verbose mode is on.\r\n... Looking for compiler 'Microsoft Visual C++ 2012' ...\r\n... Looking for registry setting 'HKLM\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7' 11.0 ...Yes ('C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\').\r\n... Looking for file 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\bin\\amd64\\cl.exe' ...Yes.\r\n... Looking for folder 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0' ...Yes.\r\n... Looking for registry setting 'HKLM\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v8.0' InstallationFolder ...No.\r\n... Looking for registry setting 'HKCU\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v8.0' InstallationFolder ...No.\r\n... Looking for registry setting 'HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.0' InstallationFolder ...Yes ('C:\\Program Files (x86)\\Windows Kits\\8.0\\').\r\n... Looking for registry setting 'HKLM\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7' 11.0 ...Yes ('C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\').\r\n... Looking for registry setting 'HKLM\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7' 11.0 ...No.\r\n... Looking for registry setting 'HKCU\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7' 11.0 ...No.\r\n... Looking for registry setting 'HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\SxS\\VC7' 11.0 ...Yes ('C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\').\r\n... Looking for environment variable 'VS110COMNTOOLS' ...Yes ('C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\').\r\n... Looking for file 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\devenv.exe' ...Yes.\r\n... Looking for registry setting 'HKLM\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7' 11.0 ...Yes ('C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\').\r\n... Looking for file 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\vcvarsall.bat' ...Yes.\r\n... Looking for folder 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC' ...Yes.\r\nFound installed compiler 'Microsoft Visual C++ 2012'.\r\nSet PATH = C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\Bin\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\Bin\\VCPackages;C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE;C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\Bin\\x64;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\Bin;;C:\\Program Files (x86)\\CMake\\bin;C:\\OpenCV300\\build\\install\\x64\\vc11\\bin\r\nSet INCLUDE = C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\ATLMFC\\INCLUDE;C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\INCLUDE;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\include\\shared;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\include\\um;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\include\\winrt;C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\include;\r\nSet LIB = C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\Lib\\amd64;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\Lib\\X64;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\lib\\win8\\um\\x64;C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\lib\\win64;C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\ATLMFC\\LIB\\amd64;\r\nSet LIBPATH = C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\Lib\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\ATLMFC\\LIB\\amd64;C:\\Program Files (x86)\\Windows Kits\\8.0\\\\lib\\win8\\um\\x64;C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\lib\\win64;;\r\nOptions file details\r\n-------------------------------------------------------------------\r\n\tCompiler location: C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\r\n\tOptions file: C:\\Users\\jamil\\AppData\\Roaming\\MathWorks\\MATLAB\\R2015a\\mex_C++_win64.xml\r\n\tCMDLINE100 : cl /c /GR /W3 /EHs /nologo /MD -IC:\\OpenCV300\\mexopencv\\include -IC:\\OpenCV300\\build\\install\\include  -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\include\" -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\simulink\\include\"  /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0   /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG C:\\OpenCV300\\mexopencv\\src\\+cv\\CLAHE.cpp /FoC:\\Users\\jamil\\AppData\\Local\\Temp\\mex_17128108554167_7632\\CLAHE.obj\r\n\tCMDLINE200 : link  /nologo  /manifest /incremental:NO /DLL   /EXPORT:mexFunction C:\\Users\\jamil\\AppData\\Local\\Temp\\mex_17128108554167_7632\\CLAHE.obj C:\\OpenCV300\\mexopencv\\lib\\MxArray.obj C:\\OpenCV300\\mexopencv\\lib\\mexopencv_features2d.obj opencv_bgsegm300.lib opencv_calib3d300.lib opencv_core300.lib opencv_features2d300.lib opencv_flann300.lib opencv_hal300.lib opencv_highgui300.lib opencv_imgcodecs300.lib opencv_imgproc300.lib opencv_latentsvm300.lib opencv_ml300.lib opencv_objdetect300.lib opencv_optflow300.lib opencv_photo300.lib opencv_shape300.lib opencv_stitching300.lib opencv_superres300.lib opencv_video300.lib opencv_videoio300.lib opencv_videostab300.lib opencv_xfeatures2d300.lib  /LIBPATH:C:\\OpenCV300\\build\\install\\x64\\vc11\\lib   /LIBPATH:\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\lib\\win64\\microsoft\" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /out:CLAHE.mexw64\r\n\tCMDLINE250 : mt -outputresource:CLAHE.mexw64;2 -manifest CLAHE.mexw64.manifest\r\n\tCMDLINE300 : del CLAHE.exp CLAHE.lib CLAHE.mexw64.manifest CLAHE.ilk\r\n\tCOMPILER : cl\r\n\tCOMPFLAGS : /GR /W3 /EHs /nologo /MD -IC:\\OpenCV300\\mexopencv\\include -IC:\\OpenCV300\\build\\install\\include  -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\include\" -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\simulink\\include\"  /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0   /DMATLAB_MEX_FILE\r\n\tCOMPDEFINES : /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0   /DMATLAB_MEX_FILE\r\n\tMATLABMEX :  /DMATLAB_MEX_FILE\r\n\tOPTIMFLAGS : /O2 /Oy- /DNDEBUG\r\n\tINCLUDE : -IC:\\OpenCV300\\mexopencv\\include -IC:\\OpenCV300\\build\\install\\include  -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\include\" -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\simulink\\include\"\r\n\tDEBUGFLAGS : /Z7\r\n\tLINKER : link\r\n\tLINKFLAGS :  /nologo  /manifest /incremental:NO\r\n\tLINKTYPE : /DLL\r\n\tLINKEXPORT :  /EXPORT:mexFunction\r\n\tLINKLIBS : opencv_bgsegm300.lib opencv_calib3d300.lib opencv_core300.lib opencv_features2d300.lib opencv_flann300.lib opencv_hal300.lib opencv_highgui300.lib opencv_imgcodecs300.lib opencv_imgproc300.lib opencv_latentsvm300.lib opencv_ml300.lib opencv_objdetect300.lib opencv_optflow300.lib opencv_photo300.lib opencv_shape300.lib opencv_stitching300.lib opencv_superres300.lib opencv_video300.lib opencv_videoio300.lib opencv_videostab300.lib opencv_xfeatures2d300.lib  /LIBPATH:C:\\OpenCV300\\build\\install\\x64\\vc11\\lib   /LIBPATH:\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\lib\\win64\\microsoft\" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib\r\n\tLINKDEBUGFLAGS : /debug /PDB:\"CLAHE.mexw64.pdb\"\r\n\tLINKOPTIMFLAGS : \r\n\tOBJEXT : .obj\r\n\tLDEXT : .mexw64\r\n\tSETENV : set COMPILER=cl \r\n\t\t\t\tset COMPFLAGS=/c /GR /W3 /EHs /nologo /MD -IC:\\OpenCV300\\mexopencv\\include -IC:\\OpenCV300\\build\\install\\include  -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\include\" -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\simulink\\include\"  /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0   /DMATLAB_MEX_FILE /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0   /DMATLAB_MEX_FILE  /DMATLAB_MEX_FILE \r\n\t\t\t\tset OPTIMFLAGS=/O2 /Oy- /DNDEBUG \r\n\t\t\t\tset DEBUGFLAGS=/Z7 \r\n\t\t\t\tset LINKER=link \r\n\t\t\t\tset LINKFLAGS= /nologo  /manifest /incremental:NO /export:%ENTRYPOINT% /DLL libopencv_bgsegm300.lib opencv_bgsegm300.lib  libopencv_calib3d300.lib opencv_calib3d300.lib  libopencv_core300.lib opencv_core300.lib  libopencv_features2d300.lib opencv_features2d300.lib  libopencv_flann300.lib opencv_flann300.lib  libopencv_hal300.lib opencv_hal300.lib  libopencv_highgui300.lib opencv_highgui300.lib  libopencv_imgcodecs300.lib opencv_imgcodecs300.lib  libopencv_imgproc300.lib opencv_imgproc300.lib  libopencv_latentsvm300.lib opencv_latentsvm300.lib  libopencv_ml300.lib opencv_ml300.lib  libopencv_objdetect300.lib opencv_objdetect300.lib  libopencv_optflow300.lib opencv_optflow300.lib  libopencv_photo300.lib opencv_photo300.lib  libopencv_shape300.lib opencv_shape300.lib  libopencv_stitching300.lib opencv_stitching300.lib  libopencv_superres300.lib opencv_superres300.lib  libopencv_video300.lib opencv_video300.lib  libopencv_videoio300.lib opencv_videoio300.lib  libopencv_videostab300.lib opencv_videostab300.lib  libopencv_xfeatures2d300.lib opencv_xfeatures2d300.lib   /LIBPATH:C:\\OpenCV300\\build\\install\\x64\\vc11\\lib   /LIBPATH:\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\lib\\win64\\microsoft\" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  /EXPORT:mexFunction \r\n\t\t\t\tset LINKDEBUGFLAGS=/debug /PDB:\"%OUTDIR%%MEX_NAME%.mexw64.pdb\" \r\n\t\t\t\tset NAME_OUTPUT=/out:\"%OUTDIR%%MEX_NAME%%MEX_EXT%\"\r\n\tVSROOT : C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\r\n\tSDKROOT : C:\\Program Files (x86)\\Windows Kits\\8.0\\\r\n\tVSINSTALLDIR : C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\\r\n\tVCINSTALLDIR : C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\\r\n\tPROF_ENV : C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\devenv.exe\r\n\tVCVARSALLDIR : C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\r\n\tMATLABROOT : C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\r\n\tARCH : win64\r\n\tSRC : C:\\OpenCV300\\mexopencv\\src\\+cv\\CLAHE.cpp\r\n\tOBJ : C:\\Users\\jamil\\AppData\\Local\\Temp\\mex_17128108554167_7632\\CLAHE.obj\r\n\tOBJS : C:\\Users\\jamil\\AppData\\Local\\Temp\\mex_17128108554167_7632\\CLAHE.obj C:\\OpenCV300\\mexopencv\\lib\\MxArray.obj C:\\OpenCV300\\mexopencv\\lib\\mexopencv_features2d.obj\r\n\tSRCROOT : C:\\OpenCV300\\mexopencv\\src\\+cv\\CLAHE\r\n\tDEF : C:\\Users\\jamil\\AppData\\Local\\Temp\\mex_17128108554167_7632\\CLAHE.def\r\n\tEXP : CLAHE.exp\r\n\tLIB : CLAHE.lib\r\n\tEXE : CLAHE.mexw64\r\n\tILK : CLAHE.ilk\r\n\tMANIFEST : CLAHE.mexw64.manifest\r\n\tTEMPNAME : CLAHE\r\n\tEXEDIR : \r\n\tEXENAME : CLAHE\r\n\tOPTIM : /O2 /Oy- /DNDEBUG\r\n\tLINKOPTIM : \r\n -------------------------------------------------------------------\r\nBuilding with 'Microsoft Visual C++ 2012'.\r\ncl /c /GR /W3 /EHs /nologo /MD -IC:\\OpenCV300\\mexopencv\\include -IC:\\OpenCV300\\build\\install\\include  -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\include\" -I\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\simulink\\include\"  /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0   /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG C:\\OpenCV300\\mexopencv\\src\\+cv\\CLAHE.cpp /FoC:\\Users\\jamil\\AppData\\Local\\Temp\\mex_17128108554167_7632\\CLAHE.obj\r\nCLAHE.cpp\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1040) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=int\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\n        c:\\opencv300\\mexopencv\\include\\MxArray.hpp(494) : see reference to function template instantiation 'cv::Point_<_Tp> MxArray::toPoint_<int>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=int\r\n        ]\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1040) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=float\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\n        c:\\opencv300\\mexopencv\\include\\MxArray.hpp(498) : see reference to function template instantiation 'cv::Point_<_Tp> MxArray::toPoint_<float>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=float\r\n        ]\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1048) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=float\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\n        c:\\opencv300\\mexopencv\\include\\MxArray.hpp(502) : see reference to function template instantiation 'cv::Point3_<_Tp> MxArray::toPoint3_<float>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=float\r\n        ]\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1056) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=int\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\n        c:\\opencv300\\mexopencv\\include\\MxArray.hpp(506) : see reference to function template instantiation 'cv::Size_<_Tp> MxArray::toSize_<int>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=int\r\n        ]\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1064) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=int\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\n        c:\\opencv300\\mexopencv\\include\\MxArray.hpp(510) : see reference to function template instantiation 'cv::Rect_<_Tp> MxArray::toRect_<int>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=int\r\n        ]\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1074) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\n        c:\\opencv300\\mexopencv\\include\\MxArray.hpp(514) : see reference to function template instantiation 'cv::Scalar_<_Tp> MxArray::toScalar_<double>(void) const' being compiled\r\n        with\r\n        [\r\n            _Tp=double\r\n        ]\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1075) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1076) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\nc:\\opencv300\\mexopencv\\include\\MxArray.hpp(1077) : warning C4344: behavior change: use of explicit template arguments results in call to 'T MxArray::at<T>(mwIndex) const'\r\n        with\r\n        [\r\n            T=double\r\n        ]\r\n        but the regular function 'MxArray MxArray::at(const std::string &,mwIndex) const' is a better match\r\n        if you expect 'MxArray MxArray::at(const std::string &,mwIndex) const' to be called then you need to make it an explicit specialization\r\nlink  /nologo  /manifest /incremental:NO /DLL   /EXPORT:mexFunction C:\\Users\\jamil\\AppData\\Local\\Temp\\mex_17128108554167_7632\\CLAHE.obj C:\\OpenCV300\\mexopencv\\lib\\MxArray.obj C:\\OpenCV300\\mexopencv\\lib\\mexopencv_features2d.obj opencv_bgsegm300.lib opencv_calib3d300.lib opencv_core300.lib opencv_features2d300.lib opencv_flann300.lib opencv_hal300.lib opencv_highgui300.lib opencv_imgcodecs300.lib opencv_imgproc300.lib opencv_latentsvm300.lib opencv_ml300.lib opencv_objdetect300.lib opencv_optflow300.lib opencv_photo300.lib opencv_shape300.lib opencv_stitching300.lib opencv_superres300.lib opencv_video300.lib opencv_videoio300.lib opencv_videostab300.lib opencv_xfeatures2d300.lib  /LIBPATH:C:\\OpenCV300\\build\\install\\x64\\vc11\\lib   /LIBPATH:\"C:\\Program Files\\MATLAB\\MATLAB Production Server\\R2015a\\extern\\lib\\win64\\microsoft\" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /out:CLAHE.mexw64\r\n   Creating library CLAHE.lib and object CLAHE.exp\r\nmt -outputresource:CLAHE.mexw64;2 -manifest CLAHE.mexw64.manifest\r\nMicrosoft (R) Manifest Tool version 6.2.9200.16384\r\nCopyright (c) Microsoft Corporation 2012. \r\nAll rights reserved.\r\ndel CLAHE.exp CLAHE.lib CLAHE.mexw64.manifest CLAHE.ilk\r\nMEX completed successfully\r\n>>\r\n\r\nPlease guide where Am I going wrong?"}}