Comments (8)
Dear @JanLeppert, from the logs it looks like some of the Mathematica Files cannot be found.
If that is the case, first try following this troubleshoot
https://github.com/JuliaInterop/MathLink.jl?tab=readme-ov-file#installation-troubleshoot
to se if linking to them manually works.
from mathlink.jl.
Thanks for the suggestion @fremling,
but what is the correct file for the MathLink dynamic library on MacOS? I cannot find any of the suggested files from the Readme (libML64i4.so/ libML32i4.so on Linux or ml64i4.dll/ml32i4.dll/libML64.dll/ libML32.dll on Windows). I also followed the link from the example for the deps.jl
file and found the similar path on my system:
/Applications/Mathematica.app/Contents/SystemFiles/Links/MathLink/DeveloperKit/MacOSX-x86-64/CompilerAdditions
In this path there is a file libMLi4.a
and I tried to link to this file, but with no sucess.
from mathlink.jl.
I must admit Mac is not my specialty: @simonbyrne do you know how Mathematica is set up on a Mac?
from mathlink.jl.
What does
file /Applications/Mathematica.app/Contents/Frameworks/mathlink.framework/mathlink
give? On my machine, I get:
/Applications/Mathematica.app/Contents/Frameworks/mathlink.framework/mathlink: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64]
/Applications/Mathematica.app/Contents/Frameworks/mathlink.framework/mathlink (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
/Applications/Mathematica.app/Contents/Frameworks/mathlink.framework/mathlink (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64
from mathlink.jl.
I only get one line with the x86_64 version:
/Applications/Mathematica.app/Contents/Frameworks/mathlink.framework/mathlink: Mach-O 64-bit dynamically linked shared library x86_64
from mathlink.jl.
Can you download a newer version which supports ARM? If not, then you should be able to use it with the Julia x86 binaries.
from mathlink.jl.
Thanks @simonbyrne
I was able to update Mathematica to a newer version, which also supports ARM. With this I was able to use MathLink.
So the answer to my question would be, that you need the ARM version of Mathematica for a Mac with M1 processor.
from mathlink.jl.
You need the platform to be the same for both Julia and Mathematica (you should be able to in both x86 under Rosetta)
from mathlink.jl.
Related Issues (20)
- Including overloading of basic algebra HOT 10
- Bug: Julia Mathlink installation on Windows 10 HOT 4
- TagBot trigger issue HOT 9
- Possibility of allocation-free from julia via MathLink HOT 2
- Problem : UndefVarError: set_texOutput not defined HOT 2
- ParseError: KaTeX parse error HOT 2
- MathLink package can't find file "dep.jl" & fail to precompiling pkg. HOT 5
- Finding paths
- Wishlist from Wolfram HOT 2
- Symbolics to MathLink translation of expressions HOT 4
- Passing arrays to MathLink HOT 2
- Extracting values from arbitrary MathLink.WExpr HOT 8
- MathLink with HypergeometricFunctions HOT 8
- W"List"(0.02) -> 0.02? HOT 1
- precision may be lost HOT 3
- MathLink not working on Julia 1.10? HOT 2
- Wrong path delimiter on Windows
- W2Julia expects an Expr, not a WExpr. HOT 6
- string() with weval-ed WExpr escape (\) some characters on arbitrary precision floating numbers with back quote HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathlink.jl.