We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aea35ad commit 3481699Copy full SHA for 3481699
src/MathLink.jl
@@ -4,7 +4,17 @@ using Printf
4
5
export @W_str, @W_cmd, weval
6
7
-include("../deps/deps.jl")
+
8
+###Checking that the deps.jl file exists. And throwing a readable error if it does not!
9
+if isfile("../deps/deps.jl")
10
+ include("../deps/deps.jl")
11
+else
12
+ FilePath=@__DIR__
13
+ FilePath=FilePath[1:end-4]*"/deps/deps.jl"
14
+ error("The file $FilePath does not exist.\n"
15
+ *"This usually means that the MathLink installation failed.\n"
16
+ *"Have you checked that Mathematica is installed on your system?")
17
+end
18
include("types.jl")
19
include("consts.jl")
20
include("init.jl")
0 commit comments