-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get problem of mexing the c file #12
Comments
Can you please add |
I got this:
--> cl -DMATLAB_MEX_FILE -I../varbvs-R/src /c /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /FoC:\Users\bruce\AppData\Local\Temp\mex_hMPmrf\diagsqmex.obj -I"C:\Program Files\MATLAB\R2014a\extern\include" -I"C:\Program Files\MATLAB\R2014a\simulink\include" /O2 /Oy- /DNDEBUG diagsqmex.c diagsqmex.c --> cl -DMATLAB_MEX_FILE -I../varbvs-R/src /c /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /FoC:\Users\bruce\AppData\Local\Temp\mex_hMPmrf\doublevectormex.obj -I"C:\Program Files\MATLAB\R2014a\extern\include" -I"C:\Program Files\MATLAB\R2014a\simulink\include" /O2 /Oy- /DNDEBUG doublevectormex.c doublevectormex.c C:\PROGRA~1\MATLAB\R2014A\BIN\MEX.PL: Error: Compile of 'doublevectormex.c' failed. Unable to complete successfully. Error in install (line 13) Actually, the mex works after I switched to Ubuntu with Matlab2016a. Does that mean the problem of compiler setup in Windows? |
I'm glad to hear it works with Ubuntu. :) I see it is using the "cl" compiler, which I'm not familiar with. In fact, I have little experience with compiling MEX files on Windows. Before trying to solve this problem for the varbvs package, you might first see if you can compile the MEX files in the tutorials given on the MathWorks website. |
Hi,
It seems that the install didn't work for me.
My Matlab version is 2014a and the default compiler (Microsoft Visual C++ 2012 ) is compatible.
But I have been reported:
C:\PROGRA~1\MATLAB\R2014A\BIN\MEX.PL: Error: Compile of 'doublevectormex.c' failed.
Unable to complete successfully.
Error in install (line 13)
eval(['mex ',opts,' diagsqmex.c doublevectormex.c singlematrixmex.c ',...
The text was updated successfully, but these errors were encountered: