Error while testing Photoshop/MATLAB interface.

1 次查看(过去 30 天)
>> testall
Harness / mfile version: 11
Harness date: 21-Feb-2007
16-Feb-2025 15:55:06
Error using loadlibrary
Building psmatlab_thunk_pcwin64 failed. Compiler output is:
C:\ProgramData\MATLAB\SupportPackages\R2024b\3P.instrset\mingw_w64.instrset\bin\gcc -I"C:\Program
Files\MATLAB\R2024b\extern\include" -fexceptions -fno-omit-frame-pointer
-I"D:\Matlab\R2024b\work\Photoshop_MATLAB" -I"D:\Matlab\R2024b\work\Photoshop_MATLAB"
"psmatlab_thunk_pcwin64.c" -o "psmatlab_thunk_pcwin64.dll" -shared
Cannot create temporary file in C:\Users\bjbla\AppData\Local\Temp\: Permission denied
gcc: internal compiler error: Aborted signal terminated program collect2
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://sourceforge.net/projects/mingw-w64> for instructions.
Error in psjavascriptu (line 22)
loadlibrary([libPath ['psmatlab' libExt]], [libPath 'psmatlab.h']);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in testall (line 43)
pslogit(['App name: ' psjavascriptu('app.name')], psdisplay, pslog, pslogfile);
^^^^^^^^^^^^^^^^^^^^^^^^^
  10 个评论
Thomas
Thomas 2025-2-20
编辑:Thomas 2025-2-20
I don't have MW installed to verify unfortunately. Looks like you are having gcc compile and I have only tested with MS Visual Studio. Please install that and try again. There is a free version of visual studio.
  • In Windows, install Microsoft Visual Studio.
You could try creating this folder C:\Users\bjbla\AppData\Local\Temp\: Permission denied or try running that command at the DOS prompt to see if you can figure out why your gcc is not working correctly.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by