Comments (14)
I think it's related to MATLAB reading the code, and I thought I had it installed but maybe that is the reason?
tyi
from antrax.
from antrax.
I didn't, I am not technically sound - do you have/or point me in the direction of how I can do that please?
from antrax.
See in the installation instructions:
export ANTRAX_PATH=<full path to anTraX repository>
export ANTRAX_USE_MCR=False
You can verify the variables by typing in terminal while inside the conda environment:
echo $ANTRAX_PATH
from antrax.
ty, can I just confirm I need to install MATLAB?
from antrax.
from antrax.
I don't have any of them installed or a MATLAB license - do you download it here (MCR): https://uk.mathworks.com/products/compiler/matlab-runtime.html
Please forgive all the questions! This is quite new to me :)
from antrax.
Yes, choose version R2019a.
Don't worry about it! hope it will work out for you
from antrax.
Thank you for your support! I managed to get MATLAB installed and connect the paths, and it says Welcome to AnTrax, however, I get this error now:
dyld: Library not loaded: @rpath/libmwlaunchermain.dylib
Referenced from: /Users/markthomas/Desktop/Home/MRes/Other_chapters/Ants/anTraX/bin/antrax_maci64_mcr_interface.app/Contents/MacOS/antrax_maci64_mcr_interface
Reason: image not found
Do you know what that is referring too?
tyi
from antrax.
Hey Mark, sorry for the delayed reply.
You also need to define the path to MCR (I'm guessing that what you use):
export ANTRAX_MCR=<full path to MCR installation>
Try to follow the installation steps in the docs!
from antrax.
Thank you! I did but I didn't know which folder to define the path too, there's a lot of different ones. When I added the path to the main folder nothing opened, then when I defined it to the current folder it opens but I get the above error message. These are the paths currently loaded in my .zprofile:
from antrax.
from antrax.
updated but just got the same error message:
dyld: Library not loaded: @rpath/libmwlaunchermain.dylib
Referenced from: /Users/markthomas/Desktop/Home/MRes/Other_chapters/Ants/anTraX/bin/antrax_maci64_mcr_interface.app/Contents/MacOS/antrax_maci64_mcr_interface
Reason: image not found
(tf15) markthomas@Marks-Air ~ %
Maybe it's just not meant to be :D
from antrax.
I just installed anTraX on a new work computer running Ubuntu 20.04. I had anTraX working on multiple other machines, so I just copied all my config files as I usually do (which usually works). But not this time. For whatever reason I got this error message:
$ antrax configure
==================================================================================
Welcome to anTraX - a software for tracking color tagged ants (and other insects)
==================================================================================
02/03/22 21:12:54 -D- antrax cli entry point
02/03/22 21:12:54 -D- running matlab mcr
02/03/22 21:12:54 -D- command is: /home/jana/src/anTraX/bin/antrax_glnxa64_mcr_interface antrax
/home/jana/src/anTraX/bin/antrax_glnxa64_mcr_interface: error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory
02/03/22 21:12:54 -D- matlab app exited with code 127
A quick search for libmwlaunchermain
lead me to your post, @MarkJThomas. On my system, something weird has happened and the library was not loading even though the correct LD_LIBRARY_PATH
was set.
A similar issue is discussed here:
https://mathworks.com/matlabcentral/answers/267562-how-can-i-resolve-this-mcc-runtime-error-cannot-open-shared-object-library#answer_211306
And I found my "solution" here:
https://mathworks.com/help/compiler/mcr-path-settings-for-run-time-deployment.html
The "solution" I found is bizarre, but it works for some reason:
LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Runtime/v96/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/extern/bin/glnxa64
mypath=$LD_LIBRARY_PATH
mypath="${mypath:+${mypath}:}"
export LD_LIBRARY_PATH=$mypath
And then antrax loads normally:
$ antrax configure
==================================================================================
Welcome to anTraX - a software for tracking color tagged ants (and other insects)
==================================================================================
02/03/22 21:47:08 -D- antrax cli entry point
02/03/22 21:47:08 -D- running matlab mcr
02/03/22 21:47:08 -D- command is: /home/jana/src/anTraX/bin/antrax_glnxa64_mcr_interface antrax
21:47:14 -D- starting antrax configure app
app closing..
02/03/22 21:47:20 -D- matlab app exited with code 0
While doing simply this LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}"
doesn't help. And the above "solution" makes little sense, because LD_LIBRARY_PATH
barely changes after the procedure:
$ echo ${LD_LIBRARY_PATH}
/usr/local/MATLAB/MATLAB_Runtime/v96/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v96/extern/bin/glnxa64::
I really don't understand this, it's very weird... Anyhow, I am writing this here in case somebody else runs into this problem.
@MarkJThomas looking at your post, I think you should try following the steps in the link I posted above for macOS. If it's a library not found thing, it should be fixable.
from antrax.
Related Issues (20)
- `Dot indexing is not supported for variables of this type` error when running `validate` HOT 2
- MATLAB:badsubscript error crashes solve step HOT 2
- MCR Interface scaling on high resolution displays HOT 4
- Many small non-ant objects still tracked and classified HOT 2
- Installation issue on m1 Mac HOT 6
- MATLAB:nonLogicalConditional during export HOT 5
- "ValueError: invalid literal for int() with base 10: 'images' " during classification step HOT 4
- [enhancement] Printing details of validation session
- Problems with compiling mex file HOT 1
- Extract Trainset Responding Slow HOT 3
- Problems with using command train HOT 7
- solve step 1 produce error contains `MATLAB:UndefinedFunction` HOT 4
- Solve step 2 Non-binary MAT file HOT 5
- The multi-colony masks do not get generated when using MATLAB full installation
- Potential graph corruption at solve 2 resulting three types of error messages in matlab_export_*.log HOT 5
- Classifying issues HOT 6
- problems with setting up the ffmpeg HOT 1
- Installation issue
- Problem with anTraX-MATLAB link 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 antrax.