필터 지우기
필터 지우기

standalone app build on linux fails

조회 수: 6 (최근 30일)
Marcel Rutten
Marcel Rutten 2023년 3월 7일
답변: Roman 2024년 3월 11일
Hi, I'm trying to build a standalone app for a virtual cohort generator, to be deployed on a machine without matlab installed. Matlab version R2022b, glnxa64 architecture, fedora 36. The build fails with the following message (after echoeing the command line that leads to the error):
Error while determining required deployable files. Compilation terminated. Details:
fl:filesystem:SystemError
...
mcc failed.
When I run the echoed mcc command from a terminal, the verbosity is slightly better:
mcc -o virtual_cohort_generator_gui -W main:virtual_cohort_generator_gui -T link:exe -d /home/marcelr/edu/PhD/sabine/virtual_cohort_generator_gui/virtual_cohort_generator_gui/for_testing -v /home/marcelr/edu/PhD/sabine/virtual_cohort_generator_gui/virtual_cohort_generator_gui.m
mclCopyDir failed: Failed copying '/home/marcelr/.matlab/R2022b/matlab.prf' to '/tmp/mcc1d83-aada-fcda-6d43.tmp/user/matlab.prf': reason 'fl:filesystem:SystemError'
Failed to copy user-level MATLAB settings from "/home/marcelr/.matlab/R2022b" into temporary directory "/tmp/mcc1d83-aada-fcda-6d43.tmp/user". Cannot continue without risk of corrupting MATLAB settings.
What could be the problem here? File permissions are set to full access (for the user (me)).

답변 (2개)

Walter Roberson
Walter Roberson 2023년 3월 7일
https://www.mathworks.com/support/bugreports/2856360
you need Update 4 of R2022b
  댓글 수: 1
Marcel Rutten
Marcel Rutten 2023년 3월 10일
I had update 2, now update 5.
Works like a charm, thanks.

댓글을 달려면 로그인하십시오.


Roman
Roman 2024년 3월 11일
I had the same problem. For me, the solution was to set TMPDIR to point somewhere but not to /tmp/

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB Compiler에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by