-
Notifications
You must be signed in to change notification settings - Fork 2
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
"It appears the mexjulia MEX function is missing" #7
Comments
The package doesn't work on 1.6 yet. For 1.5, I'll need more details: If it looks fine, you'll need to look at the build log file in the |
>> mex -setup C++
MEX configured to use 'Microsoft Visual C++ 2017' for C++ language compilation. And the build.log says
|
Looks like the
You can also run the command directly in matlab and see what it outputs, in case the log file was missing some lines. |
'mex LDFLAGS='-L"C:\Users\jdiegelm\AppData\Local\Programs\Julia 1.5.3\bin" $LDFLAGS' -v -largeArrayDims -outdir "C:\Users\jdiegelm\.julia\packages\Mex\ZlRZN\deps\..\mexjulia" -O -I"C:\Users\jdiegelm\AppData\Local\Programs\Julia 1.5.3\include\julia" -DJULIA_ENABLE_THREADING "C:\Users\jdiegelm\.julia\packages\Mex\ZlRZN\deps\mexjulia.cpp" C:\Users\jdiegelm\AppData\Local\Programs\Julia 1.5.3\bin\libjulia.dll.a' Running it I get the error: >> mex LDFLAGS='-L"C:\Users\jdiegelm\AppData\Local\Programs\Julia 1.5.3\bin" $LDFLAGS' -v -largeArrayDims -outdir "C:\Users\jdiegelm\.julia\packages\Mex\ZlRZN\deps\..\mexjulia" -O -I"C:\Users\jdiegelm\AppData\Local\Programs\Julia 1.5.3\include\julia" -DJULIA_ENABLE_THREADING "C:\Users\jdiegelm\.julia\packages\Mex\ZlRZN\deps\mexjulia.cpp" C:\Users\jdiegelm\AppData\Local\Programs\Julia 1.5.3\bin\libjulia.dll.a
Verbose mode is on.
Error using mex
Unknown file extension ''. |
Ok, it looks fine. The only thing I can think of is that this is because you are using Visual C++, which I have never tried. I am using MinGW, installed via the MATLAB plugin interface. |
Hm. I just installed MinGW and switched to that using |
with Julia 1.6.2 and MinGW64 I'm getting Related to the following? |
I am using Rtools MinGW64, and faced with the same question. |
Following the steps in the README, I get this error in MATLAB:
I tried this by building with Julia 1.5.3 and Julia 1.6.0 and got the same thing. Any thoughts?
The text was updated successfully, but these errors were encountered: