ankrh / MCmatlab

Numerical simulation tool for Monte Carlo propagation of light in turbid media
GNU General Public License v3.0
52 stars 14 forks source link

MATLAB Library Incompatibility #8

Closed jtzhangLogan closed 1 year ago

jtzhangLogan commented 1 year ago

Hi,

I met this problem when running the example.

Invalid MEX-file '~/MCmatlab/+MCmatlab/@model/private/MCmatlab.mexa64': libmwboost_filesystem.so.1.75.0: cannot open shared object file: No such file or directory

I am using R2023a and it carries libmwboost_filesystem.so.1.78.0. Ideally, these two library should be compatible if the software versioning is standard. I wonder what could be the fix at this step.

Thank you!

ankrh commented 1 year ago

I will try to look into it. In the meantime you could try recompiling the code yourself (instructions are in the MCmatlab.c file) or using an older version of MATLAB

ankrh commented 1 year ago

I have made a new commit to the release branch in which I believe I have solved the issue. Please test it and let me know if it works.

Thanks for the bug report!

jtzhangLogan commented 1 year ago

Thank you so much for the update. It seems to have fixed the issue.