What mex compiler can I use on my Macbook Pro 2017?
I have some software which utilizes a couple mex functions, compiled from .c files. They were compiled on a windows computer and so only work on Windows. I’m updating the software to work on other platforms, so I need to re-compile the c files on my mac to make mex functions that are compatible with mac. To do this, I need a compiler that’s compatible with mac. As far as I can tell, the only compiler I can get for free is Xcode.
However, when I try to install Xcode, I can’t. It is not compatible with anything before MacOS 14. Yet when I try to download MacOS 14 Sonoma, I can’t because it’s not compatible with my computer, only with Macbook Pro 2018 and later.
So my question is, how can I compile .c files into mex functions on my macbook pro 2017? Is there any free compiler out there that will do the job?I have some software which utilizes a couple mex functions, compiled from .c files. They were compiled on a windows computer and so only work on Windows. I’m updating the software to work on other platforms, so I need to re-compile the c files on my mac to make mex functions that are compatible with mac. To do this, I need a compiler that’s compatible with mac. As far as I can tell, the only compiler I can get for free is Xcode.
However, when I try to install Xcode, I can’t. It is not compatible with anything before MacOS 14. Yet when I try to download MacOS 14 Sonoma, I can’t because it’s not compatible with my computer, only with Macbook Pro 2018 and later.
So my question is, how can I compile .c files into mex functions on my macbook pro 2017? Is there any free compiler out there that will do the job? I have some software which utilizes a couple mex functions, compiled from .c files. They were compiled on a windows computer and so only work on Windows. I’m updating the software to work on other platforms, so I need to re-compile the c files on my mac to make mex functions that are compatible with mac. To do this, I need a compiler that’s compatible with mac. As far as I can tell, the only compiler I can get for free is Xcode.
However, when I try to install Xcode, I can’t. It is not compatible with anything before MacOS 14. Yet when I try to download MacOS 14 Sonoma, I can’t because it’s not compatible with my computer, only with Macbook Pro 2018 and later.
So my question is, how can I compile .c files into mex functions on my macbook pro 2017? Is there any free compiler out there that will do the job? mex compiler, mex, mac, macbook pro 2017 MATLAB Answers — New Questions