Skip to content

Commit 374d02a

Browse files
authored
Update README.md
Added Information about the deps.jl file
1 parent 3481699 commit 374d02a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,20 @@ After setting you may need to manually build the package
1616
```julia
1717
(@v1.X) pkg> build MathLink
1818
```
19-
19+
20+
A separate workaround is to directly edit the deps/deps.jl file, which should be located (on Linux) at `~/.julia/packages/MathLink/<version dependent>/deps/deps.jl`
21+
22+
The contents of `deps.jl` could for instance read
23+
```julia
24+
const mlib = "/usr/local/Wolfram/Mathematica/11.3/SystemFiles/Links/MathLink/DeveloperKit/Linux-x86-64/CompilerAdditions/libML64i4"
25+
const mker = "WolframKernel"
26+
```
27+
After createing the file `deps.jl` try loading MathLink the usual way
28+
```julia
29+
(@v1.X) pkg> using MathLink
30+
```
31+
32+
2033
## Usage
2134

2235
The main interface consists of the `W""` string macro for specifying symbols. These are call-overloaded for building more complicated expressions

0 commit comments

Comments
 (0)