-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running frost_addpath() with MathLink library #43
Comments
I also encountered this problem. Have you solved it? Can you help me.....Thank you . |
Given my version of Mathematica and Matlab, I've had success with opening a terminal in Ubuntu and typing export LD_LIBRARY_PATH=/usr/local/Wolfram/Mathematica/11.3/SystemFiles/Links/MathLink/DeveloperKit/Linux-x86-64/CompilerAdditions:$LD_LIBRARY_PATH to tell Ubuntu where to find libML64i3.so followed by launching Matlab /usr/local/MATLAB/R2020a/bin/matlab Try making reasonable modifications given your set up (e.g., replace 11.3 with 12.0 and R2020a with R2019a, which should be enough if you have default install locations for these programs). Also, for a more permanent solution, I used ldconfig and a .conf file to avoid having to do this each time I ran FROST. HTH. |
Not work with me, I use ubuntu 16.04 Mathematica 12.0, I add this command |
The same problem here. I use ubuntu 18.04, Mathematica 11.3, MATLAB R2021a. |
It's been a while since I've done this, but are you able to get this working in a terminal and not from .bashrc? Again, it has been awhile since I wrote my original post, but I think depending on how you are launching Matlab, Matlab might not be inheriting from your .bashrc environment variables. As for MMA 12.0, there might also be an issue getting things working with MMA 12.0 in that it uses a different library version of MathLink, see #45 . Again this is all speculative. |
It works once I start MATLAB from the command line. |
Hello everyone. Could somebody show how to setup package of "frost-dev" for use step by step ? Thanks you and Best Regards |
@doctan-DT I changed in path /usr/local/Wolfram/Mathematica/11.0/SystemFiles/Links/MathLink/DeveloperKit/Linux-x86-64/CompilerAdditions |
@oldschool24 Thanks. So i can run now i re-install again can work |
For Mathematica 13.3.1 I had to find the location of .so file in this case DeveloperKit:
and then the code ran fine |
I am having the same issue, is there any way of fixing this since there is no /usr/local/ file for windows? Error: Invalid MEX-file 'C:\frost-dev\frost-dev\third\mathlink\math.mexw64': The specified Error in initialize_mathlink (line 8) Error in frost_addpath (line 28) |
Ubuntu18.04+Matlab2022b+MMA13.0 I tried
but the message changed to "MathLink connection unexpectedly NULL!", which seems unprecedented on the Internet :) Can anyone help? |
Hi,
I'm having some issues trying to rung the FROST package. I have followed the instruction on the Frost website but get the following error when trying to run forst_addpath().
My system is Ubuntu 16.04, Matlab R2019a, Mathematica 12. I would really appreciate any help trying to debug this error.
Thank you
The text was updated successfully, but these errors were encountered: