alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
630 stars 169 forks source link

have some problems on but matlab cannot be found #100

Open assassout opened 4 years ago

assassout commented 4 years ago

Hi Alec. I trying to compiling '/mex' on linux with command like "cmake ../ -DMatlab_ROOT_DIR=/usr/local/MATLAB/R2018". I'm pretty sure anything else is right but error came out like " CMake Error at /usr/share/cmake3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find Matlab (missing: MAT_LIBRARY)" could you please give me suggestion? thanks in advance.

inesdfelix commented 4 years ago

Did you solve this issue? I'm having the same problem.

alecjacobson commented 4 years ago

This is often because the matlab version you have is not in the


  "R2020b=9.9"
  "R2020a=9.8"
  "R2019b=9.7"
  "R2019a=9.6"
  "R2018b=9.5"
  "R2018a=9.4"
  "R2017b=9.3"```

list of mex/cmake/FindMATLAB.cmake . Which version of matlab do you have?