Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issues on Mac OS #5

Open
bbimat opened this issue Sep 18, 2024 · 1 comment
Open

Installation Issues on Mac OS #5

bbimat opened this issue Sep 18, 2024 · 1 comment

Comments

@bbimat
Copy link

bbimat commented Sep 18, 2024

Hi,

trying to install the toolbox, I got the following error message:

CMake Error at /opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Matlab (missing: Matlab_INCLUDE_DIRS) (found version
"NOTFOUND")
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/FindMatlab.cmake:2024 (find_package_handle_standard_args)
CMakeLists.txt:11 (find_package)

After some googling, I tried
export Matlab_ROOT_DIR=$Matlab_ROOT_DIR:$/Applications/MATLAB_R2024a.app

Now cmake .. gives me the following error

CMake Error at /opt/homebrew/Cellar/cmake/3.30.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Matlab (missing: Matlab_INCLUDE_DIRS Matlab_MEX_LIBRARY
Matlab_MEX_EXTENSION Matlab_MX_LIBRARY) (found version "NOTFOUND")

I updated to the newest version of make (using brew), to no avail. Please advise!

Thank you,

Derk

@MarieHouillon
Copy link
Contributor

Hello,

I am sorry about the late answer, but I got the same error, and in my case, updating the version of cmake using brew helped to find the Apple Silicon version of MATLAB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants