Hi
I’m trying to install Psychtoolbox on a Macbook Pro (Nov 2024, Apple M4 Pro, Sequoia 15.1), to be used with Matlab R2024a. I installed first GStreamer 1.24.10 without any apparent issues. I downloaded the Psychtoolbox 3.20.1 .zip file from Github. When I try to run the SetupPsychtoolbox command I get the following output:
>> cd ../Psychtoolbox-3-3.0.20.1/
>> cd Psychtoolbox/
>> SetupPsychtoolbox
Will setup working copy of the Psychtoolbox folder inside: /Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox
Now adding the new Psychtoolbox folder (and all its subfolders) to your MATLAB/OCTAVE path.
Success.
Trying to fixup Apple macOS broken security workflow by removing the quarantine flag from our mex files...
Running post-install routine...
*** Matlab's Static Java classpath definition file modified. You will have to restart Matlab to enable use of the new Java components. ***
Press RETURN or ENTER to confirm you read and understood the above message.
Warning: Software licensing setup failed for some reason. This may end badly soon...
> In PsychtoolboxPostInstallRoutine (line 647)
In SetupPsychtoolbox (line 249)
A very simple test call to the Screen() MEX file failed in AssertOpenGL.
Either Screen is totally dysfunctional, or you are trying to run your script on
a system without Psychtoolbox-3 properly installed - or not installed at all.
Screen() does not work. Read all preceeding and following output as well as "help AssertOpenGL" for more info.
A first diagnostic test would be to simply type 'Screen' in your Matlab/Octave console and check what its output is.
The returned error message by Matlab/Octave was:
Last Error: Invalid MEX-file '/Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/PsychBasic/Screen.mexmaca64': dlopen(/Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/PsychBasic/Screen.mexmaca64, 0x0006): Library not loaded: @rpath/libLexActivator.dylib
Referenced from: <FC3FD20F-B39D-3708-B81F-C2CA69017697> /Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/PsychBasic/Screen.mexmaca64
Reason: tried: '/Library/Frameworks/GStreamer.framework/Versions/Current/lib/libLexActivator.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/GStreamer.framework/Versions/Current/lib/libLexActivator.dylib' (no such file), '/Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/PsychBasic/PsychPlugins/libLexActivator.dylib' (no such file), '/Library/Frameworks/GStreamer.framework/Versions/Current/lib/libLexActivator.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/GStreamer.framework/Versions/Current/lib/libLexActivator.dylib' (no such file), '/Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/PsychBasic/PsychPlugins/libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/bin/maca64/libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/bin/maca64/./libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/bin/maca64/../../sys/os/maca64/libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/Contents/MacOS/libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/Contents/MacOS/./libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/Contents/MacOS/../../standalone/bin/maca64/libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/Contents/MacOS/../../sys/os/maca64/libLexActivator.dylib' (no such file), '/Applications/MATLAB_R2024a.app/bin/maca64/libLexActivator.dylib' (no such file) (MATLAB:mex:ErrInvalidMEXFile)
/Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/PsychOneliners/AssertOpenGL.m,107
/Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/PsychtoolboxPostInstallRoutine.m,702
/Users/arenart/Documents/Psychtoolbox-3-3.0.20.1/Psychtoolbox/SetupPsychtoolbox.m,249
NOTE: You may want to acquire paid support for future issues like this.
Please type 'PsychPaidSupportAndServices' to learn more.
Screen() failed to work for some reason:
Check the troubleshooting instructions on our Wiki (Download section
and FAQ section, maybe also the Bugs section).
Once you manage to fix the problem (simply type 'AssertOpenGL' to verify
that stuff works now), you do not need to run the installation routine again,
but can start working immediately.
So there seems to be a licensing issue. I understand that Psychtoolbox on Mac will require licensing but I understood that there was a free trial period (not even sure if the licensing is set up already).
Thanks for any advice