Skip to content
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

./apolloh: undefined symbol: mclInitializeApplication #2

Open
ShenWei-wei opened this issue Feb 4, 2021 · 1 comment
Open

./apolloh: undefined symbol: mclInitializeApplication #2

ShenWei-wei opened this issue Feb 4, 2021 · 1 comment

Comments

@ShenWei-wei
Copy link

Hi
Already export MATLAB_Compiler_Runtime path

$ ./apolloh
./apolloh: symbol lookup error: ./apolloh: undefined symbol: mclInitializeApplication

Why is that?

@ShenWei-wei
Copy link
Author

I found the reason.

First: ensure you have install MATLAB and its matched MATLAB Runtime, my MATLAB verision 2018a, MATLAB Runtime verision 9.4

Second:

$ cd <$install_dir>/APOLLOH_0.1.1/bin/
$ cat compileAPOLLOH_0.1.0.m
rmdir('apolloh_mcr/','s')
addpath(genpath('../hmm/'))
addpath(genpath('../util/'))
addpath(genpath('../plotting/'))
mcc -m apolloh.m
$ matlab
>> rmdir('apolloh_mcr/','s')
>> addpath(genpath('../hmm/'))
>> addpath(genpath('../util/'))
>> addpath(genpath('../plotting/'))
>> mcc -m apolloh.m

Just a moment, matlab recompilation a new apolloh.

Finally:
$ export LD_LIBRARY_PATH=<$install_dir>/MATLAB_Component_Runtime/v94/runtime/glnxa64/:<$install_dir>/MATLAB_Component_Runtime/v94/sys/os/glnxa64/:<$install_dir>/MATLAB_Component_Runtime/v94/bin/glnxa64/
Then its OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant