Open akr97 opened 2 years ago
Running the following command fails as: $ cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc .. -G "MinGW Makefiles"
$ 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)
-- 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?
This is not a windows issue. Cmake could not find your matlab installation. Try explicitly giving it the path when calling cmake.
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?