I’m using the Cuba Integration Library (The Cuba library) with Mathematica on OS X for a while, but since I installed Mathematica 10 it doesn’t work properly. It worked fine with Mathematica 9, but with Mathematica 10 I can’t compile a working package. The compilation ends as it should, but when I try to Install the package in Mathematica, it just gets stuck with the evaluation forever.
I uninstalled Mathematica 10, reinstalled Mathematica 9 and the compilation worked fine, and I could use the package with Mathematica 9 and 10 as well.
However after I installed Mathematica 10 again and compiled the package, I encountered the same problem as mentioned above.
Do you know any reason or change in Mathematica 10, that can cause this problem with the compiled packages?
If I try the routines in the command line the error is the following:
dyld: Library not loaded: @executable_path/../Frameworks/mathlink.framework/Versions/4.25/mathlink
Referenced from: /Users/IMSzecsenyi/Cuba-4.2/./Vegas
Reason: image not found
Trace/BPT trap: 5
If I try with the routines compiled while only Mathematica 9 was installed the outcome is what I supposed should be:
Create link:
(Also with the Cuba version 4.2 the Divonne and Suave routines stuck during the compilation for me:
make: *** No rule to make target `src/suave/Suave.tm', needed by `Suave'. Stop.