When running SetupPsychtoolbox.m, I see the error below. I have installed the necessary runtime libraries, but this still continues, thus I am stuck in an endless loop. I am using MATLAB2024B, Psychtoolbox 3.0.20.3, on a x64-based PC. Appreciate the help.
PsychStartup: Adding path of installed GStreamer runtime to library path. [D:\gstreamer\1.0\msvc_x86_64\bin]
ERROR: Most likely cause: The Microsoft Visual C++ 2019 runtime libraries
ERROR: are missing on your system.
ERROR: Execute the installer file vcredist_x64_2015-2019.exe, which is located in your Psychtoolbox/PsychContributed/ folder.
ERROR: You must execute that installer as an administrator user. Exit Matlab before the installation, then restart it.
ERROR: After fixing the problem, restart this installation/update routine.
What happens if you type WaitSecs in the Matlab command window?
Did you download 3.0.20.3.zip file - the top-most zip file in the list of downloadable files? If you didn’t, but one of the other source code zip or tgz then that triggers the problem. I thought I had that fixed already in a previous release, but turns out there is another corner case that can screw it up. To be fixed in the next release.
I got the same issue. When I typed ‘WaitSecs’, I got the error below.
WaitSecs
Invalid MEX-file ‘C:\Users\p_fer\Documents\MATLAB\Applications\Psychtoolbox_M\Psychtoolbox\PsychBasic\WaitSecs.mexw64’: The specified module could not be
found.
Thanks for your reply. Yes, I downloaded the recommended .zip file, which includes all .mexw64 files (I made sure those were included in the folder after I downloaded), but the error persist.