Error while testing Photoshop/MATLAB interface.

1 view (last 30 days)
>> 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 Comments
Thomas
Thomas on 20 Feb 2025
Edited: Thomas on 20 Feb 2025
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.

Sign in to comment.

Answers (0)

Categories

Find more on Testing Frameworks in Help Center and File Exchange

Tags

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!