Problems with transitioning to 2019b compiler

1 view (last 30 days)
Tawnly
Tawnly on 16 Oct 2019
Edited: Tawnly on 17 Oct 2019
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 Comment
Tawnly
Tawnly on 17 Oct 2019
Edited: Tawnly on 17 Oct 2019
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.

Sign in to comment.

Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!