You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been playing around with trying to call Julia from MATLAB with Julia v1.6.2 on Windows using the Microsoft Visual C++ 2019 compiler and started running to the mex error:
Error using mex
Creating library C:\Users\granthec\.julia\dev\Mex.jl\mexjulia\mexjulia.lib and object
C:\Users\granthec\.julia\dev\Mex.jl\mexjulia\mexjulia.exp
mexjulia.obj : error LNK2019: unresolved external symbol __imp_jl_options referenced in function mexFunction
C:\Users\granthec\.julia\dev\Mex.jl\mexjulia\mexjulia.mexw64 : fatal error LNK1120: 1 unresolved externals
I was eventually able to compile the mex function successfully editing mexjulia.cpp to either:
I'm not super familiar with C++ and assume both of these options likely will result in undesirable behavior but I wanted to document the error I was running into and the quick fix that I used.
The text was updated successfully, but these errors were encountered:
I've been playing around with trying to call Julia from MATLAB with Julia v1.6.2 on Windows using the Microsoft Visual C++ 2019 compiler and started running to the mex error:
I was eventually able to compile the mex function successfully editing
mexjulia.cpp
to either://jl_options.handle_signals = JL_OPTIONS_HANDLE_SIGNALS_OFF;
or
I'm not super familiar with C++ and assume both of these options likely will result in undesirable behavior but I wanted to document the error I was running into and the quick fix that I used.
The text was updated successfully, but these errors were encountered: