Problems with transitioning to 2019b compiler

3 次查看(过去 30 天)
I have code that I have successfully compiled and run using mcc with 2018a. With no change to the code, if I try to compile it using 2019b, I receive the following error when running the compiled code:
Cannot find nonembedded CTF archive
If I change my MCR_CACHE_ROOT to . as was suggested in this answer I get the following error dialog.
error.jpg
If I go back and recompile using 2018a, everything works as intended.
Any help would be appreciated. Thank you.
  1 个评论
Tawnly
Tawnly 2019-10-17
编辑:Tawnly 2019-10-17
Adding the -C flag as mentioned in this bug report appears to fix the problem. Though it does require me to distribute a second file.
And it does bring up the question of what changed between versions to cause the issue.
If a more complete solution is available, it would be appreciated. Thank you.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by