juliamatlab / mexjulia

embedding Julia in the MATLAB process.
MIT License
52 stars 14 forks source link

Windows 10 + Matlab R2018 + Julia 1.5.3 : KO #63

Open fghoussen opened 3 years ago

fghoussen commented 3 years ago

KO on windows 10, matlab R2018b, Julia 1.5.3, mexjulia (master 79ba8b1c) :

>> mex -setup c++
MEX configured to use 'MinGW64 Compiler (C++)' for C++ language compilation.

>> jl.config
Error using jl.eval_with_exe (line 409)
ERROR: type JLOptions has no field julia_home
Stacktrace:
 [1] getproperty(::Base.JLOptions, ::Symbol) at .\Base.jl:33
 [2] top-level scope at none:1
Error in jl.config (line 192)
            jlhome = jl.eval_with_exe('unsafe_string(Base.JLOptions().julia_home)');

Also tried to add in environnement variables :

PATH=C:\Users\xxx\AppData\Local\Programs\Julia 1.5.3\bin
LD_LIBRARY_PATH=C:\Users\xxx\AppData\Local\Programs\Julia 1.5.3\lib (not sure this is meaningful on windows but the code handles it)

What did I miss ?

Franck