
- #Matlab 64 bit c compiler install
- #Matlab 64 bit c compiler windows 10
- #Matlab 64 bit c compiler windows
This suggests to me that you may have the faulty version of mexext.bat. Observe that the paths for these entries have win64 in them. You mentioned: "I had to manually find the paths for the libmat, libmex, and libmx DLLs". This is because their script gets thrown off because the writers did not double-quote a shell path expansion, confounding their batch script conditionals, causing "Unsupported Architecture" to be reported instead. I see from the debug info you provided that you installed somewhere into "Program Files" which contains a space.

#Matlab 64 bit c compiler windows
I know in MATLAB version 2015a there is a problem with the mexext.bat Windows batch file in $MATLAB_ROOT/bin that causes it to not report the proper architecture if your installation path has spaces.

I had to manually find the paths for the libmat, libmex, and libmx DLLs, but the rest were found by CMake. MATLAB_ROOT_DIR_Ĝ:/Program Files/MATLAB/R2017b/bin/matlab.exe MATLAB_MEX_SCRIPT_Ĝ:/Program Files/MATLAB/R2017b/bin/mex.bat MATLAB_MEXEXT_SCRIPT_Ĝ:/Program Files/MATLAB/R2017b/bin/mexext.bat MATLAB_LIB_MX_ C:/Program Files/MATLAB/R2017b/bin/win64/libmx.dll MATLAB_LIB_MEX_ C:/Program Files/MATLAB/R2017b/bin/win64/libmex.dll MATLAB_LIB_MAT_ C:/Program Files/MATLAB/R2017b/bin/win64/libmx.dll MATLAB_INCLUDE_DIRS_Ĝ:/Program Files/MATLAB/R2017b/extern/include MATLAB_BIN_ C:/Program Files/MATLAB/R2017b/bin/matlab.exe

#Matlab 64 bit c compiler windows 10
Operating System / Platform => Windows 10 Pro 64 Bit.However, I know I am using a 64-bit version of Matlab, says so in the 'About Matlab' dialog box. Matlab bindings, please switch to a 32-bit compiler.Ĭ:/OpenCV/opencv_contrib-master/modules/matlab/CMakeLists.txt:90 (warn_mixed_precision) Your compiler is 64-bit but your version of Matlab is 32-bit.
#Matlab 64 bit c compiler install
I'm trying to install the new OpenCV source files on Windows along with the latest opencv_contribute using CMake but keep running into this error:ĬMake Warning at C:/OpenCV/opencv_contrib-master/modules/matlab/CMakeLists.txt:77 (message):
