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

Configuration issue with Windows #13

Open
akr97 opened this issue May 1, 2022 · 1 comment
Open

Configuration issue with Windows #13

akr97 opened this issue May 1, 2022 · 1 comment

Comments

@akr97
Copy link

akr97 commented May 1, 2022

Running the following command fails as:
$ cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc .. -G "MinGW Makefiles"

-- Creating target: igl::core (igl)
CMake Error at C:/Users/aravi/Downloads/Bartels/cmake/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Matlab (missing: Matlab_MEX_LIBRARY Matlab_MX_LIBRARY
Matlab_ENGINE_LIBRARY Matlab_DATAARRAY_LIBRARY) (found version "9.8")
Call Stack (most recent call first):
Bartels/cmake/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
Bartels/cmake/FindMatlab.cmake:1805 (find_package_handle_standard_args)
CMakeLists.txt:24 (find_package)

-- Configuring incomplete, errors occurred!

Using mingw-64 as the build tool. Do you know how I could get the compilation working?

@AlexandreMercierAubin
Copy link

This is not a windows issue. Cmake could not find your matlab installation. Try explicitly giving it the path when calling cmake.

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