MathLink.jl icon indicating copy to clipboard operation
MathLink.jl copied to clipboard

Bug: Julia Mathlink installation on Windows 10

Open Shuvomoy opened this issue 3 years ago • 1 comments

Hi I am trying to install MathLink.jl on Windows 10. I have a full version of Mathematica 12.3, but I do not think it contains any "libML64.dll/ libML32.dll" file as mentioned in the installation package. The closest is ml64i4.dll located in C:\Program Files\Wolfram Research\Mathematica\12.3\SystemFiles\Links\MathLink\DeveloperKit\Windows-x86-64\SystemAdditions and I set this folder as MathLink dynamic library. However, after installation when I run using MathLink, I get the error InitError: could not load library "C:\Program Files\Wolfram Research\Mathematica\12.3\SystemFiles\Links\MathLink\DeveloperKit\Windows-x86-64\SystemAdditions".

Shuvomoy avatar Aug 28 '21 09:08 Shuvomoy

The README looks a bit out of date, we do search for that file (see deps/build.jl): https://github.com/JuliaInterop/MathLink.jl/blob/master/deps/build.jl#L76-L78

What happens if you run that file manually (without the environment variables being set)

simonbyrne avatar Sep 10 '21 18:09 simonbyrne

Hi @Shuvomoy, Did you ever get MathLink.jl working on Windows 10 or is there still and issue?

fremling avatar Sep 13 '22 06:09 fremling

@fremling Actually I switched to MacOS subsequently, so I never tested if MathLink.jl works on Windows 10...

Shuvomoy avatar Sep 13 '22 13:09 Shuvomoy

Then I will close this issue for now

fremling avatar Sep 14 '22 07:09 fremling