space-physics / iri2016

International Reference Ionosphere 2016 from Python and Matlab
http://irimodel.org/
MIT License
67 stars 34 forks source link

Matlab: "zsh:1: command not found: ctest" #17

Closed talkingsoda closed 4 years ago

talkingsoda commented 4 years ago

I'm having some difficulty setting up with Matlab. I've followed the read-me procedure but I'm getting this error when I'm trying to run the test_unit.m:

zsh:1: command not found: ctest Error using iri2016.cmake (line 10) failed to build IRI

Error in iri2016.iri2016 (line 16) iri2016.cmake(srcdir)

Error in test_unit (line 9) iono = iri2016.iri2016(time, glat, glon, altkmrange);

scivision commented 4 years ago

Do you have cmake installed?

talkingsoda commented 4 years ago

I've executed "brew install cmake" prior to performing this. I'm using a Mac.

scivision commented 4 years ago

OK I applied a fix I've used in other projects that should hopefully allow Matlab to see CMake