Hi everyone, is the download server down? I tried downloading the installation files today, got directed from the landing page https://cvxr.com/cvx/ to another site upon clicking the download button, but that page never loaded. Instead I got an “Error establishing a database connection”.
I am running Mac OS Sequoia 15.1 on a MacBook Air (M1) machine. I had a working version of cvx, but then I upgraded the OS from 12.x to 15.1. Now the old installation of cvx does not work, so I was trying installing cvx again.
After getting the “database…” error for several hours, I tried downloading the files from the GitHub repo, but then running cvx_setup.m gave the following error:
run(‘./cvx_setup.m’)
CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.2, Build **** (*******)
Installation info:
Path: /Users/prabirbarooah/CVX-master
MATLAB version: 24.2 (R2024b)
OS: Mac OS X aarch64 version 15.1
Java version: 11.0.24
Manifest missing; cannot verify file structure.
ERROR: one or more MEX files for this platform are missing.
These files end in the suffix “.mexmaca64”. CVX will not operate
without these files. Please visit http://cvxr.com/cvx/download
And download a distribution targeted for your platform.
Preferences:
Path: /Users/prabirbarooah/Library/Application Support/MathWorks/MATLAB/cvx_prefs.mat
UNEXPECTED ERROR: ------------------------------
Unrecognized function or variable ‘command_str’.
Error in cvx_license
Error in cvx_license
Error in cvx_version (line 309)
cvx_license( args{:} );
^^^^^^^^^^^^^^^^^^^^^^
Error in cvx_setup (line 20)
cvx_version( ‘-install’, varargin{:} );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in run (line 112)
evalin(‘caller’, strcat(scriptStem, ‘;’));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
------------------------------------------------
Please report this error to support, and include entire output of
CVX_SETUP in your support request.
The github repo IS the correct place to download new CVX, but maybe you should have downloaded the built release and not the source, I’m not sure it contains compiled files.
Thanks @Michal_Adamaszek,
That led to the reduction of one error, but still did not install cvx successfully. However, following your lead led me to Announcement: CVX for Apple Silicon, and the files that post linked to did install cvx in my Mac.
The files linked in that post are an old first attempt at making CVX for OSX ARM and the files in the official release are the more modern and polished version of it, i.e. they should only be better. If the files from the official release caused problems then either you did something else wrong or there is a problem you are welcome to report here.