Giter Club home page Giter Club logo

Comments (6)

simonbyrne avatar simonbyrne commented on June 4, 2024

@BeastyBlacksmith This didn't seem to work for you on Linux: where/how did you install it? Is the math executable in your path?

from mathlink.jl.

BeastyBlacksmith avatar BeastyBlacksmith commented on June 4, 2024

Mathematica is installed by the IT department on a network drive. Both math and mathematica are on the path by default.

from mathlink.jl.

simonbyrne avatar simonbyrne commented on June 4, 2024

Nice, so we should be able to use that to find the correct path.

from mathlink.jl.

simonbyrne avatar simonbyrne commented on June 4, 2024

@BeastyBlacksmith Can you check if the following gives the correct paths?

archdir = Sys.ARCH == :arm ?    "Linux-ARM" :
          Sys.ARCH == :x86_64 ? "Linux-x86-64" :
                                "Linux"
basepath = String(read(pipeline(`math -noprompt`, stdin=IOBuffer("WriteString[\$Output,\$InstallationDirectory]"))))

lib = Libdl.find_library(
    ["libML$(Sys.WORD_SIZE)i4","libML$(Sys.WORD_SIZE)i3"],
    [joinpath(basepath,"SystemFiles/Links/MathLink/DeveloperKit",archdir,"CompilerAdditions")])
ker = joinpath(basepath,"Executables/MathKernel")

from mathlink.jl.

BeastyBlacksmith avatar BeastyBlacksmith commented on June 4, 2024

this works on my machine

from mathlink.jl.

simonbyrne avatar simonbyrne commented on June 4, 2024

I have improved the Linux handling in #27. I would still like to improve the handling on Windows: if anyone wants to help out, I would appreciate if you could install Mathematica or Wolfram Engine, then look in the Windows registry to find the entries which give the installation path.

from mathlink.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.